Description Usage Arguments Value Examples
Simulates type I error inflation from multiple testing for a test comparing two group means. The groups are compared on n.dv outcome measurements, each mutually correlated at a user-specified level. A matrix of p values is returned with n.dv columns and nsim rows.
1 | many.outcome.sim(n, nsim, n.dv = 3, correl = 0.5)
|
n |
The number of people measured in each group per simulation. |
nsim |
The number of simulated samples to run. |
n.dv |
The number of outcome measurements (i.e. dependent variables or DVs) taken per person. |
correl |
The correlation of the (normally distributed) outcome measurements—all pairs of measurements have the same correlation. |
A matrix of p values with n.dv columns and nsim rows. Each row corresponds to a different sample, and the p values from the respective outcome measures are in distinct columns.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.