Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


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

st: RE: ZINB - how do you use lagged variables?


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/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index