[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
Re: st: anscombone resid after glm negbin
Back in early May, Mark Boye <firstname.lastname@example.org> asked:
>> Following Hardin & Hilbe, I have estimated a negative binomial with glm
>> -fam(nb, #) - in order to use GLM diagnostics. Thereafer, again following
>> H&H, I attempted residual analysis with the use of Anscombe residuals.
>> Unfortunately, however, the predict command returns only missing values.
>> Why is this so? Am I missing something?
and I responded:
> Mark seems to have uncovered an error in the calculation of Anscombe
> residuals after -glm- used with the negative binomial family. We are
> currently working to confirm that this is indeed a bug (and our initial
> indications are that it most likely is), and on the fix.
> I'll report back to the list when I have something more definite to say on
> this matter.
This was a bug. An incorrect formula was being used in the calculation of
Anscombe residuals (-predict, anscombe-) after -glm- with either a negative
binomial or a non-Bernoulli binomial family.
We have fixed this, and you can gain access to the fix by making your Stata
* For searches and help try: