Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | Nick Cox <n.j.cox@durham.ac.uk> |
To | "'statalist@hsphsun2.harvard.edu'" <statalist@hsphsun2.harvard.edu> |
Subject | st: RE: ZINB - how do you use lagged variables? |
Date | Mon, 25 Apr 2011 22:43:36 +0100 |
As -zinb- is objecting to the use of operators such as L. in the call, why not create those variables explicitly with -generate- beforehand? You can that manual, but you could probably do it in a loop. But don't expect -zinb- to have any special knowledge of time series. Nick n.j.cox@durham.ac.uk Jung-eun Lee Stata won't allow lagged right-hand-side variables(time-series operators, which the -nbreg- command does allow) when I use the -zinb- command. Is there a way to solve this problem? Or do I have to manually lag all the explanatory variables? * * 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/