Probability Distribution |
Canonical Link g(μ) | Other links supported in R | Variance function |
Historic name for these models |
|---|---|---|---|---|
Poisson |
log: |
identity, sqrt |
Poisson regression, loglinear model |
|
Normal (Gaussian) |
identity: |
log, inverse |
1 |
ordinary linear regression |
Binomial |
logit: ![]() |
probit, cloglog, log |
logistic regression, probit analysis |
|
Gamma |
inverse: |
identity, log |
gamma regression |
|
Inverse Gaussian |
identity, inverse, log |
— |
||
"Negative Binomial" |
![]() |
log, sqrt, identity |
negative binomial regression |
![]()
Since the last expression is a probability, the desired bounds on p are attained.



Recall that LR has an asymptotic chi-squared distribution with degrees of freedom equal to the difference in the number of parameters estimated by the two models. Alternatively, the degrees of freedom is the number of parameters that are fixed to have a specific value in one model but are freely estimated in the other model.





Thus the deviance statistic can be used in a goodness of fit test. But just like the Pearson chi-squared test, the G2 test, and the likelihood ratio test on which it is based, there are sample size and cell size issues that may make the asymptotic chi-squared distribution suspect in specific applications.
. Thus if a model provides a good fit to the data we would expect its scaled deviance to be not too far from its mean value n – p. In other words we expect
. For Poisson and binomial probability models, φ = 1. Thus for these models we expect
. 
Written this way L1 is the larger of the two models (more estimated parameters) and L0 is the simpler model in which some of those parameters have been assigned specific values (such as zero).


where D1 and D2 are the deviances of models 1 and 2, respectively.
| Jack Weiss Phone: (919) 962-5930 E-Mail: jack_weiss@unc.edu Address: Curriculum in Ecology, Box 3275, University of North Carolina, Chapel Hill, 27516 Copyright © 2006 Last Revised--Feb 26, 2006 URL: http://www.unc.edu/courses/2006spring/ecol/145/001/docs/lectures/lecture22.htm |