Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | Richard Williams <richardwilliams.ndu@gmail.com> |
To | statalist@hsphsun2.harvard.edu, statalist@hsphsun2.harvard.edu |
Subject | Re: 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, 07 Mar 2014 07:46:58 -0500 |
Also, you shouldn't put your whole message in the subject field! At 04:37 AM 3/7/2014, fossati@pw.uzh.ch wrote:
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/
------------------------------------------- Richard Williams, Notre Dame Dept of Sociology OFFICE: (574)631-6668, (574)631-6463 HOME: (574)289-5227 EMAIL: Richard.A.Williams.5@ND.Edu WWW: http://www.nd.edu/~rwilliam * * 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/