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: simple plot of fitted probabilities


From   Lloyd Dumont <lloyddumont@yahoo.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: simple plot of fitted probabilities
Date   Tue, 4 Jan 2011 11:11:36 -0800 (PST)

Hello, everyone.  I am trying to do something fairly simple that I have always made way more complicated than it needed to be (e.g., creating entirely new datasets).  I suspect that it is even easier in Stata 11 than it has been in the past.

Say you estimate a very simple probit model…

Probit Y X1 X2 X3 X4

The ultimate goal is a plot of fitted values (probabilities) in which predicted probability is shown as a function of X1 and all the other independent variables are held at their means.

Let’s first say X1 is just a typical continuous variable, say taking on ANY value [0,100] ?

Would it make a difference if X1 were a categorical rather than continuous, say taking on only 1,2,3, or 4?


Thank you.  Lloyd Dumont



      

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


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