|
|
|
||||
|
|
|||||
Figure 1.1, page 321.
use http://www.ats.ucla.edu/stat/stata/examples/alda/data/teachers, clear
tabulate t censor
| censor
t | 0 1 | Total
-----------+----------------------+----------
1 | 456 0 | 456
2 | 384 0 | 384
3 | 359 0 | 359
4 | 295 0 | 295
5 | 218 0 | 218
6 | 184 0 | 184
7 | 123 280 | 403
8 | 79 307 | 386
9 | 53 255 | 308
10 | 35 265 | 300
11 | 16 241 | 257
12 | 5 386 | 391
-----------+----------------------+----------
Total | 2207 1734 | 3941
sort censor
histogram t, by(censor) freq discrete
UCLA Researchers are invited to our Statistical Consulting Services
We recommend others to our list of Other Resources for Statistical Computing Help
These pages are Copyrighted (c) by UCLA Academic Technology Services