Learn R Programming

blm (version 1.2)

gof: Get goodness-of-fit statistic blm and lexpit objects.

Description

A Hosmer-Lemeshow type goodness-of-fit for blm or lexpit model. This test is appropriate when the replicates in each covariate class are few.

Arguments

References

Hosmer, D.W., Lemeshow, S. (2000) Applied Logistic Regression, New York : Wiley, ISBN 0471615536.

See Also

predict,dispersion

Examples

Run this code
data(birthwt)

fit.linear <- blm(low~smoke+ht+ui+I(ptl>0),birthwt)

fit.linear

gof(fit.linear)

Run the code above in your browser using DataLab