I'm currently making a binomial model with a logit link, which is parameterised as a quasibinomial since I'm allowing it to calculate the dispersion parameter. I was wondering, since changes to the model structure (adding/removing predictors) changes the model, and therefore the dispersion parameter, does that influence the validity of the AIC in comparing them? For example, say I've got a model with 5 parameters, and then I add a 6th parameter. The dispersion parameter has now changed, so can I use the AIC to decide between them?
I believe the way that the program I'm using calculates the scaled AIC is like so: $-2*\frac{\textrm{loglikelihood}(\theta)}{\phi}+2k$
My lecturer said that as long as the error structure is unchanged, AIC can be used, but my thinking here is that the dispersion parameter would change the variance of the errors, and therefore their distribution. So, can I use the AIC in making decisions about my model, or do I have to set a fixed scale parameter in order to make comparisons?
1 Answer
Technically speaking, Akaike's information criterion $$\mathrm{AIC} = 2p - 2\log(\mathcal{L})$$ is undefined for quasi-models, because they are not fitted by likelihood, but by quasilikelihood.$^\dagger$
The scaled AIC you mention, also called the quasi-AIC, or qAIC $$\mathrm{qAIC} = 2p - 2\frac{\log(\mathcal{L})}{\phi}$$
is not AIC anymore.
However, for single-parameter GLMs like the binomial, the dispersion parameter $\phi = 1$, and hence AIC and qAIC are identical. In that sense, comparing AIC to scaled AIC is valid for your case, although it might be more precise to say that you're comparing qAIC.
$^\dagger$: A workaround for R users is to 'borrow' the likelihood from a binomial GLM, and then scaling it with the dispersion parameter obtained from the quasibinomial, as Ben Bolker describes here.
-
$\begingroup$ Hey, thanks for the response! I have a quick question about the overdispersion parameter. So in the formula, I'm guessing $\phi$ is equal to the true overdispersion of the model, and we mainly just substitute the approximated value based on the model we currently have. Usually that's good enough, but in the model I'm making, since I have hundreds of thousands of observations, a 0.001 change in the parameter is changing the qAIC by hundreds. Is that an expected result, and are these models comparable, or should I be holding the estimated phi constant? Thanks! $\endgroup$– DanielCommented Jul 15 at 8:17