findRMSEAsamplesize: Find the minimum sample size for a given statistical power based on population RMSEA
Description
Find the minimum sample size for a specified statistical power based on population RMSEA. This function can be applied for both test of close fit and test of not-close fit (MacCallum, Browne, & Suguwara, 1996)
Desired statistical power to reject misspecified model (test of close fit) or retain good model (test of not-close fit)
alpha
Alpha level used in power calculations
group
The number of group that is used to calculate RMSEA.
Details
This function find the minimum sample size for a specified power based on an iterative routine. The sample size keep increasing until the calculated power from findRMSEApower function is just over the specified power. If group is greater than 1, the resulting sample size is the sample size per group.
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.
See Also
plotRMSEApower to plot the statistical power based on population RMSEA given the sample size