Dear,

For my master thesis, I need to do a regression to analyse the effects of climate change on the financial performance in the luxury sector. Before that, I need to let Stata know that it is panel data. I am a bit confused with the xtset command because I have several variables and do not know what is correct. I basically have the id of all the companies, the countries but also the years. Which ones should be part of the panel data? (for example, LVMH is only present in France so the dummy variable for the country takes 1 in this case and 0 for the other countries.

Also, I need to perform a hausmaan test afterwards to know if it is a fixed or random model.
I also have two controls variable that are country fixed effect and year fixed effect and I do not know how to perform these.