I have a panel dataset with data for different countries for the years 1975, 1980, 1985, 1990 and 1995. When I run the xtset command, I get the following result which suggests that my panel is unbalanced. How do I find out the source of this "unbalancedness"?
Here is the Stata output for xtdescribe:
If I understood correctly, the preceding results indicate that for 103 countries, I have all the five time periods. But for 2 countries, not all of the time periods are available. How do I find out which countries are those? Also, can I still use a fixed effect model with this unbalanced data?
Code:
xtset country year
panel variable: country (unbalanced)
time variable: year, 1975 to 1995, but with gaps
delta: 1 unit
Code:
xtdescribe
country: 1, 2, ..., 106 n = 105
year: 1975, 1980, ..., 1995 T = 5
Delta(year) = 1 unit
Span(year) = 21 periods
(country*year uniquely identifies each observation)
Distribution of T_i: min 5% 25% 50% 75% 95% max
4 5 5 5 5 5 5
Freq. Percent Cum. | Pattern*
---------------------------+----------
103 98.10 98.10 | 11111
2 1.90 100.00 | 1111.
---------------------------+----------
105 100.00 | XXXXX
--------------------------------------
*Each column represents 5 periods.

Comment