Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: probpred updated for version8?

From   "Scott Merryman" <>
To   <>
Subject   st: RE: probpred updated for version8?
Date   Sun, 27 Feb 2005 18:58:01 -0600


You can estimate a probit model using -oprobit- and then use -oprobpr- or
you could clone -probpred- as -probpred2- and alter the graphing commands.
For example, if you replace lines 157-160 of original -probpred- with

twoway line pred `xvar',  clc(blue) || ///
line upper `xvar', clc(blue) clw(thin) clp(dash) || /// 
line lower `xvar', clp(dash) clw(thin) clc(blue) title("`t1title'") /// 
legend(order( 1 "Probability of positive outcome" 2 "`lvl'% CI"))

it will now produce Stata 8 graphs.  Of course, this isn't completely
satisfying since all the graph options are hard coded.

Hope this helps,

> -----Original Message-----
> From: [mailto:owner-
>] On Behalf Of Alejandro Lopez-Feldman
> Sent: Sunday, February 27, 2005 3:45 PM
> To:
> Subject: st: probpred updated for version8?
> Hi Statalisters,
> Do any of you know of an update to the ado file probpred to display
> predicted probabilities from probit?  The current version is very useful
> but it will be great to have a version that uses all the graphing power of
> Stata 8.2.  I know that oprobpr has been updated but I don't know about
> probpred.
> Thanks,
> Alejandro

*   For searches and help try:

© Copyright 1996–2015 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index