25.02.2013 Views

Getting Started in Logit and Ordered Logit Regression - Data and ...

Getting Started in Logit and Ordered Logit Regression - Data and ...

Getting Started in Logit and Ordered Logit Regression - Data and ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

. prvalue<br />

ologit: Predictions for y_ord<strong>in</strong>al<br />

Confidence <strong>in</strong>tervals by delta method<br />

Predicted probabilities: us<strong>in</strong>g prvalue<br />

After run<strong>in</strong>g ologit (or logit) you can use the comm<strong>and</strong> prvalue to estimate the probabilities for<br />

each event.<br />

Prvalue is a user-written comm<strong>and</strong>, if you do not have it type f<strong>in</strong>dit spost , select<br />

spost9_ado from http://www.<strong>in</strong>diana.edu/~jslsoc/stata <strong>and</strong> click on “(click<br />

here to <strong>in</strong>stall)”<br />

If you type prvalue without any option you will get the probabilities for each category when all<br />

<strong>in</strong>dependent values are set to their mean values.<br />

95% Conf. Interval<br />

Pr(y=Disagree|x): 0.3627 [ 0.3159, 0.4094]<br />

Pr(y=Neutral|x): 0.2643 [ 0.2197, 0.3090]<br />

Pr(y=Agree|x): 0.3730 [ 0.3262, 0.4198]<br />

x1 x2 x3 x4 x5 x6 x7<br />

x= 2.0020408 -8.914e-10 -1.620e-10 -1.212e-10 2.539e-09 -9.744e-10 -6.040e-10<br />

You can also estimate probabilities for a particular profile (type help prvalue for more details).<br />

. prvalue , x(x1=1 x2=3 x3=0 x4=-1 x5=2 x6=2 x6=9 x7=4)<br />

ologit: Predictions for y_ord<strong>in</strong>al<br />

Confidence <strong>in</strong>tervals by delta method<br />

95% Conf. Interval<br />

Pr(y=Disagree|x): 0.0029 [-0.0033, 0.0090]<br />

Pr(y=Neutral|x): 0.0055 [-0.0061, 0.0172]<br />

Pr(y=Agree|x): 0.9916 [ 0.9738, 1.0094]<br />

x1 x2 x3 x4 x5 x6 x7<br />

x= 1 3 0 -1 2 9 4<br />

For more <strong>in</strong>fo go to: http://www.ats.ucla.edu/stat/stata/dae/probit.htm<br />

PU/DSS/OTR

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!