encode district,gen(city)
. xtset city year
panel variable: city (strongly balanced)
time variable: year, 2006 to 2015
delta: 1 unit
. xtdes
city: 1, 2, ..., 35 n = 35
year: 2006, 2007, ..., 2015 T = 10
Delta(year) = 1 unit
Span(year) = 10 periods
(city*year uniquely identifies each observation)
Distribution of T_i: min 5% 25% 50% 75% 95% max
10 10 10 10 10 10 10
Freq. Percent Cum. | Pattern
---------------------------+------------
35 100.00 100.00 | 1111111111
---------------------------+------------
35 100.00 | XXXXXXXXXX