Hello,
I would like to work with paneldata. But when I try the command 'xtset Country Year', I get an error which says: repeated time values within paneldata.
I think it is because I have multiple firms for every Country and Year, but since Stata is new for me, I'm not sure. Can someone help me and try to explain how I can use country-year fixed effects?
Thank you in advance.
My database is like this:

I would like to work with paneldata. But when I try the command 'xtset Country Year', I get an error which says: repeated time values within paneldata.
I think it is because I have multiple firms for every Country and Year, but since Stata is new for me, I'm not sure. Can someone help me and try to explain how I can use country-year fixed effects?
Thank you in advance.
My database is like this:
Comment