findRMSEApower(rmsea0, rmseaA, df, n, alpha=.05, group=1)rmseaA is greater than rmsea0, the test of close fit is used and the critical region is in the right hand side of the null sampling distribution. On the other hand, if rmseaA is less than rmsea0, the test of not-close fit is used and the critical region is in the left hand side of the null sampling distribution (MacCallum, Browne, & Suguwara, 1996).plotRMSEApowerto plot the statistical power based on population RMSEA given the sample sizeplotRMSEAdistto visualize the RMSEA distributionsfindRMSEAsamplesizeto find the minium sample size for a given statistical power based on population RMSEAfindRMSEApower(rmsea0=.05, rmseaA=.08, df=20, n=200)Run the code above in your browser using DataLab