Statalist The Stata Listserver


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

st: dynamic panel with selection and more endogeneous variables


From   nicola.baldini2@unibo.it
To   statalist@hsphsun2.harvard.edu
Subject   st: dynamic panel with selection and more endogeneous variables
Date   Tue, 20 Mar 2007 11:48:00 +0100

I have the following PANEL model:
Regime 1 (observed if z1 = 0): y = y(t-1) + exog
Regime 2 (observed if z1 > 0): y = y(t-1) + exog + z1 + z2 + endog 
At t=0, all observations are in regime 1; changing from 1 to 2 depends on y(t-1) and exog; changing from 2 to 1 not possible. 
y is a count variable, y(t-1) is past y (I am uncertain about using lagged y or a depreciated stock up to t-1; in regime 2, alternatively, I can use a "years-since regime 2" time counter), z1 and z2 are proportions (endogenous; my key independent variables), endog are additional endogenous variables, exog are exogenous. To put it differently, in regime 1 all endogenous are 0, while in regime 2 z1 is not 0 (and remaining endogenous may be 0 or not).
All endogenous variables are almost time-invariant (e.g. 0/0/0/0/0/0/0/0/50/50/50/50/50/50/50; 0/0/0/0/0/0/0/0/0/0/0/0/0/0/0; 0/0/0/0/0/0/0/0/0/0/0/0/25/25/50; etc...).
I have thought about xtivreg y (z1 z2 endog y(t-1) = exog).
Do you have any suggestion or better idea?

Nicola

*
*   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