Hello!
Can anyone please help me with the commands for creating a dummy variable?
Currently, I have time series data between the years 2004-2019 (financial data).
I want to create a dummy variable for the years (2008,2009,2010) = 1, all other years 0. This will represent the financial crisis years. I have 6 independent variables and hoping for the 7th to be my dummy variable.
Anyway,
I'm really stuck on how to do this and don't know what the commands are.
Thanks everyone!
Can anyone please help me with the commands for creating a dummy variable?
Currently, I have time series data between the years 2004-2019 (financial data).
I want to create a dummy variable for the years (2008,2009,2010) = 1, all other years 0. This will represent the financial crisis years. I have 6 independent variables and hoping for the 7th to be my dummy variable.
Anyway,
I'm really stuck on how to do this and don't know what the commands are.
Thanks everyone!
Comment