Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: Plot predictions of multiple variables in one plot (logit model)


From   [email protected]
To   [email protected]
Subject   st: Plot predictions of multiple variables in one plot (logit model)
Date   Fri, 7 Mar 2014 10:53:06 +0100

Sorry for the  mistake in the previous mail. Of course the message should not have been displayed in the subject line.
my apologies,
flaiva

***


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/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index