Learn R Programming

simsem (version 0.2-8)

fitMeasuresChi: Find fit indices from the discrepancy values of the target model and null models.

Description

Find fit indices from the discrepancy values of the target model and null models. This function is modified from the fitMeasures function in lavaan package

Usage

fitMeasuresChi(X2, df, p, X2.null, df.null, p.null, N, fit.measures="all")

Arguments

X2
The chi-square value of the target model
df
The degree of freedom of the target model
p
The p vlaue of the target model
X2.null
The chi-square value of the null model
df.null
The degree of freedom of the null model
p.null
The p value of the null model
N
Sample size
fit.measures
The list of selected fit measures

Value

  • A vector of fit measures

Examples

Run this code
# No example

Run the code above in your browser using DataLab