Announcement

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

  • How can I compare marginal effects?

    Hello,

    I have a result table for marginal effects of a GLM regression. I need to compare two coefficients in this table but I don't know if there is a test to compare two marginal effects.

    Thank you!

  • #2
    -margins, pwcompare- is probably the simples, though if there are a large number of margins, the number of pairs gets very large and if you aren't really interesting all of them, the output can be burdensome to sort through. In that case, run the -margins- command adding the -post- option, and then use -lincom- or -test- just as you would use them with regression coefficients immediately after regression. (Note, however, that -margins, post- overwrites the original regression estimates they were calculated from, so if you will need to use those regression estimates for other calculations, be sure to -estimates store- them first.
    Last edited by Clyde Schechter; 23 Oct 2019, 08:39.

    Comment

    Working...
    X