GoF: Goodness of Fit p-value

Description Usage Arguments Value See Also Examples

View source: R/statTools_code_OTHER.R

Description

Assessing the fit of a model with Pearson's GoF statistic

Usage

1
GoF(model)

Arguments

model

Model passed to residuals(., "pearson").

Value

Resulting p-value from the test.

See Also

getPval, nagelkerke, getORCI, getBetaSd, verticalgetORCI, verticalgetBetaSd, verticalgetPval.

Examples

1
2
m <- glm(I(Sepal.Width > 3) ~ Species + Sepal.Length, iris, family = binomial)
GoF(m)

gcastella/statTools documentation built on May 16, 2019, 11:10 p.m.