-----------------------------------------------------------------------------------------------------

name:  <unnamed>

log type:  text

opened on:   6 Oct 2014, 10:45:32

. *class starts here

. graph box age if occ1990==178| occ1990==95 | occ1990==125, over (occ1990)

. graph hbox age if occ1990==178| occ1990==95 | occ1990==125, over (occ1990)

* See the Stata documentation for “graph box” for an explanation for every part of the box plot. The main thing to know is the box covers the interquartile range, or 25th to 75th percentile, with a line in the middle for the 50th percentile.

. summarize age if occ1990==178, detail

Age

-------------------------------------------------------------

Percentiles      Smallest

1%           24             24

5%           27             24

10%           29             24       Obs                 441

25%           35             24       Sum of Wgt.         441

50%           43                      Mean           44.38549

Largest       Std. Dev.      12.48585

75%           52             84

90%           61             86       Variance       155.8965

95%           66             87       Skewness       .7190904

99%           83             90       Kurtosis       3.549932

. graph box age if occ1990==178| occ1990==95 | occ1990==125, over (occ1990)

. table occ1990 if occ1990==178| occ1990==95 | occ1990==125, contents(freq p25 age p50 age p75 age)

----------------------------------------------------------------------

Occupation, 1990      |

basis                 |      Freq.    p25(age)    med(age)    p75(age)

----------------------+-----------------------------------------------

Registered nurses |        966          36          43          51

Sociology instructors |          6          50          53          54

Lawyers |        441          35          43          52

----------------------------------------------------------------------

. tabulate occ1990 if occ1990==178| occ1990==95 | occ1990==125

Occupation, 1990 basis |      Freq.     Percent        Cum.

----------------------------------------+-----------------------------------

Registered nurses |        966       68.37       68.37

Sociology instructors |          6        0.42       68.79

Lawyers |        441       31.21      100.00

----------------------------------------+-----------------------------------

Total |      1,413      100.00

. tabulate occ1990 if occ1990==178| occ1990==95 | occ1990==125, nolab

Occupation, |

1990 basis |      Freq.     Percent        Cum.

------------+-----------------------------------

95 |        966       68.37       68.37

125 |          6        0.42       68.79

178 |        441       31.21      100.00

------------+-----------------------------------

Total |      1,413      100.00

. log close

name:  <unnamed>