Hey everyone,
I have a problem running a FE regression in Stata due to the data structure I have. I have observations for several countries and times, but some years appear multiple times per country. Here is a stylized example:
If I set "xtset Country Year", it says that multiple time values appear (which I get). My idea was to assign different dates to observations that took place in the same year, e.g. 2020/01/01, 2020/01/02 and so on to have unique dates. This solves the multiple time value problem but I cannot run a FE regression, probably because the distances between the time points are not even.
Do you have an idea how I can run a FE regression with my data set?
Best,
Jules
I have a problem running a FE regression in Stata due to the data structure I have. I have observations for several countries and times, but some years appear multiple times per country. Here is a stylized example:
Country | Year | Var |
A | 2020 | 1 |
A | 2020 | 2 |
A | 2021 | 1 |
B | 2020 | 4 |
B | 2021 | 7 |
Do you have an idea how I can run a FE regression with my data set?
Best,
Jules
Comment