Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: oaxaca2 command


From   Maria Cecilia Calderon <cmaria@sas.upenn.edu>
To   statalist@hsphsun2.harvard.edu
Subject   st: oaxaca2 command
Date   Mon, 20 Nov 2006 22:47:59 -0500

Dear Ben and all,
                     I am trying to run an oaxaca decomposition using a Tobit
model for both groups. I obtain the model estimates, however, an error message
appears before the decomposition (variable _se not found). Below is my output.
Do you think you can help me?
Thanks a lot!
Cecilia


oaxaca2 lasset_s sratio cpiyear edumai edupai tierrapas_ss comun_d2 comun_d3
comun_d4, by(sexo) noisily cmd(tobit) cmdopts(ll)

Tobit estimates                                   Number of obs   =        519
                                                   LR chi2(8)      =      36.16
                                                   Prob > chi2     =     0.0000
Log likelihood =  -1211.108                       Pseudo R2       =     0.0147

------------------------------------------------------------------------------
     lasset_s |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
       sratio |   2.536813   1.759915     1.44   0.150    -.9207472    5.994373
      cpiyear |   .0964376    .051712     1.86   0.063    -.0051566    .1980318
       edumai |   .3448833    .127946     2.70   0.007     .0935184    .5962481
       edupai |    .170847   .1225167     1.39   0.164    -.0698514    .4115454
tierrapas_ss |   1.036366   .5241712     1.98   0.049     .0065703    2.066162
     comun_d2 |  -1.963339   .6999568    -2.80   0.005    -3.338486   -.5881918
     comun_d3 |  -.2802037   .7713011    -0.36   0.717    -1.795515    1.235108
     comun_d4 |  -1.034608   .7216478    -1.43   0.152     -2.45237    .3831538
        _cons |  -191.6889   102.3985    -1.87   0.062    -392.8627    9.484865
-------------+----------------------------------------------------------------
          _se |   5.500806   .2377877           (Ancillary parameter)
------------------------------------------------------------------------------

   Obs. summary:        186  left-censored observations at lasset_s<=0
                        333     uncensored observations

Tobit estimates                                   Number of obs   =        520
                                                   LR chi2(8)      =      29.10
                                                   Prob > chi2     =     0.0003
Log likelihood = -1057.5857                       Pseudo R2       =     0.0136

------------------------------------------------------------------------------
     lasset_s |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
       sratio |   1.542399    .565598     2.73   0.007     .4312204    2.653577
      cpiyear |  -.0114687   .0163822    -0.70   0.484    -.0436534     .020716
       edumai |   .0575413    .040962     1.40   0.161     -.022933    .1380156
       edupai |   .0320005   .0388332     0.82   0.410    -.0442916    .1082926
tierrapas_ss |   .5151075   .1688958     3.05   0.002     .1832935    .8469215
     comun_d2 |    -.51754   .2244868    -2.31   0.022    -.9585685   -.0765114
     comun_d3 |  -.3313936   .2551452    -1.30   0.195    -.8326538    .1698667
     comun_d4 |   -.233653   .2319497    -1.01   0.314    -.6893433    .2220372
        _cons |   29.67344   32.46123     0.91   0.361    -34.10014    93.44703
-------------+----------------------------------------------------------------
          _se |   1.849414   .0583979           (Ancillary parameter)
------------------------------------------------------------------------------

   Obs. summary:         10  left-censored observations at lasset_s<=0
                        510     uncensored observations

Group 1: sexo = 0                                Number of obs 1   =       519
Group 2: sexo = 1                                Number of obs 2   =       520


variable _se not found






*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index