Announcement

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

  • Possible to save a model?

    Is it possible to save a regression model in STATA? For example is it possible to save this model:
    'regress price mpg displacement' to give it a name such as MLR1 for easy reference and
    'regress price mpg make' to give the model the name MLR2?

    Thanks



  • #2
    Take a look at the help file for -estimates store-, and get back to list if that's not what you're looking for.
    Code:
    help estimates store

    Comment


    • #3
      Thanks for your quick reply. I tried estimates but it looks like it saves the estimates and not the model. I am looking to save the model name such as MLR1 and MLR2 so I can compare both in a different function that can receive both model names and compare the information / estimates for each model.. .

      Comment


      • #4
        it is not clear to me what the difference is between the estimates and the model; nor is it clear to me what you want to compare and how; however, a guess is to look at
        Code:
        h lrtest
        and to particularly look at the example in the help file

        Comment


        • #5
          Thanks for both your responses that helped me realize my mistake.

          Comment

          Working...
          X