Hi,
I am trying to run a negative binomial population-average model in Stata 14. However, I am not sure what is the best approach to do this. Based on the comments from here: https://www.stata.com/statalist/archive/2010-12/msg00918.html, we estimated alpha using nbreg and then used the value of alpha in the xtgee model as follows: "xtgee v1 i.visit Age, i(ptid) corr(indep) fam(nb `alpha') robust"
Is this correct? Or should "alpha" be replaced by the default value of "1" in the xtgee?
We also tried using xtnbreg (instead of nbreg, then xtgee) - and the output for this is identical to that of the nbreg/xtgee with a value of 1 (instead of "alpha" estimated from nbreg). This output does differ quite a bit from using the value of "alpha" in the xtgee. Can anyone advise? Thanks.
Related Posts with xtnbreg or nbreg/xtgee?
Fixed effect regression for country panelHello Statalisters, I have a country panel which involves around 31 countries with data on variable…
invalid numlist r(121);Hi all, I tried to fix the problem I have with the following syntax: mi xeq 1/`M': regress problem…
Request for suitable methodology.Hello, Now a days, I research about the remittances and economic growth. In my base paper 9 variable…
Regress y on each variable each timeHi, I want to run regressions in the following way: reg y x1 i.year i.ind reg y x2 i.year i.ind re…
error opening .dta file created in sashello, I converted a sas data file into a stata .dta file ( or atleast i thought i did) and it will …
Subscribe to:
Post Comments (Atom)
0 Response to xtnbreg or nbreg/xtgee?
Post a Comment