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
Opposite signs of average marginal effects after probitHello everyone A probit regression generated the following output Probit regression Number of obs…
Trouble replacing values with foreach loopHi I'm trying to discard entry errors from a question response (q_text in example) with the unique i…
How to fix this loop to append files?I'm working with a group of datasets that involve different reports over time. Let's say there are 4…
What is wrong with the code foreach here?I have the code foreach, I do not know while it work in one case and does not work in another case. …
Creating a boxplot that connects across timeHello, I am not sure if what I am looking to do is at all possible so I am going to post my idea bu…
Subscribe to:
Post Comments (Atom)
0 Response to Having Two Margin Plots on One Graph
Post a Comment