Learn R Programming

blorr (version 0.3.0)

blr_linktest: Model specification error

Description

Test for model specification error.

Usage

blr_linktest(model)

Arguments

model

An object of class glm.

Value

An object of class glm.

References

Pregibon, D. 1979. Data analytic methods for generalized linear models. PhD diss., University of Toronto.

Pregibon, D. 1980. Goodness of link tests for generalized linear models.

Tukey, J. W. 1949. One degree of freedom for non-additivity.

Examples

Run this code
# NOT RUN {
model <- glm(honcomp ~ female + read + science, data = hsb2,
family = binomial(link = 'logit'))

blr_linktest(model)

# }

Run the code above in your browser using DataLab