Description Usage Arguments Details Value Author(s)
estimates the rejection probability for a test at a given level.
1 | comp.test (r, level, ng, ns, moys, varg, vars, method = "def.t")
|
r |
the number of simulated data sets to use in finding each estimate. |
level |
the significance level. |
ng |
the number of groups in a data set. |
ns |
the number of subjects per group. |
moys |
the vector of means for the data sets. |
varg |
the variance of group means. |
vars |
the variance within a group. |
method |
a character value specifying which t-test to apply. "def.t" (by default) indicates the standard t-test and "mod.t", the modified t-test. |
The test is performed for various values of the overall mean, and the rejection probability estimated for each such value.
Returns a vector of estimated rejection probabilities for each mean.
Sewanou Honfo <honfosewanou@gmail.com> and Romain Glèlè Kakaï <glele.romain@gmail.com>/ LABEF_07_2019
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.