Displaying 1 result from an estimated 1 matches for "langnce".
Did you mean:
lance
2003 Dec 04
2
Comparing Negative Binomial Regression in Stata and R. Constants differ?
...p pages for the Stata users:
http://www.ats.ucla.edu/stat/stata/library/count.htm
and
See: http://www.ats.ucla.edu/stat/stata/library/longutil.htm
To replicate those results, I used R's excellent foreign package to
bring the lahigh data in, then did
poisReg1 <- glm(daysabs~gender+
mathnce+langnce,family=poisson(link=log), data=lahigh)
library(MASS)
negbinReg1 <- glm.nb(daysabs~gender+ mathnce+langnce,link=log, data=lahigh)
The parameter estimates of the coefficients are the just about the same,
except for the intercept estimates. Below I pasted in the Negative
Binomial results I got...