Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: re: dynamic FE in Stata


From   Kit Baum <[email protected]>
To   [email protected]
Subject   st: re: dynamic FE in Stata
Date   Fri, 22 Apr 2005 08:40:34 -0400

V. Sarafidis wrote


Is there any obvious way to run fixed effects with dynamics in Stata (8)?

For example the following model:

Y(i,t)=a(i) + b*X(i,t) + d*(Xi,t-1)+u(i,t)

where X is strictly exogenous

And Mark suggests xtabond(2). No need for that; OLS will do a perfectly good job on this model. You cannot use xtreg,fe directly in Stata 8 b/c it does not recognize time series ops. But

gen lx = L.x
xtreg y x lx, fe

will work fine.

Kit Baum, Boston College Economics
http://ideas.repec.org/e/pba1.html

*
* 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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index