
Last chance! 50% off unlimited learning
Sale ends in
Plots the sampling distributions of RMSEA based on the noncentral chi-square distributions
plotRMSEAdist(rmsea, n, df, ptile = NULL, caption = NULL,
rmseaScale = TRUE, group = 1)
The vector of RMSEA values to be plotted
Sample size of a dataset
Model degrees of freedom
The percentile rank of the distribution of the first RMSEA that users wish to plot a vertical line in the resulting graph
The name vector of each element of rmsea
If TRUE
, the RMSEA scale is used in the x-axis. If
FALSE
, the chi-square scale is used in the x-axis.
The number of group that is used to calculate RMSEA.
This function creates overlappling plots of the sampling distribution of
RMSEA based on noncentral
Dudgeon, P. (2004). A note on extending Steiger's (1998) multiple sample RMSEA adjustment to other noncentrality parameter-based statistic. Structural Equation Modeling, 11(3), 305--319. doi:10.1207/s15328007sem1103_1
MacCallum, R. C., Browne, M. W., & Sugawara, H. M. (1996). Power analysis and determination of sample size for covariance structure modeling. Psychological Methods, 1(2), 130--149. doi:10.1037/1082-989X.1.2.130
Steiger, J. H. (1998). A note on multiple sample extensions of the RMSEA fit index. Structural Equation Modeling, 5(4), 411--419. doi:10.1080/10705519809540115
plotRMSEApower
to plot the statistical power
based on population RMSEA given the sample size
findRMSEApower
to find the statistical power based on
population RMSEA given a sample size
findRMSEAsamplesize
to find the minium sample size for
a given statistical power based on population RMSEA
# NOT RUN {
plotRMSEAdist(c(.05, .08), n = 200, df = 20, ptile = .95, rmseaScale = TRUE)
plotRMSEAdist(c(.05, .01), n = 200, df = 20, ptile = .05, rmseaScale = FALSE)
# }
Run the code above in your browser using DataLab