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
Looping a regression command sequentially by observation and storing each model.Hi all, Apologies if this is very simple or has been asked before. I have searched through many top…
no observations error for regressing two IVs that are mutually exclusiveDear Statalist, I have a dataset with European and non-European countries. I define "europe" as: C…
Importing csvHi, I have an easy problem, but unfortunately I could not solve it. When I want to import data fro…
Herfindahl-Hirschman Index for banksHello, I have a problem creating Herfindahl-Hirschman Index for my data I tried scc install hhi but…
Confidence interval for graphsHi all, I am plotted a connected graph using this code: Code: twoway (connected weekmeanifference …
Subscribe to:
Post Comments (Atom)
0 Response to Regression with year and country fixed effects
Post a Comment