Hi everyone. I am struggling with a presentation issue. I have run a probit regression and I am collecting margins and displaying it on a graph. I have two variables that are categorial that both have the same categories, making the x-axis the same. I want to have both of them plotted on the same graph, and I have tried using 'combomarginsplot' but this has not helped and does not show two lines. It is confusing what it is actually doing and I would appreciate any help on this matter.
My commands are:
margins life_satisfaction, atmeans saving(file1)
margins income_satisfaction, atmeans saving(file2)
combomarginsplot file1 file2
The result shows:
Array
Related Posts with Having Two Margin Plots on One Graph
Multiple Response and Chi-SquaresHello, I am following up on my previous post on multiple response variables (available here: ) with…
teffects and covariates for matching.Hi. I am trying to use the teffects to implement matching using Nearest Neighbor Matching. The stata…
Predict using multilevel versus logitHello! I'd like to know why when I use multilevel models the estimates in of sample are differents …
variable labels sex age response freq 0 0 0 26 0 0 1 12 0 0 2 7 0 1 0 9 0 1 1 21 0 1 2 15…
regression on continuous outcome variable paired match case control studyHi all, I am having a matched pair dataset with seropositive as cases and seronegative as controls. …
Subscribe to:
Post Comments (Atom)
0 Response to Having Two Margin Plots on One Graph
Post a Comment