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.
Related Posts with Panel data question
Difference in DifferenceDear Statalist, PFA the dummy data. Here I have the following variables - 1. Cluster ID (cluster_i…
Interpreting teffects/tebalanceHi everyone, May be a silly question, but I am having trouble finding clear information on how to i…
Command outreg2Hi. I have to put in word five different regressions. I want to unify them in an only table. How can…
What is the relationship between a seed and a state of the random number generator?I want to generate N, say N=10, random numbers, then turn off Stata, start a new instance of Stata, …
Summarizing in a table Code: input price price_Delhi_2007_r price_Delhi_2007_u price_Delhi_2017_r price_Delhi_2017_u price…
Subscribe to:
Post Comments (Atom)
0 Response to Panel data question
Post a Comment