Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | fossati@pw.uzh.ch |
To | statalist@hsphsun2.harvard.edu |
Subject | st: Dear all, I am running a logit model with three dichotomous variables and other controls. I would like to plot the predictions of these three variables in one plot but I cannot figure out how to plot them so that they do not overlap in the graph. Is there a way to do this? xi:logit Dependent Jobless CurrentU IndirectU x1 x3 x5 i.x6 estimates store M1 margins , at(Jobless=(0 1) CurrentU==(0 1) IndirectU==(0 1) marginsplot , legend(subtitle("Predicted outcome and 95% confidence intervals")) title( Public job) recast(dot) graph save J1.gph Any help would be highly appreciated. Kind regards Flavia Fossati Plot predictions of multiple variables in one plot (logit model) |
Date | Fri, 7 Mar 2014 10:37:50 +0100 |
Dear all, I am running a logit model with three dichotomous variables and other controls. I would like to plot the predictions of these three variables in one plot but I cannot figure out how to plot them so that they do not overlap in the graph. Is there a way to do this? xi:logit Dependent Jobless CurrentU IndirectU x1 x3 x5 i.x6 estimates store M1 margins , at(Jobless=(0 1) CurrentU==(0 1) IndirectU==(0 1) marginsplot , legend(subtitle("Predicted outcome and 95% confidence intervals")) title( Public job) recast(dot) graph save J1.gph Any help would be highly appreciated.Kind regards Flavia * * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/faqs/resources/statalist-faq/ * http://www.ats.ucla.edu/stat/stata/