-------------
      name:  <unnamed>
       log:  C:\Documents and Settings\buck\My Documents\Econ8109\statafiles\mroz.smcl
  log type:  smcl
 opened on:  28 Sep 2011, 19:12:19

. heckman wage exper expersq educ city, twostep select(inlf = age agesq faminc educ kidz) rhosigma

Heckman selection model -- two-step estimates   Number of obs      =       753
(regression model with sample selection)        Censored obs       =       325
                                                Uncensored obs     =       428

                                                Wald chi2(4)       =     23.33
                                                Prob > chi2        =    0.0001

-------------+----------------------------------------------------------------
             |      Coef.    Std. Err.       z    P>|z|      [95% Con f. Interval]
-------------+----------------------------------------------------------------
wage         |
       exper |     .021061    .0624646      0.34    0.736     -.1013674     .1434893
     expersq |    .0001371    .0018782      0.07    0.942     -.0035441     .0038183
        educ |    .4170174    .1002497      4.16    0.000      .2205316     .6135032
        city |    .4438379    .3158984      1.41    0.160     -.1753116     1.062987
       _cons |   -.9712003    2.059351     -0.47    0.637     -5.007453     3.065053
-------------+----------------------------------------------------------------
inlf         |
         age |    .1853951    .0659667      2.81    0.005      .0561028     .3146874
       agesq |   -.0024259    .0007735     -3.14    0.002      -.003942    -.0009098
      faminc |    4.58e-06    4.21e-06      1.09    0.276     -3.66e-06     .0000128
        educ |    .0981823    .0229841      4.27    0.000      .0531342     .1432303
        kidz |   -.4489867    .1309115     -3.43    0.001     -.7055686    -.1924049
       _cons |   -4.156807    1.402086     -2.96    0.003     -6.904845    -1.408769
-------------+----------------------------------------------------------------
mills        |
      lambda |   -1.097619    1.265986     -0.87    0.386     -3.578906     1.383667
-------------+----------------------------------------------------------------
         rho |   -0.34300
       sigma |  3.2000643
      lambda | -1.0976194   1.265986
-------------+----------------------------------------------------------------

. view "C:\Documents and Settings\buck\My Documents\Econ8109\statafiles\mroz.smcl"

. heckman wage exper expersq educ city, select(inlf = age agesq faminc educ kidz)

Iteration 0:   log likelihood = -1582.8502
Iteration 1:   log likelihood = -1581.3491
Iteration 2:   log likelihood = -1581.2585
Iteration 3:   log likelihood = -1581.2577
Iteration 4:   log likelihood = -1581.2577

Heckman selection model                         Number of obs      =       753
(regression model with sample selection)        Censored obs       =       325
                                                Uncensored obs     =       428

                                                Wald chi2(4)       =     45.91
Log likelihood = -1581.258                      Prob > chi2        =    0.0000

-------------+----------------------------------------------------------------
             |      Coef.    Std. Err.       z    P>|z|      [95% Con f. Interval]
-------------+----------------------------------------------------------------
wage         |
       exper |    .0278683    .0615514      0.45    0.651     -.0927703     .1485069
     expersq |   -.0001039    .0018388     -0.06    0.955     -.0037078     .0035001
        educ |    .4570051    .0732299      6.24    0.000      .3134771     .6005331
        city |     .446529    .3159209      1.41    0.158     -.1726645     1.065723
       _cons |   -1.963024    1.198221     -1.64    0.101     -4.311494     .3854456
-------------+----------------------------------------------------------------
inlf         |
         age |    .1840154    .0658673      2.79    0.005      .0549179      .313113
       agesq |   -.0024087    .0007723     -3.12    0.002     -.0039224     -.000895
      faminc |    5.68e-06    4.42e-06      1.29    0.198     -2.98e-06     .0000143
        educ |    .0952808    .0231534      4.12    0.000      .0499009     .1406607
        kidz |   -.4506149    .1301854     -3.46    0.001     -.7057736    -.1954561
       _cons |   -4.119692    1.400516     -2.94    0.003     -6.864654     -1.37473
-------------+----------------------------------------------------------------
      /athrho |  -.1327327    .1680534     -0.79    0.430     -.4621113      .196646
     /lnsigma |     1.1341    .0366213     30.97    0.000      1.062324     1.205877
-------------+----------------------------------------------------------------
          rho |  -.1319586    .1651271                   -.4318034     .1941499
        sigma |   3.108376    .1138328                    2.893087     3.339686
       lambda |   -.410177    .5188724                   -1.427148     .6067942
-------------+----------------------------------------------------------------
LR test of indep. eqns. (rho = 0):   chi2(1) =     0.41   Prob > chi2 = 0.5230
------------------------------------------------------------------------------

. view "C:\Documents and Settings\buck\My Documents\Econ8109\statafiles\mroz.smcl"

.