📄 svy_mlogit_postestimation.hlp
字号:
{smcl}
{* 29mar2005}{...}
{cmd:help svy: mlogit postestimation}{...}
{right:dialogs: {bf:{dialog svy_mlogit_p:predict}}{space 4}}
{right:also see: {helpb "svy: mlogit"}}
{hline}
{title:Title}
{p2colset 5 41 43 2}{...}
{p2col :{hi:[SVY] svy: mlogit postestimation} {hline 2}}Postestimation
tools for {cmd:svy: mlogit}{p_end}
{p2colreset}{...}
{title:Description}
{pstd}
The following postestimation commands are available for {cmd:svy: mlogit}:
INCLUDE help svy_postestimation
{title:Syntax for predict}
{p 8 16 2}
{cmd:predict} {dtype} {newvar:s}
{ifin} [{cmd:,} {it:statistic} {opt o:utcome(outcome)} ]
{p 8 16 2}
{cmd:predict} {dtype} {c -(}
{it:stub}{cmd:*} |
{newvar:1} {it:...} {newvar:_k-1}
{c )-}
{ifin} {cmd:,} {opt sc:ores}
{pmore2}
where {it:k} is the number of outcomes in the model.
{synoptset 13 tabbed}{...}
{synopthdr:statistic}
{synoptline}
{syntab: Main}
{synopt :{opt p:r}}predicted probability of a positive outcome; the default{p_end}
{synopt :{opt xb}}linear prediction of outcome variable{p_end}
{synopt :{opt stdp}}standard error of linear prediction{p_end}
{synoptline}
{p2colreset}{...}
{p 4 6 2}
Note that you specify one new variable with {opt xb} and {opt stdp} and
specify either one or {it:k} new variables with {opt pr}.
{p_end}
INCLUDE help esample
{title:Options for predict}
{dlgtab:Main}
{phang}
{opt pr}, the default, calculates the probability of each of the
alternatives in the model or the probability of the outcome
specified in {opt outcome()}. If you specify {opt outcome()}, you only
need to specify one new variable; otherwise, you must specify {it:k} new
variables, one for each alternative in the model.
{phang}
{cmd:xb} calculates the linear prediction.
You must also specify the {opt outcome(outcome)}.
{phang}
{cmd:stdp} calculates the standard error of the linear prediction.
You must also specify the {opt outcome(outcome)}.
{phang}
{opt outcome(outcome)} specifies the outcome for which the statistic is to be
calculated. {opt equation()} is a synonym for {opt outcome()}: it does not
matter which you use, and the standard rules for specifying an
{opt equation()} apply.
{phang}
{opt scores} calculates equation-level score variables. The number of score
variables created will be one less than the number of outcomes in the model.
{pmore}
Each new variable will contain the derivative of the log likelihood with
respect to a corresponding equation.
{title:Examples}
{phang}
{cmd:. webuse nhanes2f}
{p_end}
{phang}
{cmd:. svy: mlogit health female black age age2}
{p_end}
{phang}
{cmd:. predict pr*}
{p_end}
{phang}
{cmd:. describe pr*}
{p_end}
{title:Also see}
{psee}
Manual: {bf:[SVY] svy: mlogit}
{psee}
Online: {helpb "svy: mlogit"};{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 + -