-------------
      name:  <unnamed>
       log:  Z:\public_html\teaching\statcomputing.2012\Lectures\Lecture12.StataIntro\stata1.smcl
  log type:  smcl
 opened on:  14 Feb 2012, 15:01:30

. do "C:\Users\elg26\AppData\Local\Temp\STD06000000.tmp"

. d

Contains data from SCBC2004.dta
  obs:         2,633
 vars:            55                          1 Feb 2011 15:12
 size:       563,462 (94.6% of memory free)
-------------
              storage  display     value
variable name   type   format      label      variable label
-------------


caseid            str12    %12s                         ID for each individual person. NO duplicates.


ydid              str8     %8s                          Yr of Diagnosis


dxyr              int      %10.0g                       Yr of Diagnosis - numeric


acosfinal         str2     %2s                          1=ACOS facility;  0=non-ACOS


er                str2     %2s                          0=not done; 1=pos; 2=neg; 3=borderline; 8=ordered, dk results; 9=no info; blank=


pr                str2     %2s                          0=not done; 1=pos; 2=neg; 3=borderline; 8=ordered, dk results; 9=no info; blank=


palmetto          float    %9.0g                        1=Palmetto Health; 0=other


ydod              str20    %20s                         Yr of Death


dodyr             int      %10.0g                       Yr of Death - numeric


age               float    %9.0g                        Age at diagnosis


race              float    %9.0g         race12         1=White; 2=Black


county            float    %9.0g                        County of residence at dx


site              str4     %4s                          Site in breast


lat               str2     %2s                          1=Right; 2=Left; 3=Right or Left, nos; 4=Bilateral; 9=dk


morph             str4     %4s                          Histology code


beh               str2     %2s                          2=In Situ; 3=Malignant


seq               str2     %2s                          00=only 1 primary; 01=1st of 2 or more; 02=2nd of 2 or more; 03=3rd of 3 or more


grade             str2     %2s                          1=Well diff; 2=Mod. diff; 3=Poorly diff; 4=Undiff, anaplastic; 9=unstaged


seer_stage        str2     %2s                          0=In Situ; 1=Localized; 2=Regional, dir ext; 3=Regional, lymph; 4=Reg (2 & 3); 5


tnm_path_stage    str2     %2s                          TNM stage


tumor_size        str4     %4s                          Size of primary


brcadth04         float    %9.0g                        0=Death due to other cause; 1=Death due to BrCa; .=Alive


vital04           float    %9.0g                        0=Deceased; 1=Alive


ercat             byte     %10.0g        posnegdk129


                                                1=Pos; 2=Neg; 9=not done, dk, borderline(31), missing, no result


prcat             byte     %10.0g        posnegdk129


                                                1=Pos; 2=Neg; 9=not done, dk, borderline(72), missing, no result


seqcat            str2     %9s                          00=only 1 primary cancer; 08=one of 2+ cancers


gradecat          byte     %10.0g                       1=Well diff; 2=Mod diff; 3=Poorly or Undiff/Anaplastic; 9=dk


seercat           byte     %10.0g        SeerStage


                                                0=In Situ; 1=Localized; 2=Regional; 4=Distant; 9=dk


erprcat           float    %9.0g                        11=ER+/PR+; 12=+/-; 21=-/+; 19=+/dk; 91=dk/+; 29=-/dk; 92=dk/-; 99==dk/dk


erprcat2          float    %9.0g                        1=ER+/PR+; 2=ER-/PR-; 3=+/- or -/+; 9=one or other dk


vscat             float    %9.0g                        0=alive; 1=death due to brca; 2=other cause of death


survyr            float    %9.0g                        Calculated years of survival: dodyr-dxyr


age5cat           float    %9.0g                        Age at dx, in 5-yr categories


ER_Grade          str8     %9s                          ER and Grade, from ercat and gradecat


age5cat2          float    %9.0g                        Age at dx, 5-yr categories, 85 is 85+


eapopagecat       float    %9.0g                        Number of women in EA age stratum


aapopagecat       float    %9.0g                        Number of women in AA age stratum


i_EA              float    %9.0g                        If EA: Age-specific Incidence per 100,000: 1/eapopagecat


i_AA              float    %9.0g                        If AA: Age-specific Incidence per 100,000: 1/aapopagecat


incidence         float    %9.0g                        Race & Age-specific Incidence per 100,000: 1/xxpopagecat


GradeERcat        float    %9.0g         GradeER        1st digit: Grade1,2,3 or dk(9); 2nd: ER neg(0), pos(1), dk(9)


black             float    %9.0g                        0=White (EA); 1=Black (AA)


lymphcat          float    %9.0g


ajcc              float    %10.0g        AJCC_SumStage


                                                Numeric variable corresponding to tnm_path_stage


ajcccat           float    %9.0g                        1=AJCC stage 1, 1A, 1B, 1C; 2=stage 2,2A,2B; etc ; 9=dk


agecat            float    %9.0g                        Age at dx: 1=<50; 2=50 to 64; 3=64+ years


incidwt           float    %9.0g                        Weighting by 1/(incidence*100,000)


examined_nodes    byte     %8.0g                        Number of lymph nodes examined, from Registry


positive_nodes    byte     %8.0g                        Number of lymph nodes positive for cancer, from Registry


nodecat           float    %9.0g                        0=stage N0; 1=N1 (>=one node pos for ca); 9=dk; from exam.. & pos..


nodexam           float    %9.0g                        0=no nodes examined for cancer cells; 1=at least one node examined ; 9=dk


nodebest          float    %9.0g                        As nodecat, recoded to correspond to seer_stage as needed


stagen            float    %9.0g


graden            float    %9.0g


ern               float    %9.0g


-------------
Sorted by:  age

. d ercat

              storage  display     value
variable name   type   format      label      variable label
-------------


ercat             byte     %10.0g        posnegdk129


                                                1=Pos; 2=Neg; 9=not done, dk, borderline(31), missing, no result


. codebook

-------------
caseidID for each individual person. NO duplicates.
-------------

                  type:  string (str12), but longest is str11

         unique values:  2633                     missing "":  0/2633

              examples:  "00151117_00"
                         "00157531_00"
                         "00165986_00"
                         "00179018_00"

-------------
ydidYr of Diagnosis
-------------

                  type:  string (str8)

         unique values:  1                        missing "":  0/2633

            tabulation:  Freq.  Value
                          2633  "2004"

               warning:  variable has leading blanks

-------------
dxyrYr of Diagnosis - numeric
-------------

                  type:  numeric (int)

                 range:  [2004,2004]                  units:  1
         unique values:  1                        missing .:  0/2633

            tabulation:  Freq.  Value
                          2633  2004

-------------
acosfinal1=ACOS facility;  0=non-ACOS
-------------

                  type:  string (str2), but longest is str1

         unique values:  2                        missing "":  0/2633

            tabulation:  Freq.  Value
                           895  "0"
                          1738  "1"

-------------
er0=not done; 1=pos; 2=neg; 3=borderline; 8=ordered, dk results; 9=no info; blank=
-------------

                  type:  string (str2), but longest is str1

         unique values:  6                        missing "":  895/2633

            tabulation:  Freq.  Value
                           895  ""
                            50  "0"
                           849  "1"
                           366  "2"
                             3  "3"
                            83  "8"
                           387  "9"

-------------
pr0=not done; 1=pos; 2=neg; 3=borderline; 8=ordered, dk results; 9=no info; blank=
-------------

                  type:  string (str2), but longest is str1

         unique values:  6                        missing "":  895/2633

            tabulation:  Freq.  Value
                           895  ""
                            51  "0"
                           698  "1"
                           508  "2"
                             9  "3"
                            83  "8"
                           389  "9"

-------------
palmetto1=Palmetto Health; 0=other
-------------

                  type:  numeric (float)

                 range:  [0,1]                        units:  1
         unique values:  2                        missing .:  0/2633

            tabulation:  Freq.  Value
                          2300  0
                           333  1

-------------
ydodYr of Death
-------------

                  type:  string (str20), but longest is str4

         unique values:  1                        missing "":  2629/2633

            tabulation:  Freq.  Value
                          2629  ""
                             4  "2004"

-------------
dodyrYr of Death - numeric
-------------

                  type:  numeric (int)

                 range:  [2004,2004]                  units:  1
         unique values:  1                        missing .:  2629/2633

            tabulation:  Freq.  Value
                             4  2004
                          2629  .

-------------
ageAge at diagnosis
-------------

                  type:  numeric (float)

                 range:  [25,102]                     units:  1
         unique values:  76                       missing .:  0/2633

                  mean:   61.7087
              std. dev:   14.0827

           percentiles:        10%       25%       50%       75%       90%
                                44        51        61        72        81

-------------
race1=White; 2=Black
-------------

                  type:  numeric (float)
label  :  race12

                 range:  [1,2]                        units:  1
         unique values:  2                        missing .:  0/2633

            tabulation:  Freq.   Numeric  Label
                          1988         1  White
                           645         2  Black

-------------
countyCounty of residence at dx
-------------

                  type:  numeric (float)

                 range:  [1,46]                       units:  1
         unique values:  46                       missing .:  1/2633

                  mean:   24.4381
              std. dev:   13.6817

           percentiles:        10%       25%       50%       75%       90%
                                 6        10        23        39        42

-------------
siteSite in breast
-------------

                  type:  string (str4)

         unique values:  9                        missing "":  0/2633

            tabulation:  Freq.  Value
                            11  "C500"
                           109  "C501"
                           222  "C502"
                           105  "C503"
                           840  "C504"
                           126  "C505"
                            12  "C506"
                           555  "C508"
                           653  "C509"

-------------
lat1=Right; 2=Left; 3=Right or Left, nos; 4=Bilateral; 9=dk
-------------

                  type:  string (str2), but longest is str1

         unique values:  4                        missing "":  0/2633

            tabulation:  Freq.  Value
                          1300  "1"
                          1293  "2"
                             4  "4"
                            36  "9"

-------------
morphHistology code
-------------

                  type:  string (str4)

         unique values:  41                       missing "":  0/2633

              examples:  "8500"
                         "8500"
                         "8500"
                         "8500"

-------------
beh2=In Situ; 3=Malignant
-------------

                  type:  string (str2), but longest is str1

         unique values:  1                        missing "":  0/2633

            tabulation:  Freq.  Value
                          2633  "3"

-------------
seq00=only 1 primary; 01=1st of 2 or more; 02=2nd of 2 or more; 03=3rd of 3 or more
-------------

                  type:  string (str2)

         unique values:  5                        missing "":  0/2633

            tabulation:  Freq.  Value
                          2270  "00"
                            75  "01"
                           257  "02"
                            28  "03"
                             3  "04"

-------------
grade1=Well diff; 2=Mod. diff; 3=Poorly diff; 4=Undiff, anaplastic; 9=unstaged
-------------

                  type:  string (str2), but longest is str1

         unique values:  5                        missing "":  0/2633

            tabulation:  Freq.  Value
                           468  "1"
                           916  "2"
                           941  "3"
                            81  "4"
                           227  "9"

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


seer_stage                             0=In Situ; 1=Localized; 2=Regional, dir ext; 3=Regional, lymph; 4=Reg (2 & 3); 5


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

                  type:  string (str2), but longest is str1

         unique values:  6                        missing "":  0/2633

            tabulation:  Freq.  Value
                          1522  "1"
                            86  "2"
                           676  "3"
                           137  "4"
                           143  "7"
                            69  "9"

-------------
tnm_path_stageTNM stage
-------------

                  type:  string (str2)

         unique values:  14                       missing "":  1/2633

              examples:  "1"
                         "2A"
                         "3"
                         "99"

-------------
tumor_sizeSize of primary
-------------

                  type:  string (str4), but longest is str3

         unique values:  87                       missing "":  5/2633

              examples:  "011"
                         "019"
                         "032"
                         "999"

-------------
brcadth040=Death due to other cause; 1=Death due to BrCa; .=Alive
-------------

                  type:  numeric (float)

                 range:  [0,1]                        units:  1
         unique values:  2                        missing .:  2629/2633

            tabulation:  Freq.  Value
                             2  0
                             2  1
                          2629  .

-------------
vital040=Deceased; 1=Alive
-------------

                  type:  numeric (float)

                 range:  [0,1]                        units:  1
         unique values:  2                        missing .:  0/2633

            tabulation:  Freq.  Value
                             4  0
                          2629  1

-------------
ercat1=Pos; 2=Neg; 9=not done, dk, borderline(31), missing, no result
-------------

                  type:  numeric (byte)
label  :  posnegdk129

                 range:  [1,9]                        units:  1
         unique values:  3                        missing .:  0/2633

            tabulation:  Freq.   Numeric  Label
                           849         1  pos
                           366         2  neg
                          1418         9  dk

-------------
prcat1=Pos; 2=Neg; 9=not done, dk, borderline(72), missing, no result
-------------

                  type:  numeric (byte)
label  :  posnegdk129

                 range:  [1,9]                        units:  1
         unique values:  3                        missing .:  0/2633

            tabulation:  Freq.   Numeric  Label
                           698         1  pos
                           508         2  neg
                          1427         9  dk

-------------
seqcat00=only 1 primary cancer; 08=one of 2+ cancers
-------------

                  type:  string (str2)

         unique values:  2                        missing "":  0/2633

            tabulation:  Freq.  Value
                          2270  "00"
                           363  "08"

-------------
gradecat1=Well diff; 2=Mod diff; 3=Poorly or Undiff/Anaplastic; 9=dk
-------------

                  type:  numeric (byte)

                 range:  [1,9]                        units:  1
         unique values:  4                        missing .:  0/2633

            tabulation:  Freq.  Value
                           468  1
                           916  2
                          1022  3
                           227  9

-------------
seercat0=In Situ; 1=Localized; 2=Regional; 4=Distant; 9=dk
-------------

                  type:  numeric (byte)
label  :  SeerStage

                 range:  [1,9]                        units:  1
         unique values:  4                        missing .:  0/2633

            tabulation:  Freq.   Numeric  Label
                          1522         1  Localized
                           899         2  Regional
                           143         4  Distant
                            69         9  Dk

-------------
erprcat11=ER+/PR+; 12=+/-; 21=-/+; 19=+/dk; 91=dk/+; 29=-/dk; 92=dk/-; 99==dk/dk
-------------

                  type:  numeric (float)

                 range:  [11,99]                      units:  1
         unique values:  9                        missing .:  0/2633

            tabulation:  Freq.  Value
                           664  11
                           174  12
                            11  19
                            32  21
                           332  22
                             2  29
                             2  91
                             2  92
                          1414  99

-------------
erprcat21=ER+/PR+; 2=ER-/PR-; 3=+/- or -/+; 9=one or other dk
-------------

                  type:  numeric (float)

                 range:  [1,9]                        units:  1
         unique values:  4                        missing .:  0/2633

            tabulation:  Freq.  Value
                           664  1
                           332  2
                           206  3
                          1431  9

-------------
vscat0=alive; 1=death due to brca; 2=other cause of death
-------------

                  type:  numeric (float)

                 range:  [0,2]                        units:  1
         unique values:  3                        missing .:  0/2633

            tabulation:  Freq.  Value
                          2629  0
                             2  1
                             2  2

-------------
survyrCalculated years of survival: dodyr-dxyr
-------------

                  type:  numeric (float)

                 range:  [0,0]                        units:  1
         unique values:  1                        missing .:  2629/2633

            tabulation:  Freq.  Value
                             4  0
                          2629  .

-------------
age5catAge at dx, in 5-yr categories
-------------

                  type:  numeric (float)

                 range:  [25,100]                     units:  1
         unique values:  16                       missing .:  0/2633

                  mean:   59.7455
              std. dev:   14.1794

           percentiles:        10%       25%       50%       75%       90%
                                40        50        60        70        80

-------------
ER_GradeER and Grade, from ercat and gradecat
-------------

                  type:  string (str8)

         unique values:  12                       missing "":  0/2633

              examples:  "ERdkG2"
                         "ERdkG3"
                         "ERnegG3"
                         "ERposG2"

-------------
age5cat2Age at dx, 5-yr categories, 85 is 85+
-------------

                  type:  numeric (float)

                 range:  [25,85]                      units:  1
         unique values:  13                       missing .:  0/2633

                  mean:   59.6069
              std. dev:   13.8896

           percentiles:        10%       25%       50%       75%       90%
                                40        50        60        70        80

-------------
eapopagecatNumber of women in EA age stratum
-------------

                  type:  numeric (float)

                 range:  [28020,107370]               units:  10
         unique values:  13                       missing .:  0/2633

                  mean:   71755.6
              std. dev:   24720.3

           percentiles:        10%       25%       50%       75%       90%
                             31730     53970     66320     97630    101560

-------------
aapopagecatNumber of women in AA age stratum
-------------

                  type:  numeric (float)

                 range:  [9020,49840]                 units:  10
         unique values:  13                       missing .:  0/2633

                  mean:   25975.2
              std. dev:   13278.8

           percentiles:        10%       25%       50%       75%       90%
                              9310     16130     20670     36030     45580

-------------
i_EAIf EA: Age-specific Incidence per 100,000: 1/eapopagecat
-------------

                  type:  numeric (float)

                 range:  [9.314e-06,.00003569]        units:  1.000e-13
         unique values:  13                       missing .:  0/2633

                  mean:   .000016
              std. dev:   7.3e-06

           percentiles:        10%       25%       50%       75%       90%
                           9.8e-06    .00001   .000015   .000019   .000032

-------------
i_AAIf AA: Age-specific Incidence per 100,000: 1/aapopagecat
-------------

                  type:  numeric (float)

                 range:  [.00002006,.00011086]        units:  1.000e-12
         unique values:  13                       missing .:  0/2633

                  mean:   .000051
              std. dev:   .000027

           percentiles:        10%       25%       50%       75%       90%
                           .000022   .000028   .000048   .000062   .000107

-------------
incidenceRace & Age-specific Incidence per 100,000: 1/xxpopagecat
-------------

                  type:  numeric (float)

                 range:  [9.314e-06,.00011086]        units:  1.000e-13
         unique values:  26                       missing .:  0/2633

                  mean:   .000024
              std. dev:   .000019

           percentiles:        10%       25%       50%       75%       90%
                           9.8e-06   .000012   .000017   .000028   .000048

-------------
GradeERcat1st digit: Grade1,2,3 or dk(9); 2nd: ER neg(0), pos(1), dk(9)
-------------

                  type:  numeric (float)
label  :  GradeER

                 range:  [10,99]                      units:  1
         unique values:  12                       missing .:  0/2633

 examples:               20    G2ERneg
                         29    G2ERdk
                         30    G3ERneg
                         39    G3ERdk

-------------
black0=White (EA); 1=Black (AA)
-------------

                  type:  numeric (float)

                 range:  [0,1]                        units:  1
         unique values:  2                        missing .:  0/2633

            tabulation:  Freq.  Value
                          1988  0
                           645  1

-------------
lymphcat(unlabeled)
-------------

                  type:  numeric (float)

                 range:  [0,9]                        units:  1
         unique values:  3                        missing .:  0/2633

            tabulation:  Freq.  Value
                          1522  0
                           813  1
                           298  9

-------------
ajccNumeric variable corresponding to tnm_path_stage
-------------

                  type:  numeric (float)
label  :  AJCC_SumStage

                 range:  [10,99]                      units:  1
         unique values:  13                       missing .:  0/2633

 examples:               10    I
                         21    IIA
                         31    IIIA
                         99    dk

-------------
ajcccat1=AJCC stage 1, 1A, 1B, 1C; 2=stage 2,2A,2B; etc ; 9=dk
-------------

                  type:  numeric (float)

                 range:  [1,9]                        units:  1
         unique values:  5                        missing .:  0/2633

            tabulation:  Freq.  Value
                           859  1
                           712  2
                           218  3
                            44  4
                           800  9

-------------
agecatAge at dx: 1=<50; 2=50 to 64; 3=64+ years
-------------

                  type:  numeric (float)

                 range:  [1,3]                        units:  1
         unique values:  3                        missing .:  0/2633

            tabulation:  Freq.  Value
                           556  1
                           964  2
                          1113  3

-------------
incidwtWeighting by 1/(incidence*100,000)
-------------

                  type:  numeric (float)

                 range:  [.0902,1.0737]               units:  1.000e-09
         unique values:  26                       missing .:  0/2633

                  mean:   .598887
              std. dev:   .283396

           percentiles:        10%       25%       50%       75%       90%
                             .2067     .3603     .5999     .8049    1.0156

-------------
examined_nodesNumber of lymph nodes examined, from Registry
-------------

                  type:  numeric (byte)

                 range:  [0,99]                       units:  1
         unique values:  45                       missing .:  0/2633

                  mean:   9.48006
              std. dev:   16.5111

           percentiles:        10%       25%       50%       75%       90%
                                 0         1         5        12        19

-------------
positive_nodesNumber of lymph nodes positive for cancer, from Registry
-------------

                  type:  numeric (byte)

                 range:  [0,99]                       units:  1
         unique values:  33                       missing .:  0/2633

                  mean:    19.605
              std. dev:   37.8462

           percentiles:        10%       25%       50%       75%       90%
                                 0         0         0         6        98

-------------
nodecat0=stage N0; 1=N1 (>=one node pos for ca); 9=dk; from exam.. & pos..
-------------

                  type:  numeric (float)

                 range:  [0,9]                        units:  1
         unique values:  3                        missing .:  0/2633

            tabulation:  Freq.  Value
                          1323  0
                           823  1
                           487  9

-------------
nodexam0=no nodes examined for cancer cells; 1=at least one node examined ; 9=dk
-------------

                  type:  numeric (float)

                 range:  [0,9]                        units:  1
         unique values:  3                        missing .:  0/2633

            tabulation:  Freq.  Value
                           440  0
                          2149  1
                            44  9

-------------
nodebestAs nodecat, recoded to correspond to seer_stage as needed
-------------

                  type:  numeric (float)

                 range:  [0,9]                        units:  1
         unique values:  3                        missing .:  0/2633

            tabulation:  Freq.  Value
                          1314  0
                           863  1
                           456  9

-------------
stagen(unlabeled)
-------------

                  type:  numeric (float)

                 range:  [1,7]                        units:  1
         unique values:  5                        missing .:  69/2633

            tabulation:  Freq.  Value
                          1522  1
                            86  2
                           676  3
                           137  4
                           143  7
                            69  .

-------------
graden(unlabeled)
-------------

                  type:  numeric (float)

                 range:  [1,4]                        units:  1
         unique values:  4                        missing .:  227/2633

            tabulation:  Freq.  Value
                           468  1
                           916  2
                           941  3
                            81  4
                           227  .

-------------
ern(unlabeled)
-------------

                  type:  numeric (float)

                 range:  [0,1]                        units:  1
         unique values:  2                        missing .:  1418/2633

            tabulation:  Freq.  Value
                           366  0
                           849  1
                          1418  .

. codebook dodyr

-------------
dodyrYr of Death - numeric
-------------

                  type:  numeric (int)

                 range:  [2004,2004]                  units:  1
         unique values:  1                        missing .:  2629/2633

            tabulation:  Freq.  Value
                             4  2004
                          2629  .

. sum

    Variable |       Obs        Mean    Std. Dev.       Min        Max
-------------+--------------------------------------------------------
      caseid |         0
        ydid |         0
        dxyr |      2633        2004           0       2004       2004
   acosfinal |         0
          er |         0
-------------+--------------------------------------------------------
          pr |         0
    palmetto |      2633    .1264717    .3324434          0          1
        ydod |         0
       dodyr |         4        2004           0       2004       2004
         age |      2633     61.7087    14.08274         25        102
-------------+--------------------------------------------------------
        race |      2633    1.244968    .4301498          1          2
      county |      2632    24.43807    13.68173          1         46
        site |         0
         lat |         0
       morph |         0
-------------+--------------------------------------------------------
         beh |         0
         seq |         0
       grade |         0
  seer_stage |         0
tnm_path_s~e |         0
-------------+--------------------------------------------------------
  tumor_size |         0
   brcadth04 |         4          .5    .5773503          0          1
     vital04 |      2633    .9984808    .0389544          0          1
       ercat |      2633    5.447398     3.85129          1          9
       prcat |      2633    5.528675    3.791492          1          9
-------------+--------------------------------------------------------
      seqcat |         0
    gradecat |      2633      2.8139    2.032114          1          9
     seercat |      2633    1.714014    1.413629          1          9
     erprcat |      2633    60.00266    42.25015         11         99
    erprcat2 |      2633     5.63046    3.712985          1          9
-------------+--------------------------------------------------------
       vscat |      2633    .0022788    .0615971          0          2
      survyr |         4           0           0          0          0
     age5cat |      2633    59.74554    14.17942         25        100
    ER_Grade |         0
    age5cat2 |      2633    59.60691     13.8896         25         85
-------------+--------------------------------------------------------
 eapopagecat |      2633    71755.61    24720.28      28020     107370
 aapopagecat |      2633    25975.24    13278.78       9020      49840
        i_EA |      2633    .0000162    7.30e-06   9.31e-06   .0000357
        i_AA |      2633    .0000507    .0000271   .0000201   .0001109
   incidence |      2633    .0000236    .0000187   9.31e-06   .0001109
-------------+--------------------------------------------------------
  GradeERcat |      2633    33.30839    21.19607         10         99
       black |      2633    .2449677    .4301498          0          1
    lymphcat |      2633    1.327383    2.777993          0          9
        ajcc |      2633    41.75579    37.17091         10         99
     ajcccat |      2633    3.916825    3.419659          1          9
-------------+--------------------------------------------------------
      agecat |      2633    2.211546    .7676913          1          3
     incidwt |      2633    .5988874    .2833957      .0902     1.0737
examined_n~s |      2633    9.480061    16.51106          0         99
positive_n~s |      2633    19.60501    37.84617          0         99
     nodecat |      2633    1.977212    3.374803          0          9
-------------+--------------------------------------------------------
     nodexam |      2633     .966578    1.111739          0          9
    nodebest |      2633    1.886441    3.286535          0          9
      stagen |      2564    2.055772    1.569439          1          7
      graden |      2406    2.263924    .8067822          1          4
         ern |      1215    .6987654    .4589833          0          1

. sum ercat

    Variable |       Obs        Mean    Std. Dev.       Min        Max
-------------+--------------------------------------------------------
       ercat |      2633    5.447398     3.85129          1          9

. codebook ercat

-------------
ercat1=Pos; 2=Neg; 9=not done, dk, borderline(31), missing, no result
-------------

                  type:  numeric (byte)
label  :  posnegdk129

                 range:  [1,9]                        units:  1
         unique values:  3                        missing .:  0/2633

            tabulation:  Freq.   Numeric  Label
                           849         1  pos
                           366         2  neg
                          1418         9  dk

.
end of do-file

. log off
      name:  <unnamed>
       log:  Z:\public_html\teaching\statcomputing.2012\Lectures\Lecture12.StataIntro\stata1.smcl
  log type:  smcl
 paused on:  14 Feb 2012, 15:02:47
-------------


-------------
      name:  <unnamed>
       log:  Z:\public_html\teaching\statcomputing.2012\Lectures\Lecture12.StataIntro\stata1.smcl
  log type:  smcl
resumed on:  14 Feb 2012, 15:02:52

. log close
      name:  <unnamed>
       log:  Z:\public_html\teaching\statcomputing.2012\Lectures\Lecture12.StataIntro\stata1.smcl
  log type:  smcl
 closed on:  14 Feb 2012, 15:02:58
-------------