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
First Difference vs Fixed Effects Serial CorrelationHi, I am running the following regression: xtreg recycling loginc logpopden md11 md12 md13 md14 md…
Averaging eclass commands across multiple modelsI am working with a data set that has five implicate data sets. For each data set, I am running a re…
Multiple legends in combined subplots using the coefplot commandHello all. I am running a bunch of regressions, each with a different dependent variable using the s…
Unique String Values Across Variables and Duplicate Observations for an ID VariableHi! I'm trying to count the unique number of string values for variable mainx, and x1-9. My dataset …
estout column output helpHello, I'm using the estout command like this: Code: sysuse auto glm foreign price, fam(bin) l…
Subscribe to:
Post Comments (Atom)
0 Response to Regression with year and country fixed effects
Post a Comment