MBESS (version 4.3.0)

ss.aipe.rmsea: Sample size planning for RMSEA in SEM

Description

Sample size planning for the population root mean square error of approximation (RMSEA) from the accuracy in parameter estimation (AIPE) perspective. The sample size is planned so that the expected width of a confidence interval for the population RMSEA is no larger than desired.

Usage

ss.aipe.rmsea(RMSEA, df, width, conf.level = 0.95)

Arguments

RMSEA

the input RMSEA value

df

degrees of freedom of the model

width

desired confidence interval width

conf.level

desired confidence level (e.g., .90, .95, .99, etc.)

Value

Returns the necessary total sample size in order to achieve the desired degree of accuracy (i.e., the sufficiently narrow confidence interval).

See Also

ci.rmsea

Examples

Run this code

# ss.aipe.rmsea(RMSEA=.035, df=50, width=.05, conf.level=.95)

Run the code above in your browser using DataCamp Workspace