Quasi-Likelihood
Study guide: Exam MAS-I
Quasi-Likelihood is a method of fitting a generalized linear model that specifies only how the mean of the response depends on the predictors and how its variance depends on its mean, without assuming a full distribution for the response. The mean \mu_i is related to the linear predictor \eta_i by a link function, g(\mu_i) = \eta_i, and the variance of the response is
\text{Var}(Y_i) = \phi\, V(\mu_i)
V(\mu)is the variance function.\phiis the dispersion parameter, estimated from the data.
The estimating equations use only the mean and the variance, and \phi cancels out of them. The coefficient estimates are therefore the same as those of the distribution with variance function V, and only their variances change.
Estimating the dispersion parameter
The dispersion parameter is estimated by Pearson's chi-square statistic divided by its degrees of freedom:
\hat\phi = \frac{X^2}{n - (p + 1)}
X^2 = \sum_{i=1}^{n} \frac{(y_i - \hat\mu_i)^2}{V(\hat\mu_i)}
nis the number of observations.p + 1is the number of estimated coefficients, including the intercept.
The Poisson and binomial distributions fix \phi = 1, so for those models \hat\phi well above 1 shows overdispersion, a variance larger than the distribution allows. An estimate near 1 is consistent with the distribution. For the normal, gamma and Tweedie distributions \phi is a free parameter, so its size alone says nothing about the fit.
Quasi-Poisson
A quasi-Poisson model keeps the Poisson mean and log link of Poisson regression but has variance \text{Var}(Y_i) = \phi\mu_i. Its coefficient estimates are the Poisson estimates, and the covariance matrix of the estimates is \phi times the Poisson one. The standard error of each coefficient is therefore
\text{SE}_{\text{quasi}}(\hat\beta_j) = \sqrt{\hat\phi}\; \text{SE}(\hat\beta_j)
\text{SE}(\hat\beta_j)is the standard error from the Poisson fit, with\phi = 1.
The Wald statistic \hat\beta_j / \text{SE}_{\text{quasi}}(\hat\beta_j) is the Poisson statistic divided by \sqrt{\hat\phi}, and it is compared with a t distribution on n - (p+1) degrees of freedom. The same adjustment gives a quasi-binomial model from a binomial one.
A Poisson frequency model on 500 residual degrees of freedom has Pearson
X^2 = 1450. A vacant-building coefficient is\hat\beta = 0.25with standard error0.08. After refitting as quasi-Poisson, is the coefficient significant at the5\%level?
- The dispersion estimate is
\hat\phi = 1{,}450/500 = 2.90.- The estimate stays
0.25, and its standard error becomes0.08\sqrt{2.90} = 0.136.- The test statistic is
0.25/0.136 = 1.84, below the critical value1.96, so the coefficient is not significant.- The Poisson fit gave
0.25/0.08 = 3.13, which looked significant only because the overdispersion was ignored.
Comparing nested models
Two nested quasi-likelihood models are compared by the drop in deviance per degree of freedom, divided by the dispersion estimate. The test statistic is
F = \frac{(D_0 - D_1)/(\text{df}_0 - \text{df}_1)}{\hat\phi}
D_0and\text{df}_0are the residual deviance and degrees of freedom of the smaller model.D_1and\text{df}_1are those of the larger model.
It is compared with an F distribution with \text{df}_0 - \text{df}_1 and \text{df}_1 degrees of freedom.
In the same model, adding a territory variable with 5 levels lowers the residual deviance from
1560on 504 degrees of freedom to1520on 500, with\hat\phi = 2.90. The 95th percentile ofF_is2.39. Does territory belong in the model?
- The drop in deviance per degree of freedom is
(1{,}560 - 1{,}520)/4 = 10.- The test statistic is
F = 10/2.90 = 3.45.- Because
3.45 > 2.39, territory is significant after allowing for overdispersion.
Reading lack of fit as overdispersion A large
X^2is overdispersion only if the predictors and the link are right. A missing predictor, a missing interaction or a wrong link also inflatesX^2, and a quasi-likelihood fit only widens the standard errors of that misspecified model. Fix the model before estimating\phi.