Simulate normal distributed data.
simulateData(pi0,m,n, rho, seed = NULL, power = 0.8, alpha = 0.05)Returns a matrix with dimensions \(m \times n\).
Numeric value in `[0,1]`. Proportion of true null hypothesis.
Numeric value. Number of variables.
Numeric value. Number of observations.
Numeric value in `[0,1]`. Level of equi-correlation between pairs of variables.
Integer value. If you want to specify the seed. Default to to NULL
Numeric value in `[0,1]`. Level of power. Default to 0.8.
Numeric value in `[0,1]`. \(\alpha\) level to control the family-wise error rate. Default to 0.05.
Angela Andreella