📄 qreg_postestimation.hlp
字号:
{smcl}
{* 24mar2005}{...}
{cmd:help qreg postestimation}{...}
{right:dialogs: {dialog qreg_p:predict for qreg, iqreg, bsqreg}}
{right:{dialog sqreg_p:predict for sqreg}{space 14}}
{right:also see: {helpb qreg}{space 27}}
{hline}
{title:Title}
{p2colset 5 32 34 2}{...}
{p2col :{hi:[R] qreg postestimation} {hline 2}}Postestimation tools for qreg,
iqreg, bsqreg, and sqreg{p_end}
{p2colreset}{...}
{title:Description}
{pstd}
The following postestimation commands are available for {cmd:qreg},
{cmd:iqreg}, {cmd:bsqreg}, and {cmd:sqreg}:
{synoptset 11}{...}
{p2coldent :command}description{p_end}
{synoptline}
INCLUDE help post_adjust1
{synopt :{helpb estat}}VCE and estimation sample summary{p_end}
INCLUDE help post_estimates
INCLUDE help post_lincom
INCLUDE help post_linktest
INCLUDE help post_mfx
INCLUDE help post_nlcom
{synopt :{helpb qreg 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}{...}
{marker predict}{...}
{title:Syntax for predict}
{phang}
For {cmd:qreg}, {cmd:iqreg}, and {cmd:bsqreg}
{p 8 16 2}
{cmd:predict} {dtype} {newvar} {ifin}
[{cmd:,} [{opt xb}{c |}{opt stdp}{c |}{opt r:esiduals}]]
{phang}
For {cmd:sqreg}
{p 8 16 2}
{cmd:predict} {dtype} {newvar} {ifin}
[{cmd:,} {cmdab:eq:uation:(}{it:eqno}[{cmd:,}{it:eqno}]{cmd:)}
{it:statistic}]
{synoptset 13 tabbed}{...}
{synopthdr :statistic}
{synoptline}
{syntab :Main}
{synopt :{opt xb}}linear prediction; the default{p_end}
{synopt :{opt stdp}}standard error of the linear prediction{p_end}
{synopt :{opt stddp}}standard error of the difference in linear predictions{p_end}
{synopt :{opt r:esiduals}}residuals{p_end}
{synoptline}
{p2colreset}{...}
INCLUDE help esample
{title:Options for predict}
{phang}{opt xb}, the default, calculates the linear prediction.
{phang}{opt stdp} calculates the standard error of the linear prediction.
{phang}{opt stddp} is allowed only after you have fitted a model using
{cmd:sqreg}. The standard error of the difference in linear predictions
between equations 1 and 2 is calculated.
{phang}{opt residuals} calculates the residuals, that is, y - xb.
{phang}{cmd:equation(}{it:eqno}[{cmd:,}{it:eqno}]{cmd:)} specifies the
equation to which you are making the calculation.
{pmore} {opt equation()} is filled in
with one {it:eqno} for options {opt xb}, {opt stdp}, and {opt residuals}.
{cmd:equation(#1)} would mean that the calculation is to be made for the first
equation, {cmd:equation(#2)} would mean the second, and so on. Alternatively,
you could refer to the equations by their names. {cmd:equation(income)} would
refer to the equation named "income" and {cmd:equation(hours)} to the equation
named "hours".
{pmore} If you do not specify {opt equation()}, results are the same as if you
had specified {cmd:equation(#1)}.
{pmore}To use {opt stddp}, you must specify two equations. You might specify
{cmd:equation(#1, #2)}, or {cmd:equation(q80, q20)} to indicate the 80th and
20th quantiles.
{title:Examples}
{phang}{cmd:. qreg price weight length foreign}{p_end}
{phang}{cmd:. qreg}{p_end}
{phang}{cmd:. predict hat}{p_end}
{phang}{cmd:. predict r, resid}{p_end}
{title:Also see}
{psee}
Manual: {bf:[R] qreg postestimation}
{psee}
Online: {helpb qreg};{break}
{helpb adjust}, {helpb estimates}, {helpb lincom},
{helpb linktest}, {helpb mfx}, {helpb nlcom},
{helpb predictnl}, {helpb test}, {helpb testnl}
{p_end}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -