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

st: XTGEE in stata 10

From   "Narasimhan Sowmyanarayanan" <>
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)

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

*   For searches and help try:

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