xtpoisson_postestimation.hlp
来自「是一个经济学管理应用软件 很难找的 但是经济学学生又必须用到」· HLP 代码 · 共 142 行
HLP
142 行
{smcl}
{* 07apr2005}{...}
{cmd:help xtpoisson postestimation}{...}
{right:predict dialogs: {bf:{dialog xtpoisson_refe_p:re/fe}} {bf:{dialog xtpoisson_pa_p:pa}}}
{right:also see: {helpb xtpoisson}}
{hline}
{title:Title}
{p2colset 5 38 40 2}{...}
{p2col :{hi:[XT] xtpoisson postestimation} {hline 2}}Postestimation tools for xtpoisson{p_end}
{p2colreset}{...}
{title:Description}
{pstd}
The following postestimation commands are available for {cmd:xtpoisson}:
{synoptset 13 tabbed}{...}
{p2coldent :command}description{p_end}
{synoptline}
INCLUDE help post_adjust2star
{p2coldent :+ {helpb estat}}AIC, BIC, VCE, and estimation sample summary{p_end}
INCLUDE help post_estimates
INCLUDE help post_lincom
INCLUDE help post_lrtest
INCLUDE help post_mfx
INCLUDE help post_nlcom
{synopt :{helpb xtpoisson postestimation##predict:predict}}predictions, residuals, influence statistics, and other diagnostic measures{p_end}
INCLUDE help post_predictnl
INCLUDE help post_test
INCLUDE help post_testnl
{synoptline}
{p2colreset}{...}
{p 4 6 2}* {cmd:adjust} will not work with time-series operators.{p_end}
{p 4 6 2}+ {cmd:estat ic} will not work with {cmd:xtpoisson, pa}.{p_end}
{marker predict}{...}
{title:Syntax for predict}
{phang}
Random-effects (RE) and fixed-effects (FE) models
{p 8 16 2}
{cmd:predict} {dtype} {newvar} {ifin} [{cmd:,}
{it:{help xtpoisson_postestimation##randomandfixed:RE/FE_statistic}}
{opt nooff:set} ]
{phang}
Population-averaged (PA) model
{p 8 16 2}
{cmd:predict} {dtype} {newvar} {ifin} [{cmd:,}
{it:{help xtpoisson_postestimation##popaverage:PA_statistic}}
{opt nooff:set} ]
{marker randomandfixed}{...}
{synoptset 15 tabbed}{...}
{synopthdr :RE/FE_statistic}
{synoptline}
{syntab:Main}
{synopt :{opt xb}}calculate linear prediction; the default{p_end}
{synopt :{opt stdp}}calculate standard error of the linear prediction{p_end}
{synopt :{opt nu0}}calculate predicted number of events; assumes fixed or random effect is zero{p_end}
{synopt :{opt iru0}}calculate predicted incidence rate; assumes fixed or random effect is zero{p_end}
{synoptline}
{p2colreset}{...}
{marker popaverage}{...}
{synoptset 15 tabbed}{...}
{synopthdr :PA_statistic}
{synoptline}
{syntab:Main}
{synopt :{opt mu}}calculate predicted number of events; considers the {opt offset()}; the default{p_end}
{synopt :{opt rate}}calculate predicted number of events{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 xb} calculates the linear prediction. This is the default for the
random-effects and fixed-effects models.
{phang}
{opt mu} and {opt rate} both calculate the predicted number of events.
{opt mu} takes into account the {opt offset()}, and {opt rate} ignores those
adjustments. {opt mu} and {opt rate} are equivalent if you did not specify
{opt offset()}. {opt mu} is the default for the population-averaged model.
{phang}
{opt stdp} calculates the standard error of the linear prediction.
{phang}
{opt nu0} calculates the predicted number of events, assuming a zero fixed or
random effect.
{phang}
{opt iru0} calculates the predicted incidence rate, assuming a zero fixed or
random effect.
{phang}
{opt score} calculates the equation-level score.
{phang}
{opt nooffset} is relevant only if you specified {opth offset(varname)} for
{cmd:xtpoisson}. 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:. xtpoisson y x, i(id)}{p_end}
{phang}{cmd:. predict cnt, nu0}{p_end}
{phang}{cmd:. xtpoisson y x, i(id) pa}{p_end}
{phang}{cmd:. predict mean, mu}{p_end}
{title:Also see}
{psee}
Manual: {bf:[XT] xtpoisson postestimation}
{psee}
Online: {helpb xtpoisson};{break}
{helpb estimates}, {helpb lincom}, {helpb lrtest},
{helpb mfx}, {helpb nlcom}, {helpb predict}, {helpb predictnl}, {helpb test},
{helpb testnl}
{p_end}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?