📄 svy_regress_postestimation.hlp
字号:
{smcl}
{* 29mar2005}{...}
{cmd:help svy: regress postestimation}{...}
{right:dialogs: {bf:{dialog svy_regress_p:predict}}{space 5}}
{right:also see: {helpb "svy: regress"}}
{hline}
{title:Title}
{p2colset 5 42 44 2}{...}
{p2col :{hi:[SVY] svy: regress postestimation} {hline 2}}Postestimation
tools for {cmd:svy: regress}{p_end}
{p2colreset}{...}
{title:Description}
{pstd}
The following postestimation commands are available for {cmd:svy: regress}:
INCLUDE help svy_postestimation
{title:Syntax for predict}
{p 8 16 2}
{cmd:predict} {dtype} {newvar} {ifin} [{cmd:,} {it:statistic} ]
{synoptset 13 tabbed}{...}
{synopthdr:statistic}
{synoptline}
{syntab: Main}
{synopt :{opt xb}}linear prediction of outcome variable; the default{p_end}
{synopt :{opt r:esiduals}}residuals{p_end}
{synopt :{opt sc:ores}}score; equivalent to {opt residuals}{p_end}
{synopt :{opt stdp}}standard error of linear prediction{p_end}
{synoptline}
{p2colreset}{...}
INCLUDE help esample
{title:Options predict}
{dlgtab:Main}
{phang}
{opt xb}, the default, calculates the linear prediction.
{phang}
{opt residuals} calculates the residuals; i.e., the value of the
dependent variable minus the predicted value of the dependent variable.
{phang}
{opt scores} is a synonym for {opt residuals}.
{phang}
{opt stdp} calculates the standard error of the prediction.
{title:Examples}
{phang}
{cmd:. webuse nhanes2a}
{p_end}
{phang}
{cmd:. svyset psuid [pweight=leadwt], strata(stratid)}
{p_end}
{phang}
{cmd:. svy: regress}
{cmd:loglead age female black orace region2-region4 smsa1 smsa2}
{p_end}
{phang}
{cmd:. predict resid, residuals}
{p_end}
{phang}
{cmd:. describe resid}
{p_end}
{title:Also see}
{psee}
Manual: {bf:[SVY] svy: regress postestimation}
{psee}
Online: {helpb "svy: regress"};{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 + -