Sample size planning by power analysis on RMSEA

Share:

Description

Performs sample size planning by power analysis on RMSEA.

Usage

1
2
PA.RMSEA(df, method = c("exact.fit", "close.fit", "not.close.fit"),
H0rmsea, HArmsea, power = 0.8, alpha = 0.05)

Arguments

df

model degrees of freedom.

method

a character string specifying the hypothesis test for power analysis, must be one of "exact.fit", "close.fit", or "not.close.fit"(default).

H0rmsea

RMSEA for the null hypothesis.

HArmsea

RMSEA for the alternative hypothesis.

power

desired power value.

alpha

Type I error rate.

Value

Return the necessary sample size that achieves the desired power.

Author(s)

Tzu-Yao Lin

References

MacCallum, R. C., Browne, M. W., & Sugawara, H. M. (1996). Power analysis and determination of sample size for covariance structure modeling. Psychological Methods, 1, 130-149.

Examples

1
PA.RMSEA(df=30,method="not.close.fit",H0rmsea=.05,HArmsea=0.01)