Announcement

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

  • Visualization for interaction (reri + marginsplot)

    I tested for interaction between two variables (housing instability + gender identity) in a log-binomial model with the outcome of hope. I first tested for multiplicative interaction (non-significant) then looked at additive interaction using the reri function (significant). Output from both is below.

    Click image for larger version

Name:	multiplicative.png
Views:	1
Size:	55.7 KB
ID:	1724963
    Click image for larger version

Name:	additive.png
Views:	1
Size:	69.1 KB
ID:	1724964


    I am wondering how I might best graph these. I tried the margins function (margins instability#SGD) followed by marginsplot and I believe that is a visualization of the model with multiplicative interaction (below), but I was unsure how to do the same for the additive model. Any suggestions would be appreciated!

    Click image for larger version

Name:	graph.png
Views:	1
Size:	59.3 KB
ID:	1724965
Working...
X