powered by
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
semPower.compromise( effect = NULL, effect.measure = NULL, abratio = 1, N, df, p = NULL, SigmaHat = NULL, Sigma = NULL )
list
effect size specifying the discrepancy between H0 and H1 (a list for multiple group models)
type of effect, one of "F0","RMSEA", "Mc", "GFI", AGFI"
the ratio of alpha to beta
the number of observations (a list for multiple group models)
the model degrees of freedom
the number of observed variables, required for effect.measure = "GFI" and "AGFI"
model implied covariance matrix (a list for multiple group models). Use in conjuntion with Sigma to define effect and effect.measure.
population covariance matrix (a list for multiple group models). Use in conjuntion with SigmaHat to define effect and effect.measure.
if (FALSE) { cp.ph <- semPower.compromise(effect = .08, effect.measure = "RMSEA", abratio = 1, N = 250, df = 200) summary(cp.ph) }
Run the code above in your browser using DataLab