Dear Stata users,
For my analysis, I need to use time fixed effects on my panel data (Country-Year), since most of the variation of my variables is between rather than within.
I am aware on how to use country specific fixed effects, "xtreg -fe", and that it is similar to using the command regress with i.Country in the end.
Based on this reasoning at the moment, I am conducting my analysis using the command reg -i.Year, but I observed that I do not get similar results when I run my regressions using xtreg and -be in the end.
Could someone clarify to me how I am wrong in my reasoning, and if I am what is the correct way to conduct my analysis using time fixed effects with the xtreg command.
My main issue is that I would like to examine the possibility of autocorrelation of the errors across countries with time fixed effects and I have not found an appropriate way to do so without using the "xtreg" command.
I appologize beforehand if my question is confusing or incorrect, please let me know if there is any need for clarification.
Kind Regards,
Georgios
Related Posts with Time Fixed Effects
item-rest correlation using Spearman?Hi, I'm wondering if there is a way to get item-rest correlation, as you get from the command alpha…
Creating a variable from a percentileDear Statalist Experts I hope you are well. I want to create a new variable "highVarA" that should …
Propensity Score Matching (PSM) to match firms based on age, size and industryDear community, I have a data set of firms that went public via a SPAC merger (SPAC=1). Now I want …
Improve regression interpretations with and without fixed effectsI have unbalanced panel data where 2213 companies from 32 different countries report several measure…
bysort | first non-missing calculationHello all: I am trying to retrieve the earliest or first non-missing anycomp by studyid and the cod…
Subscribe to:
Post Comments (Atom)
0 Response to Time Fixed Effects
Post a Comment