Learn R Programming

blm (version 1.2)

dispersion: Dispersion statistics for blm and lexpit objects.

Description

Computes the deviance and Pearson chi-squared statistics for the fit from a blm or lexpit model. These tests are appropriate when all predictors are categorical and there are many replicates within each covariate class.

Arguments

References

McCullagh, Peter; Nelder, John (1989). Generalized Linear Models, Second Edition. Boca Raton: Chapman and Hall/CRC. ISBN 0-412-31760-5.

See Also

gof

Examples

Run this code
data(birthwt)

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

fit.linear

dispersion(fit.linear)

Run the code above in your browser using DataLab