Announcement

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

  • Saving output after using estat command?

    Hello,

    I am trying to save output from postestimation results using estat and STATA does not seem to save the results. Using eststo only gives me the initial regression results (I am using xthdidregress). Any idea how I can save results afterwards?

    Here is what I am doing:
    xthdidregress ra (logtotspac prop_poor prop_scst prop_less6 prop_ill prop_lab prop_regwork land_to_labor gini prop_irrigated diff_wage_high diff_wage_low rabishock kharifshock rabi_lessmean kharif_lessmean) (treatedac), group(idnew)
    eststo

    estat atetplot, sci

    eststo estat aggregation, cohort graph

    eststo estat aggregation, time graph

    eststo estat aggregation, dynamic graph

    I would like to save the ouput for the last three operations. STATA generates an output, but using eststo each time does not save the latest estimates (only the ones from xthdidregress).

    Thanks for letting me know.

  • #2
    help estadd

    Comment


    • #3
      generally

      Code:
      use auto, clear
      eststo e1:  reg price mpg weight foreign
      estat hettest
      estadd local h1 = r(p)
      test _b[mpg]=_b[weight]
      estadd local p1 = r(p)
      esttab e1 , stats(r2 N h1 p1)

      Comment


      • #4
        Thank you George, and apologies for the late reply!

        Comment

        Working...
        X