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

st: AW: xtmepoisson

From   "Martin Weiss" <>
To   <>
Subject   st: AW: xtmepoisson
Date   Fri, 14 Aug 2009 16:41:20 +0200


You may have run into the problem on slide 26 of

Also look at


-----Ursprüngliche Nachricht-----
[] Im Auftrag von Simon Moore
Gesendet: Freitag, 14. August 2009 16:38
Betreff: st: xtmepoisson

Dear Statalist

I have data from over 60k school kids over ten years by school and I'm 
interested in looking at the relationship between personal and aggregate 
variables (alcprice, price of alcohol by year) on alcohol use (a count 
variable, number of drinks). Data is collected from the same schools 
over time.

I'm on a bit of a learning curve here and my initial thought was to use:

xtmepoisson alcohol age smoker alcprice ... || school: || year: 
alcprice, cov(unstr)

where alcprice is the annual affordability of alcohol. Having started 
the model three hours ago, it has now been sitting there at the 
"Refining starting values:" without the slightest indication that it is 
making headway.

There is no such problem when I try:

xtpoisson alcohol age smoker alcprice year alcprice ... , i(school)

So my question is - have a done something strange in the xtmepoisson 
command that Stata may object to, if not, is there a rule of thumb for 
the length of time I should wait for?

*   For searches and help try:

*   For searches and help try:

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