Dear statalist community,
I'm trying to create a graph but I don't really know how to start and which stata command to use in my situation.
My dependent variable is risk preferences on a scale from 0-10. One of my explanatory variables is marriage.
In my regression I want to see if an event like marriage has an influence on risk preferences.
Thus, the variable marriage takes value 1 if an individual is maried and 0 is it isn't.
However, before doing that I want to have a graphical analysis as well (can also include indirect effects).
I've tried to draw what the graphic should kind of look like in power point which I'll include here.

I don't know if what I imagine is possible but what I want to look at is the average persons risk preference when the person is married, when the average person is non-married and I also want to somehow see the change in risk preferences of a person that turns from being non-married to married. I thought that the x-axis could then either be time as I'm using panel data or the age of an average person in my sample?
If what I imagine here is not possible, is there any other way to kind of show what I want to show here graphically ?
Thank you very much in advance for any help that I get here.
Best
Lisa
I'm trying to create a graph but I don't really know how to start and which stata command to use in my situation.
My dependent variable is risk preferences on a scale from 0-10. One of my explanatory variables is marriage.
In my regression I want to see if an event like marriage has an influence on risk preferences.
Thus, the variable marriage takes value 1 if an individual is maried and 0 is it isn't.
However, before doing that I want to have a graphical analysis as well (can also include indirect effects).
I've tried to draw what the graphic should kind of look like in power point which I'll include here.
I don't know if what I imagine is possible but what I want to look at is the average persons risk preference when the person is married, when the average person is non-married and I also want to somehow see the change in risk preferences of a person that turns from being non-married to married. I thought that the x-axis could then either be time as I'm using panel data or the age of an average person in my sample?
If what I imagine here is not possible, is there any other way to kind of show what I want to show here graphically ?
Thank you very much in advance for any help that I get here.
Best
Lisa
Comment