Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • the last code doesnot include the first estimated column

    Code:
    xtprobit holding_loan decile gini_k incdegini eta agesquared eyeah elementary middle_school  university ncomp married self_employed smallcity disaving debt_growthrate i.anno i.area3 , re  vce(robust)
    Code:
    margins, dydx(_all) atmeans
    
    Code:
    
    
    est store p4
    Code:
    estimate table lpm pooled p1 p2 p3 p4 , b(%9.4f) star(.01 .05 .10) stats(N)
    Code:
    outreg2 using myreg.doc, append ctitle(panel probit RE)addtext (Macro_region FE, Yes, Region FE, No, three geographical area FE, Yes, Year FE, Yes) label
    So, I have a problem here if I execute the code before outreg2 I get a table estimate that is comprised of lpm estimation column in the stata ouput but if I execute the last code It does not include lpm estimation column what might I have messed up?

  • #2
    outreg2 is from SSC (FAQ Advice #12). I cannot follow this, but note that you need to post the margins results if you want to export them.

    Code:
    margins, dydx(_all) atmeans post
    est store p4
    Otherwise, what you are storing are the previous estimation results. Then, if you are outputting several models, you need

    Code:
    outreg2 [lpm pooled p1 p2 p3 p4]

    Comment

    Working...
    X