Hello Statalist forum,
So far I have been using Stata for around 1 year and currently I'm working on the following research hypothesis and regression equation; The difference in the financial performance of family firms relative to non-family firms increased during the covid-19 pandemic
I'll find an answer that question by running the regression equation below in a random effects model.
ROE % = B1Familyist + B2COVIDcrisist + B3Familyist * COVIDcrisist + B4Sizeist + B5Ageist + B6Leverageist + Zs + tt + eist
Where Firmperformance = ROE in %, Family = family firm dummy variable (1 for family, 0 for non-family), COVIDcrisis dummy variable (1 for year 2020, 0 for years 2014-2019), Interaction term between Family and COVIDcrisis, size/age/leverage are control variables and Z = industry fixed effect and t = time fixed effect. i = per individual firm, s = per industry, t = per year and e = error term.
Originally I wanted to use a fixed-effects model, however after doing some research I came to the conclusion that a random effects model would be more suitable (random effects allows for having time-invariant dummy variables, such as family firm and COVIDcrisis in my case). I have 8 years of data for 259 firms in my panel (2072 obs.).
However, as found on this forum I also conducted the Hausman test to check whether RE or FE should be used, the FE model dropped my family firm dummy variable since it is time invariant but also Age and Industry. However, based on the remaining variables, it concluded that I should use fixed effects instead of random effects. The latter is causing some confusion for me, therefore I was wondering if the expertise on this forum could assist me.
Question: Would it be better to use FE or RE when looking at the above described variables and question of interest? Also, is the code below correct for using my RE/FE model?
Thank you in advance for your advice and learnings!
So far I have been using Stata for around 1 year and currently I'm working on the following research hypothesis and regression equation; The difference in the financial performance of family firms relative to non-family firms increased during the covid-19 pandemic
I'll find an answer that question by running the regression equation below in a random effects model.
ROE % = B1Familyist + B2COVIDcrisist + B3Familyist * COVIDcrisist + B4Sizeist + B5Ageist + B6Leverageist + Zs + tt + eist
Where Firmperformance = ROE in %, Family = family firm dummy variable (1 for family, 0 for non-family), COVIDcrisis dummy variable (1 for year 2020, 0 for years 2014-2019), Interaction term between Family and COVIDcrisis, size/age/leverage are control variables and Z = industry fixed effect and t = time fixed effect. i = per individual firm, s = per industry, t = per year and e = error term.
Originally I wanted to use a fixed-effects model, however after doing some research I came to the conclusion that a random effects model would be more suitable (random effects allows for having time-invariant dummy variables, such as family firm and COVIDcrisis in my case). I have 8 years of data for 259 firms in my panel (2072 obs.).
However, as found on this forum I also conducted the Hausman test to check whether RE or FE should be used, the FE model dropped my family firm dummy variable since it is time invariant but also Age and Industry. However, based on the remaining variables, it concluded that I should use fixed effects instead of random effects. The latter is causing some confusion for me, therefore I was wondering if the expertise on this forum could assist me.
Question: Would it be better to use FE or RE when looking at the above described variables and question of interest? Also, is the code below correct for using my RE/FE model?
Code:
egen ID = group(GlobalCompanyKey) egen ID_industry = group(Division) gsort ID Year xtset ID Year, yearly xtreg ROE_percent Family COVIDcrisis Family#COVIDcrisis Size Age Leverage i.ID_industry i.Year, re xtreg ROE_percent Family COVIDcrisis Family#COVIDcrisis Size Age Leverage ID_industry Year, fe, estimate store fe xtreg ROE_percent Family COVIDcrisis Family#COVIDcrisis Size Age Leverage i.ID_industry i.Year, re estimate store re hausman fe re
Comment