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
spmap polygon sepearate graphsDear all, I'm trying to overlay EU NUTS2 and NUTS3 using spmap, but the polygon option doesn't combi…
Latitude and Longitude to perform geonear and the case of 90 to -90To perform geo near, we require latitude and longitude. For this do we use the coordinates informati…
Obtain which bin and corresponding density each observation in plotted histogram belongs to?Hello everyone, Suppose I plot a histogram: Code: clear set obs 10 g z = _n replace z = 5 if _n …
(ssc) esttab and stcrreg: option equations() invalidFor some reason esttab (an ssc package) will not let me combine these two outputs: Code: . stcrreg…
lazy man's researchI have some info culled from international registries of non-US rehab medicine clinical trials one …
Subscribe to:
Post Comments (Atom)
0 Response to unbalanced panel
Post a Comment