SBChisquare.Rd
Computes Satorra-Bentler corrected chi-square test.
SBChisquare(Chisq1, df1, scf1, Chisq2, df2, scf2)
Chisq1 | Chi square value of model 1. |
---|---|
df1 | Degrees of freedom of model 1. |
scf1 | Scale correction factor of model 1. |
Chisq2 | Chi square value of model 2. |
df2 | Degrees of freedom of model 2. |
scf2 | Scale correction factor of model 2. |
Named numeric vector with chi-square value, degrees of freedom, and p-value.
SB_chisq_Pvalues
to apply SBChisquare to a table of
model chi-square values.
Other Mplus functions:
SB_chisq_Pvalues()
,
param_label()
,
rbind_tables()
,
table_cor()
df <- data.frame(chi2 = c(23, 44, 65), df = c(78, 74, 70), scf = c(1.02, 1.12, 1.28)) SBChisquare(24, 78, 1.02, 65, 70, 1.28)#> Chisq df p #> 46.79 -8.00 1.00