Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: XTGEE in stata 10


From   "Narasimhan Sowmyanarayanan" <narasimhan.sowmyanarayanan@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: XTGEE in stata 10
Date   Wed, 3 Dec 2008 11:52:56 -0500

Hi All:

I am working on some data in which the dependent variable is a count
number. The data is over-dispersed. So I am trying to work with xtgee.

xtgee [depvar] [independent var]  , family(nbinom) link(log)
corr(exchangeable) exposure(year)

I keep getting the error that says:

estimates diverging (missing predictions)
r(430);

I am using Stata 10.1. I noticed in one of the postings on the stata
website that this was a bug in stata 9 that has been fixed ? I also
tried to look at old postings on the stata listserv to see if any
solutions suggested there helps. None of them help me. Can someone
tell me what the problem can be and how I can solve this. Any insights
will be highly appreciated.

In particular, this happens if I add some non-linear terms and
interaction terms in the model. It does not converge. I tried building
the model one variable at a time. i can see that the moment I add the
non-linear xtgee stops working. I have used the same model in other
contexts too with non-linear terms such as OLS regression xtreg

Narasimhan
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index