📄 clogit_postestimation.hlp
字号:
{smcl}
{* 22mar2005}{...}
{cmd:help clogit postestimation}{right:dialog: {bf:{dialog clogit_p:predict}}}
{right:also see: {helpb clogit} }
{hline}
{title:Title}
{p2colset 5 34 36 2}{...}
{p2col :{hi:[R] clogit postestimation} {hline 2}}Postestimation tools for
clogit{p_end}
{p2colreset}{...}
{title:Description}
{pstd}
The following postestimation commands are available for {cmd:clogit}:
{synoptset 11}{...}
{p2coldent :command}description{p_end}
{synoptline}
INCLUDE help post_adjust2
INCLUDE help post_estat
INCLUDE help post_estimates
INCLUDE help post_hausman
INCLUDE help post_lincom
INCLUDE help post_linktest
INCLUDE help post_lrtest
INCLUDE help post_nlcom
{synopt :{helpb clogit postestimation##predict:predict}}predictions, residuals, influence statistics, and other diagnostic measures{p_end}
INCLUDE help post_predictnl
INCLUDE help post_suest
INCLUDE help post_test
INCLUDE help post_testnl
{synoptline}
{p2colreset}{...}
{marker predict}{...}
{title:Syntax for predict}
{p 8 16 2}
{cmd:predict}
{dtype}
{newvar}
{ifin}
[{cmd:,} {it:statistic} {opt nooff:set}]
{synoptset 11 tabbed}{...}
{synopthdr:statistic}
{synoptline}
{syntab :Main}
{synopt :{opt pc1}}calculate probability of a positive outcome; the default
{p_end}
{synopt :{opt pu0}}calculate probability of a positive outcome, assuming
fixed effect is zero{p_end}
{synopt :{opt xb}}calculate linear prediction{p_end}
{synopt :{opt stdp}}calculate standard error of the linear prediction{p_end}
{synopt :{opt sc:ore}}first derivative of the log likelihood with respect to xb{p_end}
{synoptline}
{p2colreset}{...}
INCLUDE help esample
{title:Options for predict}
{dlgtab:Main}
{phang}
{opt pc1}, the default, calculates the probability of a
positive outcome conditional on one positive outcome within group.
{phang}
{opt pu0} calculates the probability of a positive outcome, assuming that
the fixed effect is zero.
{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 only if you specified {cmd:offset({varname})} for
{cmd:clogit}. It modifies the calculations made by {cmd:predict} so that they
ignore the offset variable; the linear prediction is treated as xb rather
than as xb + offset.
{title:Examples}
{phang}{cmd:. clogit y x1 x2 x3, group(id)}{p_end}
{phang}{cmd:. predict phat if e(sample)}{p_end}
{phang}{cmd:. predict idx, xb}
{title:Also see}
{psee}
Manual: {bf:[R] clogit postestimation}
{psee}
Online:
{helpb clogit};{break}
{helpb adjust},
{helpb estimates},
{helpb hausman},
{helpb lincom},
{helpb linktest},
{helpb lrtest},
{helpb nlcom},
{helpb predictnl},
{helpb suest},
{helpb test},
{helpb testnl}
{p_end}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -