Dummy Variable for time period
Posted: Mon Jan 31, 2011 7:38 am
Hi there
How would you create a dummy variable for a specific time period. I understand that @expand does it for a specific group but i've got structural issues with my data and need to create structural lags based upon dummy variables for a specific time period (e.g. 2006-2009). My independant is stock and dependant is gdp. I want to create dummy variables for stock.
Your help would be GREATLY appreciated.
How would you create a dummy variable for a specific time period. I understand that @expand does it for a specific group but i've got structural issues with my data and need to create structural lags based upon dummy variables for a specific time period (e.g. 2006-2009). My independant is stock and dependant is gdp. I want to create dummy variables for stock.
Your help would be GREATLY appreciated.