Statalist


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

st: AW: xtmepoisson


From   "Martin Weiss" <martin.weiss1@gmx.de>
To   <statalist@hsphsun2.harvard.edu>
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: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] Im Auftrag von Simon Moore
Gesendet: Freitag, 14. August 2009 16:38
An: statalist@hsphsun2.harvard.edu
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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index