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
Error message: no room to add more variablesHi all, I am trying to combine three DHS surveys by appending them all using following command. us…
Merge 7 datasetsHello. I have seven different datasets (one per year from 2007 to 2013) with all the variable being…
Is there a model for Spatial Panel Regression with a binary/dummy dependent variable?Hello, this is my first topic in Statalist. However, I have been using it as reader throughout the l…
Adding a new empty row(year) to an existing datasetHi stata users, I have a dataset from 2008-2018, but want to add a new row 2019. I tried some codes …
Expand rolling sequencies of observation within ID ifHi, I am using a panel dataset with different countries (example below). For each date there are tw…
Subscribe to:
Post Comments (Atom)
0 Response to Having Two Margin Plots on One Graph
Post a Comment