Obtain simulations of test statistic under assumption that parameters known (for getting P-values). Case 3 (all parameters unknown) coming up later. Add examples.
1 2 |
statfun |
Name of statistic to be simulated (as in help for |
n |
Sample size for each simulated test statistic |
nsim |
Number of simulations to run (default 10000) |
sim_dist |
Name of R function to draw random samples from distribution (eg. |
calc_dist |
Name of R function to do probability integral transform with (eg. |
... |
parameters for distribution |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.