📄 svy_heckprob_postestimation.hlp
字号:
{smcl}
{* 29mar2005}{...}
{cmd:help svy: heckprob postestimation}{...}
{right:dialogs: {bf:{dialog svy_heckprob_p:predict}}{space 6}}
{right:also see: {helpb "svy: heckprob"}}
{hline}
{title:Title}
{p2colset 5 43 45 2}{...}
{p2col :{hi:[SVY] svy: heckprob postestimation} {hline 2}}Postestimation
tools for {cmd:svy: heckprob}{p_end}
{p2colreset}{...}
{title:Syntax}
{pstd}
The following postestimation commands are available for {cmd:svy: heckprob}:
INCLUDE help svy_postestimation
{title:Syntax for predict}
{p 8 16 2}
{cmd:predict} {dtype} {newvar}
{ifin} [{cmd:,} {it:statistic} {opt nooff:set}]
{p 8 16 2}
{cmd:predict} {dtype} {c -(}
{it:stub}{cmd:*} |
{newvar:_reg} {newvar:_sel} {newvar:_athrho}
{c )-}
{ifin} {cmd:,} {opt sc:ores}
{synoptset 13 tabbed}{...}
{synopthdr:statistic}
{synoptline}
{syntab: Main}
{synopt :{cmdab:pm:argin}}Predicted
probabilities; Pr({it:depvar}=1); the default{p_end}
{synopt :{cmd:p11}}Pr({it:depvar}=1, {it:depvar_s}=1){p_end}
{synopt :{cmd:p10}}Pr({it:depvar}=1, {it:depvar_s}=0){p_end}
{synopt :{cmd:p01}}Pr({it:depvar}=0, {it:depvar_s}=1){p_end}
{synopt :{cmd:p00}}Pr({it:depvar}=0, {it:depvar_s}=0){p_end}
{synopt :{cmdab:ps:el}}Pr({it:depvar_s}=1){p_end}
{synopt :{cmdab:pc:ond}}Pr({it:depvar}=1 | {it:depvar_s}=1){p_end}
{synopt :{cmd:xb}}linear prediction{p_end}
{synopt :{cmd:stdp}}standard error of the linear prediction{p_end}
{synopt :{cmdab:xbs:el}}linear prediction in selection equation{p_end}
{synopt :{cmdab:stdps:el}}standard error of the linear prediction of the
selection equation{p_end}
{synoptline}
{p2colreset}{...}
INCLUDE help esample
{title:Options for predict}
{dlgtab:Main}
{phang}
{opt pmargin}, the default, calculates the univariate (marginal)
predicted probability of success; Pr({it:depvar}=1).
{phang}
{opt p11} calculates the bivariate predicted probability
Pr({it:depvar}=1, {it:depvar_s}=1).
{phang}
{opt p10} calculates the bivariate predicted probability
Pr({it:depvar}=1, {it:depvar_s}=0).
{phang}
{opt p01} calculates the bivariate predicted probability
Pr({it:depvar}=0, {it:depvar_s}=1).
{phang}
{opt p00} calculates the bivariate predicted probability
Pr({it:depvar}=0, {it:depvar_s}=0).
{phang}
{opt psel} calculates the univariate (marginal) predicted probability
of selection; Pr({it:depvar_s}=1).
{phang}
{opt pcond} calculates the conditional (on selection) predicted
probability of success; Pr({it:depvar}=1 | {it:depvar_s}=1) =
Pr({it:depvar}=1, {it:depvar_s}=1)/Pr({it:depvar_s}=1).
{phang}
{opt xb} calculates the probit linear prediction.
{phang}
{opt stdp} calculates the standard error of the prediction (xb).
{phang}
{opt xbsel} calculates the linear prediction for the selection equation.
{phang}
{opt stdpsel} calculates the standard error of the linear prediction
for the selection equation.
{phang}
{opt nooffset} is relevant if you specified {opt offset()} when you fitted the
model. It modifies the calculation made by {helpb predict} so that they
ignore the offset variable; the linear prediction is treated as xb rather than
xb + offset.
{phang}
{opt scores} calculates the equation-level score variables.
{pmore}
The first new variable will contain the derivative of the log likelihood with
respect to the regression equation.
{pmore}
The second new variable will contain the derivative of the log likelihood with
respect to the selection equation.
{pmore}
The third new variable will contain the derivative of the log likelihood with
respect to the third equation ({hi:athrho}).
{title:Example}
{phang}
{cmd:. webuse school}
{p_end}
{phang}
{cmd:. svyset _n}
{p_end}
{phang}
{cmd:. svy jackknife, nodots:}
{cmd:heckprob private years logptaz, select(vote = years loginc logptax)}
{p_end}
{phang}
{cmd:. predict p_private, pmargin}
{p_end}
{title:Also see}
{psee}
Manual: {bf:[SVY] svy: heckprob postestimation}
{psee}
Online: {helpb "svy: heckprob"};{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 + -