So I'm trying to create a dummy variable for the global financial crisis of 2007-2008. My data runs from 1970-2019.
so this is what i did;
gen z=0
replace z=1 if Year=2007
replace z=1 if Year=2008
long story short, this is wrong. I've tried absolutely everything. Would appreciate if someone could help!
so this is what i did;
gen z=0
replace z=1 if Year=2007
replace z=1 if Year=2008
long story short, this is wrong. I've tried absolutely everything. Would appreciate if someone could help!
Comment