Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Small bug with variable names in xtpoisson


From   Paulo Guimaraes <guimaraes@moore.sc.edu>
To   statalist@hsphsun2.harvard.edu
Subject   st: Small bug with variable names in xtpoisson
Date   Thu, 25 Oct 2007 14:18:03 -0400

There is a small bug with reported variable names in xtpoisson.
When the lag operator is used the command does not report the variable name but instead it reports the name of a temporary variable.
To replicate do:

webuse ships
bys ship: gen time=_n
xtset ship time
xtpoisson accident l.service

Paulo Guimaraes

*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* 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