ologit估计模型之后用predict命令加上pr选项算出来的就是概率。
Syntax for predict
predict [type] {stub* | newvar | newvarlist} [if] [in] [, statistic outcome(outcome) nooffset]
predict [type] {stub* | newvarlist} [if] [in] , scores
statistic Description
------------------------------------------------------------------------------------------------------------------
Main
pr predicted probabilities; the default
xb linear prediction
stdp standard error of the linear prediction
------------------------------------------------------------------------------------------------------------------
If you do not specify outcome(), pr (with one new variable specified) assumes outcome(#1).
You specify one or k new variables with pr, where k is the number of outcomes.
You specify one new variable with xb and stdp.
These statistics are available both in and out of sample; type predict ... if e(sample) ... if wanted only for the
estimation sample.