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
I need help interpreting my regressionI don't understand how to interpret the coefficients for the dummy variables dse, dsm, de, etc. Thes…
How to apply partially overlapping samples t-testHi all, Assuming I have a sample that includes 10 stocks (ID1 to ID 10) and two types of traders (F…
Imputing variables for pairwise matrixDear Stata list, I'm having trouble registering my imputed variables, for a pairwise analysis; my u…
How do you create a new variable that is based on data from a variable?Hello everyone, As the question already suggests, I have a panel dataset that has country-level mac…
Twoway barplot with more than one y variable against the x variableHi, hope someone can help me out here... I want to show the effects of framing (neutral vs. negativ…
Subscribe to:
Post Comments (Atom)
0 Response to Having Two Margin Plots on One Graph
Post a Comment