Wednesday, November 27, 2019

Graphing three-way interaction

Hi Statalist,

In one of my models I include a three way interaction between two dichotomous variables and one categorical. I am trying to graph the interaction in a way that is easily readable. This is the code so far, however, the graph that I construct is a bit messy. I was wondering if anyone can suggest a more intuitive way to graph this interaction?

Code:
margins currwork#year#husjob2
mplotoffset, recast(scatter) offset(0.1) title(employment status x survey year x occupation)
I have attached an image of the graph produced.

No comments:

Post a Comment