Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

statistical distribution functions #26

Closed
romainfrancois opened this issue Nov 6, 2013 · 2 comments
Closed

statistical distribution functions #26

romainfrancois opened this issue Nov 6, 2013 · 2 comments

Comments

@romainfrancois
Copy link
Contributor

other statistical distribution functions:

multinom : this only has dmultinom which is handled in R, so
maybe we can skip it

    signrank : has the weird call to .C( "signrank_free" ), need
to understand that

    wilcox : has the weird call to .C( "wilcox_free" ), need to
understand that

    tukey : only has p and q, no r or d
@dmbates
Copy link
Collaborator

dmbates commented Nov 6, 2013

Both signrank and wilcox create and save some intermediate results that can be used in subsequent calls if some of the arguments are unchanged. For example in the file $RSRC/src/nmath/wilcox.c there are static declarations

static double ***w; /* to store  cwilcox(i,j,k) -> w[i][j][k] */
static int allocated_m, allocated_n;

and if the arguments m and n are the same on a subsequent call these values will not be recalculated.

@github-actions
Copy link

This issue is stale (365 days without activity) and will be closed in 31 days unless new activity is seen. Please feel free to re-open it is still a concern, possibly with additional data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants