sbs.chi: Satorra-Bentler Scaled Chi-Squared Difference Test (Based on...

Description Usage Arguments Value Examples

Description

Takes chi-squared values from nested models estimated using maximum likelihood with robust standard errors, model degrees of freedom, scaling correlation factors and returns: (1) change in model chi-squared (2) change in model degrees of freedom and (3) the probability of rejecting the null.

Usage

1
sbs.chi(chi0, chi1, df0, df1, c0, c1)

Arguments

chi0

chi-squared value for the more restrictive model

chi1

chi-squared value for the less restrictive model

df0

degrees of freedom for the more restrictive model (with more degrees of freedom)

df1

degrees of freedom for the less restrictive model (with fewer degrees of freedom)

c0

scaling correction factor for the more restrictive model

c1

scaling correction factor for the less restrictive model

Value

Change in model chi-squared, change in model degrees of freedom and the probability of rejecting the null

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
chi0 <- 50

chi1 <- 40

df0 <- 10

df1 <- 9

c0 <- 1

c1 <- 1

sbs.chi(chi0,chi1,df0,df1,c0,c1)

Example output

sh: 1: cannot create /dev/null: Permission denied
 SB-Scaled Diff Delta DF           p
             10        1 0.001565402

SBSDiff documentation built on May 2, 2019, 2:08 a.m.

Related to sbs.chi in SBSDiff...