Calculate the necessary sample size for an SEM study, so as to have enough power to reject the null hypothesis that (a) the model has perfect fit, or (b) the difference in fit between two nested models equal some specified amount.
ss.power.sem(F.ML = NULL, df = NULL, RMSEA.null = NULL, RMSEA.true = NULL,
F.full = NULL, F.res = NULL, RMSEA.full = NULL, RMSEA.res = NULL,
df.full = NULL, df.res = NULL, alpha = 0.05, power = 0.8)
The true maximum likelihood fit function value in the population for the model of interest. Leave this argument NULL if you are doing nested model significance tests.
The degrees of freedom of the model of interest. Leave this argument NULL if you are doing nested model significance tests.
The model's population RMSEA under the null hypothesis. Leave this argument NULL if you are doing nested model significance tests.
The model's population RMSEA under the alternative hypothesis. This should be the model's true population RMSEA value. Leave this argument NULL if you are doing nested model significance tests.
The maximum likelihood fit function value for the full model.
The maximum likelihood fit function value for the restricted model.
The population RMSEA value for the full model.
The population RMSEA value for the restricted model.
The degrees of freedom for the full model.
The degrees of freedom for the restricted model.
The Type I error rate.
The desired power.
Keke Lai (University of California - Merced)