SBChisquare: Satorra-Bentler corrected chi-square test

Description Usage Arguments Value Author(s) See Also Examples

View source: R/RFunctions.R

Description

Computes Satorra-Bentler corrected chi-square test.

Usage

1
SBChisquare(Chisq1, df1, scf1, Chisq2, df2, scf2)

Arguments

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.

Value

Named numeric vector with chi-square value, degrees of freedom, and p-value.

Author(s)

Caspar J. van Lissa

See Also

SB_chisq_Pvalues to apply SBChisquare to a table of model chi-square values.

Other Mplus functions: MplusConstrainModels, SB_chisq_Pvalues, conf_int, corTable, est_sig, mplusToTable, param_label, printResultsTable, rbind_tables

Examples

1
2
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)

cjvanlissa/motley documentation built on Sept. 23, 2019, 7:39 p.m.