📄 svy_logistic_postestimation.hlp
字号:
{smcl}
{* 29mar2005}{...}
{cmd:help svy: logistic postestimation}{...}
{right:dialogs: {bf:{dialog svy_logistic_p:predict}}{space 6}}
{right:also see: {helpb "svy: logistic"}}
{hline}
{title:Title}
{p2colset 5 43 45 2}{...}
{synopt :{hi:[SVY] svy: logistic postestimation} {hline 2}}Postestimation
tools for {cmd:svy: logistic}{p_end}
{p2colreset}{...}
{title:Description}
{pstd}
The following postestimation commands are available for {cmd:svy: logistic}:
INCLUDE help svy_postestimation
{title:Syntax for predict}
{p 8 16 2}
{cmd:predict} {dtype} {newvar}
{ifin}
[{cmd:,} {it:statistic} {cmdab:nooff:set} ]
{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{p_end}
{synopt :{opt stdp}}standard error of linear prediction{p_end}
{synopt :{opt sc:ore}}first derivative of the log pseudolikelihood with
respect to the linear prediction{p_end}
{synoptline}
{p2colreset}{...}
INCLUDE help esample
{title:Options for predict}
{dlgtab:Main}
{phang}
{opt pr}, the default, calculates the probability of a positive outcome.
{phang}
{opt xb} calculates the linear prediction.
{phang}
{opt stdp} calculates the standard error of the linear prediction.
{phang}
{opt score} calculates the equation-level score; the derivative of the log
likelihood with respect to the linear prediction.
{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.
{title:Examples}
{phang}
{cmd:. webuse nhanes2d}
{p_end}
{phang}
{cmd:. svydes}
{p_end}
{phang}
{cmd:. matrix h2 = (1, -1 \ 1, 1)}
{p_end}
{phang}
{cmd:. matrix h32 = h2 # h2 # h2 # h2 # h2}
{p_end}
{phang}
{cmd:. svy brr, hadamard(h32) nodots:}
{cmd:logistic highbp height weight age age2 female black}
{p_end}
{phang}
{cmd:. predict p_highbp, pr}
{p_end}
{title:Also see}
{psee}
Manual: {bf:[SVY] svy: logistic postestimation}
{psee}
Online: {helpb "svy: logistic"};{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 + -