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
Bayesian iRT using bayesmhhow will i code A= 1, B= 2, C=3 ,D=4 in this excel sheet Q1 Q2 Q3 Q4 Q5 Q6 Q7 1 B A A B A D A 2 C B …
Problem intepreting 3sls (reg3) results, and isolate dependent variable in a simultaneous equation modelDear Stata experts and fellow students We are 2 students that are writing our thesis where we try t…
Counting distinct values by groupHello, I have a data-set with a unique id (permno) and time (date). I have taken the year of this d…
xstata pauzes on linux server when disconnecting SSH tunnelI have Stata MP installed on a linux server, which I access through a ssh tunnel and X2go (and X11 f…
problems with nested logit modelHi I am trying to model migration within Sweden using a nested logit model and I have divided Swede…
Subscribe to:
Post Comments (Atom)
0 Response to Country and time fixed effects
Post a Comment