Announcement

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

  • Estimates store lost after exiting Stata

    Dear Stata friends,

    I have several regression estimates stored with the command "estimates store xx". I have saved several times the dta file and the do-file. Unfortunately due to a windows update, my computer closed stata and did the restart. When I open Stata I still see in the variables list all my models (e.g. _est_model4x) with the label (esample() from estimates store. My question is now: Do I have by any chance the possibility to restore the estimates? Stata does not find the estimates but I still see them in the variables list as mentioned before.

    If I cannot restore them I lost more than 3 weeks of calculation time.

    Thank you very much.

    Best regards,
    Michael

  • #2
    Bad news, I am afraid. From [R] estimates store

    estimates store stores results in memory. When you exit Stata, those stored results vanish. If you wish to make a permanent copy of your estimation results, see [R] estimates save.
    Do you have log-files by any chance?

    Comment


    • #3
      Out of curiosity: Which kind of estimation takes 3 weeks to complete?

      Comment


      • #4
        Thank you very much. I checked the log. There is nothing I can use..

        3 weeks include more than one calculation. I conduct several regression loops. I have a multi-level model (Stata command: meqrlogit).

        Comment


        • #5
          You would need to use estimates save instead of estimates store for that purpose.
          https://www.kripfganz.de/stata/

          Comment


          • #6
            As Sebastian says, you can use -est save- rather than -est store- and -est use- rather than -est restore-. You may want to add -trace- to the list of maximization options that you are currently using. That way, you'll be able to see from your log file what your latest point estimates are, even when your estimation run gets terminated prematurely (e.g., due to Windows auto restart), and you can set -init()- to pick up from where you have left off. Of course there are several other benefits of monitoring how your estimates change from one iteration to another.

            Comment

            Working...
            X