I have a panel data ranging from 2001 to 2010. For comparative purposes, I want to use -fe- estimates for before 2005 (2001-2004) and 2005 onwards (2005-2010). In that case, can I use the following commands with my full-sample dataset?
Code:
xtreg Y X1 X2 X3, fe cluster (ID), if Year<=2004
Code:
xtreg Y X1 X2 X3, fe cluster (ID), if Year>=2005
Thanks.
0 Response to Seperating Dataset or Not
Post a Comment