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?
Interaction Term becomes insignificant after adding a non-correlated control variableDear STATA experts, I run an OLS regression including an interaction term. Code: reg DepVar In…
Marginal homogeneity in -symmetry-Hi In most comparisons on the internet the Stuart-Maxwell test and Bhapkar's test are assymptoticall…
Multiple immediate test across rowsDear all, Can someone help me loop across different rows performing multiple immediate statistical …
Trouble with finding appropriate modelWe're having problems with our variables in our dataset and how to use them properly in Stata and fi…
ROC curves or AUROC for gologit2Hi there, I was wondering how any gologit2 users have plotted ROC curves and obtained an estimate of…
Subscribe to:
Post Comments (Atom)
0 Response to xtnbreg or nbreg/xtgee?
Post a Comment