📄 zinb_postestimation.hlp
字号:
{smcl}
{* 31mar2005}{...}
{cmd:zinb postestimation} {right:dialog: {bf:{dialog zip_p:predict}}}
{right:also see: {helpb zinb}{space 3}}
{hline}
{title:Title}
{p2colset 5 32 34 2}{...}
{p2col :{hi:[R] zinb postestimation} {hline 2}}Postestimation tools for zinb
{p_end}
{p2colreset}{...}
{title:Description}
{pstd}
The following postestimation commands are available for {cmd:zinb}:
{synoptset 11}{...}
{p2coldent :command}description{p_end}
{synoptline}
INCLUDE help post_adjust2
INCLUDE help post_estat
INCLUDE help post_estimates
INCLUDE help post_lincom
INCLUDE help post_lrtest
INCLUDE help post_mfx
INCLUDE help post_nlcom
{synopt :{helpb zinb 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 18 2}
{cmd:predict} {dtype} {newvar} {ifin}
[{cmd:,} {it:{help zinb postestimation##statistic:statistic}} {opt nooff:set}]
{p 8 18 2}
{cmd:predict} {dtype} {{it:stub}{cmd:*}|{it:newvar_reg} {it:newvar_inflate}
{it:newvar_lnalpha}} {ifin}{cmd:,} {opt sc:ores}
{marker statistic}{...}
{synoptset 11 tabbed}{...}
{synopthdr:statistic}
{synoptline}
{syntab:Main}
{synopt :{opt n}}predicted number of events; the default{p_end}
{synopt :{opt ir}}incidence rate{p_end}
{synopt :{opt p:r}}probability a zero outcome{p_end}
{synopt :{opt xb}}linear prediction{p_end}
{synopt :{opt stdp}}standard error of the linear prediction{p_end}
{synoptline}
{p2colreset}{...}
{title:Options for predict}
{dlgtab:Main}
{phang}
{opt n}, the default, calculates the predicted number of events, which is
exp(xb) if neither {opt offset()} nor {opt exposure()} was specified when
the model was fitted; exp(xb)+offset) if {opt offset()} was specified;
or {bind:exp(xb) x exposure} if {opt exposure()} was specified.
{phang}
{opt ir} calculates the incidence rate exp(xb), which is the predicted
number of events when exposure is 1. This is equivalent to specifying both
{opt n} and {opt offset} options.
{phang}
{opt p} calculates the probability of a zero outcome F(zg), where F() is
the logit or probit link function. If {opt offset()} was specified within the
{opt inflate()} option, then F(zg + offset^g) is calculated.
{phang}
{opt xb} calculates the linear prediction, which is xb if neither
{opt offset()} nor {opt exposure()} was specified; {bind:xb + offset} if
{opt offset()} was specified; or {bind:xb + ln(exposure)} if
{opt exposure()} was specified; see {opt nooffset} below.
{phang}
{opt stdp} calculates the standard error of the linear prediction.
{phang}
{opt nooffset} is relevant only if you specified {opt offset()} or
{opt exposure()} when you fitted the model. It modifies the calculations made
by {opt predict} so that they ignore the offset or exposure variable; the
linear prediction is treated as xb rather than as
{bind:xb + offset} or {bind:xb + ln(exposure)}. Specifying
{bind:{cmd:predict ..., nooffset}} is equivalent to specifying
{bind:{cmd:predict ..., ir}}.
{phang}
{opt scores} calculates 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 inflation equation.
{pmore}
The third new variable will contain the derivative of the log likelihood with
respect to the dispersion equation ({hi:lnalpha}).
{title:Also see}
{psee}
Manual: {bf:[R] zinb postestimation}{p_end}
{psee}
Online: {helpb zinb};{break}
{helpb adjust}, {helpb estat},
{helpb estimates}, {helpb lincom}, {helpb lrtest},
{helpb mfx}, {helpb nlcom}, {helpb predictnl}, {helpb suest}, {helpb test},
{helpb testnl}{p_end}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -