Announcement

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

  • how can i replace a regresion statistic with the statistic of another regression?

    Hi, for exmaple i hav this regresion
    reg y x
    outreg2 using myfile

    But i want to report the F statistic from another regresion

    reg x z w
    test z w

    Thank you.

  • #2
    outreg2 is from SSC. You want

    Code:
    test z w
    local F= r(F)
    reg y x
    outreg2 using myfile, addstat("Wald statistic", `F')
    Last edited by Andrew Musau; 21 Nov 2019, 16:33.

    Comment

    Working...
    X