Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: estout after biprobit


From   Friedrich Huebler <[email protected]>
To   [email protected]
Subject   st: estout after biprobit
Date   Fri, 2 Sep 2005 07:15:19 -0700 (PDT)

I would like to create a table with marginal effects after -biprobit-
but I do not understand how this can be done with -estout-. In the
example below I only show some of the Stata output, edited to keep
the lines in this message short.

. use http://www.stata-press.com/data/r8/school
. biprobit private vote years logptax loginc
. mfx, predict(pmarg1)

Marginal effects after biprobit
      y  = Pr(private=1) (predict, pmarg1)
         =  .10111611
----------------------------------
variable |      dy/dx    Std. Err.
---------+------------------------
   years |  -.0021034      .00451 
 logptax |  -.0188772      .11795 
  loginc |   .0665599      .09337 
----------------------------------

. estimates store mfx1
. mfx, predict(pmarg2)

Marginal effects after biprobit
      y  = Pr(vote=1) (predict, pmarg2)
         =  .62980916
----------------------------------
variable |      dy/dx    Std. Err.
---------+------------------------
   years |  -.0063654      .00557 
 logptax |  -.4866575      .21657 
  loginc |    .376985      .16657 
----------------------------------

. estimates store mfx2
. estout mfx1 mfx2, cells(b se(par)) margin drop(_cons) style(fixed)
unstack

               mfx1                    mfx2    
            private        vote     private        vote
               b/se        b/se        b/se        b/se
years     -.0021034   -.0021034   -.0063654   -.0063654
         (.0045059)  (.0045059)  (.0055705)  (.0055705)
logptax   -.0188772   -.0188772   -.4866575   -.4866575
         (.1179489)  (.1179489)  (.2165667)  (.2165667)
loginc     .0665599    .0665599     .376985     .376985
         (.0933664)  (.0933664)  (.1665745)  (.1665745)

Instead of the table with four columns created by -estout- I would
like to create the table below but I don't know how.

            private        vote
               b/se        b/se
years     -.0021034   -.0063654
         (.0045059)  (.0055705)
logptax   -.0188772   -.4866575
         (.1179489)  (.2165667)
loginc     .0665599     .376985
         (.0933664)  (.1665745)

Thank you for your help,

Friedrich Huebler


		
__________________________________ 
Yahoo! Mail for Mobile 
Take Yahoo! Mail with you! Check email on your mobile phone. 
http://mobile.yahoo.com/learn/mail 
*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index