Good morning every body.
My question concerns the distribution of the $\theta$ parameter in a glm with a negative binomial distribution, such as $V(X)=\mu+\theta\mu^2$.
Indeed, $\theta$ is expected to follow a Gamma distribution but how to estimate the parameters of this distribution?
In R, when I use the function glm.nb I obtain the expected value of $\theta$ and its associated SE but I am not able whith these statistics to compute the parameter of the Gamma distribution. Does anybody knows how to derive these parameters from the output of the glm.nb function?
Regards, Maxime
glm.nb. However, to reiterate, $\theta$ itself doesn't follow any distribution. If, on the other hand, you want to be Bayesian about it, there's no need to assume that $\theta$ is distributed Gamma, and you wouldn't useglm.nbanyway, preferring one of the MCMC packages in R. – jbowman Jun 13 '12 at 17:07