Hi, I have a panel dataset of countries for the period 1950-2023 and want to run OLS regressions. However, I am confused as to whether and what type of fixed/random effects I should include. In my regressions I do not include any independent variable that is time-invariant, but rather only variables that change every year (investment, gdp, population, etc.). I know that the command for running panel data regressions is xtreg, but when I use that command without using the "fe" option I get no R2 when exporting regression tables, which makes me think is incorrect.
Should I use fixed effects on my regression? Or is that something that is only required when one independent variable is time-invariant? I would highly appreciate a conceptual and practical explanation.
Thank you!
Should I use fixed effects on my regression? Or is that something that is only required when one independent variable is time-invariant? I would highly appreciate a conceptual and practical explanation.
Thank you!

Comment