Dummy variable
Posted: Tue Aug 14, 2012 5:23 pm
Hi,
I have one panel data, and I want to create dummy variable
1)Eu include Greece, Portugal, spain, ireland, france, germany,
2) non Eu US, Uk, canada, australia
3 debt countries: greece, portugal, ireland, spain, ireland
4 debt crisis period from 2010- 2011
5 financial crisis from 2008- 2009
I try series dummy @recode(@year=2008 or @year=2009, 1,0)
is it different with if? In case I want to create dummy variable for financial crisis period if year=2008 and year=2009?
i tred to create dummy for countries but i fail by using the same @recode(@countries=uk or @countriesus, etc, 1,0)
this is my file in panel data
Thank you very much
I have one panel data, and I want to create dummy variable
1)Eu include Greece, Portugal, spain, ireland, france, germany,
2) non Eu US, Uk, canada, australia
3 debt countries: greece, portugal, ireland, spain, ireland
4 debt crisis period from 2010- 2011
5 financial crisis from 2008- 2009
I try series dummy @recode(@year=2008 or @year=2009, 1,0)
is it different with if? In case I want to create dummy variable for financial crisis period if year=2008 and year=2009?
i tred to create dummy for countries but i fail by using the same @recode(@countries=uk or @countriesus, etc, 1,0)
this is my file in panel data
Thank you very much