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
Ordered logistic regression to identify the predictors of Cataract progressionsI have cross-sectional data for the Diabetes group. I am trying to test a model the predicts a speci…
Calculate the age when the grant was received from the current age and the year when the grant was receivedDear All, Can you help me with the following. I have collected the age (d4) for all the respondent…
create table from var valuesHello, I am using Stata 17 and would like to create a table showing the var values for each observa…
Reporting summary statistics for time variable (e.g., number of minutes)I'd like to report the summary statistics for a time variable. I ran an experiment and I have the n…
How do I detect if I have problem with my degree of freedom due to too many categorical variables in my regression model?I am aware that having too many categorical variables in the regression model might affect degree of…
Subscribe to:
Post Comments (Atom)
0 Response to Having Two Margin Plots on One Graph
Post a Comment