Statalist


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

st: AW: xtmepoisson


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

<> 

You may have run into the problem on slide 26 of
http://www.stata.com/meeting/fnasug08/gutierrez.pdf

Also look at http://www.stata.com/meeting/2sweden/gutierrez_sweden07.pdf




HTH
Martin


-----Ursprüngliche Nachricht-----
Von: [email protected]
[mailto:[email protected]] Im Auftrag von Simon Moore
Gesendet: Freitag, 14. August 2009 16:38
An: [email protected]
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?

Regards
Simon
*
*   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/


*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index