Hi everyone
I'm running a regression with fixed effects of individuals:
reg y x i.firm i.year i.individual
I have an unbalanced panel dataset which is like below:
firm date individual x y
1 may92 1 12 390
1 may92 2 12 390
1 may92 3 12 390
1 december93 3 56 678
1 december93 4 56 678
2 march93 5 56 678
2 march93 6 56 678
3 july93 2 68 234
3 july93 7 68 234
.
the problem is I want to run the regression at firm-date level, but it's like I'm running the regression at firm-date-individual with this data and observations on x and y(which is unique for every year and every firm) are considering several times in regression. what should I do for regressing only at firm-date level and not losing the data of individuals? (the number of unique indivudals is about 2000)
Related Posts with unbalanced panel
how to combine (as in overlap) multiple catplots?Hi Guys, Hope you're all well. Code: catplot letter if 2020dummy==1, percent hor var1opts(sort(1)…
Graph export to a specific folderHi all, May I know how to export a graph as .png to a specific folder? The default location is the …
Multiple RegressionHello guys, I will run the multiple regression and calculate the expected number of children EVER BO…
Meta - Forest plot - How do we get high-res figures in large meta-analyses?Dear statalisters, -meta- with the option forestplot is capable of producing great forest plots, wh…
Need help to add observations for each category.Hi Everyone, I am trying to find the total of the variables in stata but keep getting error message…
Subscribe to:
Post Comments (Atom)
0 Response to unbalanced panel
Post a Comment