View source: R/OverdispersionTest.R
| calibrate.c.alpha | R Documentation |
Simulates the null distribution of the MSSR statistic for a given design. Internal helper of Overdispersion.test.
calibrate.c.alpha(
mu.vector,
n.vector,
bootstrap.runs,
pretest.mode = "tolerant",
tolerance.factor = 2,
zero.group.mean = 0.5
)
mu.vector |
Vector with the expected value per treatment group |
n.vector |
Vector with the number of observations per treatment group |
bootstrap.runs |
Number of Monte Carlo simulations |
pretest.mode |
Reference distribution ("tolerant" or "strict") |
tolerance.factor |
Tolerated variance-to-mean ratio (only used if pretest.mode = "tolerant") |
zero.group.mean |
Value that replaces a group mean of zero in the denominator |
Numeric vector with the simulated null distribution of the test statistic
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.