Hello everyone!
I am pretty much new to Stata and wanted ask pretty simple questions that confuse me. I am working with panel data consisting of 9 countries over the period of 2000-2017. I want to do regressions including time fixed effects, country fixed effects and both country and time fixed effects. My panel setting is "xtset country_id year". I have read here that command for country fixed effects is just "xtreg y x, fe".
Is command "xtreg y x i.year, fe" controls for both country and time fixed effects? And what is the command for just time fixed effects?
Thank you for your help, Sergey Medvedev
Related Posts with Country and time fixed effects
How to destring date variable formatted as year and week numberDear Statalist, I was just wondering if there is an easy way to destring a date variable formatted …
IVREG LIML yields zero cefficients and p-value=1.I am using Stata to run "IVREG LIML" which is an IV with Limited Maximum Likelihood estimator. Howev…
Page break in PDF outputI need to put page breaks in PDF strategically to keep certain lines of text together on the same pa…
Garch model regressionHello, I am looking at logreturns of two different stock market indices in two countries and seeing…
Time Series RegressionHello, I am looking at logreturns of two different stock market indices in two countries and seeing…
Subscribe to:
Post Comments (Atom)
0 Response to Country and time fixed effects
Post a Comment