Announcement

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

  • storing results from 'estimates store' permanently

    I ran several regressions and stored the results using estimates store which I intend to use later on when generating coefplots. I would like to know if there is a way to store these results permanently in a way that I can retrieve them after I restart my computer and reopen Stata. This would be of great help because these regressions took a long time to be estimated and it would take me several hours to re-run them all over again.

    Is there a way I can save the results already stored with regsave or other command?

    Many thanks
    Paula

  • #2
    See the commands listed under Save and use results from disk in the output of
    Code:
    help esimtates




    Comment


    • #3
      Many thanks William. I am just not sure how to call estimates use to combine coefficients from different regressions later on in another Stata session.
      For instance, how could I use the estimates saved as D_later and F_later to generate this same coefplot below?

      Code:
      sysuse auto, clear
      
      regress price mpg trunk length turn if foreign==0
      estimates store D
      estimates save D_later, replace
      
      regress price mpg trunk length turn if foreign==1
      estimates store F
      estimates save F_later, replace
      
      coefplot D F, drop(_cons) xline(0)

      Comment


      • #4
        In a subsequent session of Stata
        Code:
        estimates use D_later
        estimates store D
        
        estimates use F_later
        estimates store F
        
        coefplot D F, drop(_cons) xline(0)

        Comment

        Working...
        X