Announcement

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

  • estimates table after mixed command

    Hi,

    I've created a loop for simple mixed models, in the end I have 5 mixed models where just the depended variable changes. Using:

    estimates table mixed_1 mixed_2 mixed_3 mixed_4 mixed_5, b(%9.2f) stats(N aic) star(.05 .01 .001)

    creates a table where every single stored result is added among each other, so it's a long table. Is there a way to shrink/wrap... the table?

    And how can I integrate the mixed model parts "var(_cons)" and "var(Residual)" in the stats?

    Thank you
    -Nick

  • #2
    Hi Nick,

    Your question is not very clear, but it sounds to me like your output shows models stacked one on top of the other rather than side-by-side. Does something like the following do what you want?

    Code:
    clear
    sysuse auto
    regress mpg gear turn
     estimates store m1
    regress price gear turn
    estimates store m2
    estimates table m1 m2, stats(N F) star (.05 .01 .001)
    Devra Golbe
    Professor Emerita, Dept. of Economics
    Hunter College, CUNY

    Comment


    • #3
      You can try the compress option with estimates table.
      e.g. estimates table model 1 model 2, b(%9.2f) stats(N aic) star(.05 .01 .001) compress

      Comment

      Working...
      X