Announcement

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

  • Extracting values from bonferroni table post regression

    Hi there, I am trying to extract the values from a bonferroni table into a putdocx table (specifically: std. err. t P>|t| [95% conf. interval]), but I am unsure how to refer to the values/matrix that has the values stored. I would also be happy to export the entire table, rather than specific values, if that is possible. I would like the values to be %5.4f. I extracted the estimates from the regression by running -ereturn list- and making locals that display each value (calculating the p-value using -Ftail-). I have tried a similar approach with the bonferroni estimates, but I am unsure of the names they are stored as/what the matrix is named.

    My code for the regression and bonferroni correction is below:
    reg cont cat if event == 1
    pwcompare cat, effects sort mcompare(bonferroni)
    I would be really grateful for some help!

    Many thanks,
    Liz



  • #2
    Apologies, I've figured it out. The pwcompare matrix is named r(table_vs).

    Thanks!

    Comment

    Working...
    X