📄 svy_oprobit_postestimation.hlp
字号:
{smcl}
{* 29mar2005}{...}
{cmd:help svy: oprobit postestimation}{...}
{right:dialogs: {bf:{dialog svy_oprobit_p:predict}}{space 5}}
{right:also see: {helpb "svy: oprobit"}}
{hline}
{title:Title}
{p2colset 5 42 44 2}{...}
{p2col :{hi:[SVY] svy: oprobit postestimation} {hline 2}}Postestimation
tools for {cmd:svy: oprobit}{p_end}
{p2colreset}{...}
{title:Description}
{pstd}
The following postestimation commands are available for {cmd:svy: oprobit}:
INCLUDE help svy_postestimation
{title:Syntax for predict}
{p 8 16 2}
{cmd:predict} {dtype} {newvar:s}
{ifin} [{cmd:,} {it:statistic}
{opt o:utcome(outcome)} {cmdab:nooff:set} ]
{p 8 16 2}
{cmd:predict} {dtype} {c -(}
{it:stub}{cmd:*} |
{newvar:1} {it:...} {newvar:_k}
{c )-}
{ifin} {cmd:,} {opt sc:ores}
{synoptset 13 tabbed}{...}
{synopthdr:statistic}
{synoptline}
{syntab: Main}
{synopt :{opt p:r}}probability of a positive outcome; the default{p_end}
{synopt :{opt xb}}linear prediction of outcome variable{p_end}
{synopt :{opt stdp}}standard error of the linear prediction{p_end}
{synoptline}
{p2colreset}{...}
{p 4 6 2}
Note that you specify one new variable with {opt xb} and {opt stdp} and
specify either one or {it:k} new variables with {opt pr}.
{p_end}
INCLUDE help esample
{title:Options for predict}
{dlgtab:Main}
{phang}
{opt pr}, the default, calculates the probability of each of the
alternatives in the model or the probability of the outcome
specified in {opt outcome()}. If you specify {opt outcome()}, you only
need to specify one new variable; otherwise, you must specify {it:k} new
variables, one for each alternative in the model.
{phang}
{opt xb} calculates the linear prediction. You specify one new
variable; for example, "{hi:predict} {it:myxb}{hi:, xb}". The linear
prediction is defined ignoring the contribution of the estimated cut points.
{phang}
{opt stdp} calculates the standard error of the linear prediction. You
specify one new variable; for example,
"{hi:predict} {it:se_of_myxb}{hi:, stdp}".
{phang}
{opt outcome(outcome)} specifies the outcome for which the statistic is to be
calculated. {opt equation()} is a synonym for {opt outcome()}: it does not
matter which you use, and the standard rules for specifying an
{opt equation()} apply.
{phang}
{opt nooffset} is relevant if you specified {opt offset()} when you
fitted the model.
It modifies the calculations made by {cmd:predict} so that
they ignore the offset variable; the linear prediction is treated as xb
rather than xb + offset.
{phang}
{opt scores} calculates equation-level score variables. The number of score
variables created will be one less than the number of outcomes in the model.
{pmore}
The first new variable will contain the derivative of the log likelihood with
respect to the regression equation.
{pmore}
The other new variables will contain the derivative of the log likelihood with
respect to the cutpoints.
{title:Examples}
{phang}
{cmd:. webuse nhanes2f}
{p_end}
{phang}
{cmd:. svyset}
{p_end}
{phang}
{cmd:. svy: oprobit health female black age age2}
{p_end}
{phang}
{cmd:. predict pr_avg, outcome(3)}
{p_end}
{phang}
{cmd:. describe pr_avg}
{p_end}
{title:Also see}
{psee}
Manual: {bf:[SVY] svy: oprobit postestimation}
{psee}
Online: {helpb "svy: oprobit"};{break}
{helpb svy estat:estat},
{helpb estimates},
{helpb lincom},
{helpb mfx},
{helpb nlcom},
{helpb predictnl},
{helpb suest},
{helpb test},
{helpb testnl}
{p_end}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -