Hi there,
First of all I am new to this forum and I've been trying to find a relatable post but wasn't able to find it. I'm running a regression to study the potential relation between accruals earnings management and corporate social responsibility. I included several control variables but I followed previous studies and included the variables year and country to control for specific year and country effects.
So, this is what I ran on Stata:
xtset id year
egen year_country = group(year country)
xtreg REM CSR AEM GROWTH SIZE LEV ROA BIG4 IND, fe vce(robust)
xtreg REM CSR AEM GROWTH SIZE LEV ROA BIG4 IND i.year_country, re vce(robust)
xtreg REM CSR AEM GROWTH SIZE LEV ROA BIG4 IND i.year i.country, re vce(robust)
My question is: does this fulfil the propose of my research? And if I want to export the coefficients should it be from the first regression with fixed effects and cluster robust?
Thank you in advance for your help.
Related Posts with Regression with year and country fixed effects
Marginal Estimate in Binary logisticHello, I am writing my masters thesis and I am using SPSS to run binary logistic regression analysis…
STATA frequency table for categorical variables using foreach loops*** I had posted this on Stack Exchange and was directed here: I have been working with panel data …
DID issue-----how to add industry and fixed effect to diff commandHi, Does any one know how to add year and industry fixed effect (sum of Year fixed effecti,t) as co…
Transform data set to sub-periods with corresponding averages of all other variablesDear Statalist, After been using the advices here for several years without being a member, it is n…
Conducting a Cross Sectional studyI am conducting a cross-sectional study of 99 UK firms in 2017. I aim to find a positive/negative re…
Subscribe to:
Post Comments (Atom)
0 Response to Regression with year and country fixed effects
Post a Comment