Hi,
I am trying to observe the impact of COVID across industries where my dependent variable is employment. Additionally, my supervisor told me to look at the impact for each quarter in year 2020 (COVID year)
I was advised by my supervisor to run the equation below but as I tried to run the regression but there is error saying varlist required
xi: reg Y i.quarter i.year i.industry i.[2020]*i.quarter
Stata Command:
xi: reg lnemp i.qyear i.year i.econsector i.[2020]*i.qyear, r
Stata Result:
i.qyear _Iqyear_220-243 (naturally coded; _Iqyear_220 omitted)
i.year _Iyear_2015-2020 (naturally coded; _Iyear_2015 omitted)
i.econsector _Ieconsecto_1-19 (naturally coded; _Ieconsecto_1 omitted)
varlist required
r(100);
I do not fully understand the year and quarter dummy and hope that someone can further guide me on this.
Thank you!
I am trying to observe the impact of COVID across industries where my dependent variable is employment. Additionally, my supervisor told me to look at the impact for each quarter in year 2020 (COVID year)
I was advised by my supervisor to run the equation below but as I tried to run the regression but there is error saying varlist required
xi: reg Y i.quarter i.year i.industry i.[2020]*i.quarter
Stata Command:
xi: reg lnemp i.qyear i.year i.econsector i.[2020]*i.qyear, r
Stata Result:
i.qyear _Iqyear_220-243 (naturally coded; _Iqyear_220 omitted)
i.year _Iyear_2015-2020 (naturally coded; _Iyear_2015 omitted)
i.econsector _Ieconsecto_1-19 (naturally coded; _Ieconsecto_1 omitted)
varlist required
r(100);
I do not fully understand the year and quarter dummy and hope that someone can further guide me on this.
Thank you!
Comment