Format quality of a logistic regression roughly in "APA Style" ( American Psychological Association ).

wrapChiSqTestImpl(df.null, df.residual, null.deviance, deviance)

Arguments

df.null

null degrees of freedom.

df.residual

residual degrees of freedom.

null.deviance

null deviance

deviance

residual deviance

Value

wrapped statistic

Examples

wrapChiSqTestImpl(df.null=7,df.residual=6, null.deviance=11.09035,deviance=10.83726)
#> [1] "Chi-Square Test summary: pseudo-R2=0.02282 (X2(1,N=8)=0.2531, p=n.s.)."