One simulation of a test statistic from given distribution with given parameters (case 0)
1 | sim.stat.1(statfun, n, sim_dist = runif, calc_dist = punif, ...)
|
statfun |
Name of statistic to be simulated (as in help for |
n |
Sample size for each simulated test statistic |
sim_dist |
Name of R function to draw random samples from distribution (eg. |
calc_dist |
Name of R cumulative distribution to calculate test statistic for (eg. |
... |
parameters for distribution, apparently same for simulation and calculation |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.