Description Usage Arguments Value Examples
Performs a compromise power analysis, i.e. determines the critical chi-square along with the implied alpha and beta, given a specified alpha/beta ratio, effect, N, and df
1 2 3 4 5 6 7 8 9 10 |
effect |
effect size specifying the discrepancy between H0 and H1 (a list for multiple group models) |
effect.measure |
type of effect, one of "F0","RMSEA", "Mc", "GFI", AGFI" |
abratio |
the ratio of alpha to beta |
N |
the number of observations (a list for multiple group models) |
df |
the model degrees of freedom |
p |
the number of observed variables, required for effect.measure = "GFI" and "AGFI" |
SigmaHat |
model implied covariance matrix (a list for multiple group models). Use in conjuntion with Sigma to define effect and effect.measure. |
Sigma |
population covariance matrix (a list for multiple group models). Use in conjuntion with SigmaHat to define effect and effect.measure. |
list
1 2 3 4 5 | ## Not run:
cp.ph <- semPower.compromise(effect = .08, effect.measure = "RMSEA", abratio = 1, N = 250, df = 200)
summary(cp.ph)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.