📄 estimates.hlp
字号:
{dlgtab:Main}
{phang}
{opt stats(scalarlist)} specifies one or more scalars to be displayed in the
table. {it:scalarlist} may contain {opt e()} scalars and the following
statistics:
{p 12 20 2}{opt aic}{space 9}Akaike's information criterion{p_end}
{p 12 20 2}{opt bic}{space 9}Schwarz's information criterion{p_end}
{p 12 20 2}{opt rank}{space 8}rank of {cmd:e(V)} {hline 1} number of free
parameters in model{p_end}
{pmore}
{it:scalarlist} may be separated by white space or commas. Analogous to
coefficients, requested scalars not saved by a particular estimation command
(i.e., not contained in {opt e()}) are displayed as blanks. If a period "."
is displayed, it indicates that the {opt e()} scalar is stored with a missing
value ".".
{pmore}
Example: {cmd:stats(N ll chi2 aic)} specifies that the number of observations,
{opt N}, the log likelihood, {opt ll}, the {opt chi2} test (test that the
coefficients in the first equation of the model are 0), and the AIC
information criterion be displayed.
{phang}
{opt star}[{cmd:(}{it:#1 #2 #3}{cmd:)}] specifies that the significance of
coefficients is denoted by stars: *: p < .05, **: p < .01, and ***:
p < .001. The optional argument may override these thresholds
{bind:(1 > {it:#1} > {it:#2} > {it:#3} > 0)}. {opt star} may not be combined
with {opt se}, {opt t}, or {opt p}.
{dlgtab:Options}
{phang}
{opt keep(keeplist)} specifies the coefficients (and their order) to be
included in the table. A {it:keeplist} comprises one or more specifications,
separated by white space: a variable name (e.g., {opt price}), an equation
name (e.g., {cmd:mean:}), or a full name (e.g., {cmd:mean:}{opt price}).
{phang}
{opt drop(droplist)} specifies the coefficients to be dropped form the table. A
{it:droplist} comprises one or more specifications, separated by white space:
a variable name (e.g., {opt price}), an equation
name (e.g., {cmd:mean:}), or a full name (e.g., {cmd:mean:}{opt price}).
All coefficients that match a specification are dropped. {cmd:drop(_cons)}
drops {opt _cons} from all equations.
{phang}
{marker matchlist}{opt equations(matchlist)} specifies how the equations of
the models in {it:namelist} are to be matched. The most common usage is
{cmd:equations(1)}, which indicates that all the first equations in the models
are to be matched into one equation named {opt #1}, while the other equations
are to be matched by name. If {opt equations()} is not specified, all
equations are matched by name. Coefficients within equations are always
matched by name, whether or not {opt equations()} is specified.
{pmore}
Generally, {it:matchlist} has the syntax
{it:term} [{cmd:,} {it:term} ...]
{pmore}
where {it:term} is
[{it:eqname} {opt =}] {it:#}|{it:#1}{cmd::}{it:#2}{cmd::}...{cmd::}{it:#m} {right:({it:m} = number of models in {it:namelist}){space 2}}
{pmore}
and {it:#j}, {it:j} = 1,...,{it:m}, is a number or a period(.). A term
specifies which equations from the models are matched. The numbers in a term
refer to the position of equations in the different models (1 is the first
equation, 2 the second, and so on). A period (.) indicates that no
equation should be included for the associated model. A term that consists of
a single number, {it:#}, is a convenient shorthand for
{it:#}{cmd::}{it:#}{cmd::}...{cmd::}{it:#}, specifying that the {it:#}th
equation in all models should be matched. Equations not matched by position
are matched by name.
{pmore}
To specify multiple terms, separate each term by commas ({cmd:,}). Within
terms, separate numbers by colons ({cmd::}) or blanks.
{pmore}
The matched equation for a term is named {it:eqname} in the output and in
results returned in {opt r()}. {it:eqname} should not be used as an equation
name in any of the models. If you do not specify {it:eqname}, {opt est table}
uses the name {opt #i} for the {it:i}th term. If you specify {opt keep()} or
{opt drop()} in combination with {opt equations()}, be sure to refer to the
matched equation names, not to the equation names in the models.
{pmore}
Some examples may be instructive. Assume that {it:namelist} consists of three
models.
{pin2}
{cmd:equations(1:1:1)}, or {cmd:equations(1)}, matches the first equation in
the three models into a single equation named {opt #1}; any other equations in
the models will be matched by name.
{pin2}
{cmd:equations(means=1)} matches the first equation in the models into a
single equation named {opt mean}; other equations of the models are matched by
name.
{pin2}
{cmd:equation(1:.:1)} matches the first equation of models 1 and 3 into a
single equation named {opt #1} but does not include any equations from model 2
in {opt #1}.
{pin2}
{cmd:equations(1,2)} matches the first equations in the three models into
equation {opt #1} and the second equation in the three models into equation
{opt #2}, matching any other equations in the models by name.
{dlgtab:Numerical formats}
{phang}
{opt b}[{opth (fmt)}]
specified without an argument is allowed only for consistency with the options
{opt se}, {opt t}, and {opt p}, and has no effect. Coefficients are always
displayed. However, the optional argument may be used to specify the display
format for the coefficients (e.g., {cmd:b(%9.3f)}). It defaults to
{opt %10.0g}.
{phang}
{opt se}[{opth (fmt)}]
specifies that the standard errors of the coefficients be displayed below the
coefficients. A display format may be specified as an optional argument
(e.g., {cmd:se(%9.2f)}). By default, the display format of the coefficients
is used.
{phang}
{opt t}[{opth (fmt)}]
specifies that the t- or z-values (coef/se(coef)) be displayed below
the coefficients. A display format may be specified as an optional argument
(e.g., {cmd:t(%9.2f)}). It defaults to {opt %7.2f}.
{phang}
{opt p}[{opth (fmt)}]
specifies that the (two-sided) p-values of the coefficients be displayed
below the coefficients. As is standard in Stata, the reference distribution
is the t if the estimation command saved the residual degrees of freedom
in {cmd:e(df_r)}, and the normal distribution otherwise. A display format may
be specified as an optional argument (e.g., {cmd:t(%7.2f)}). It defaults to
{opt %7.4f}.
{phang}
{opth stfmt(fmt)} specifies the display format for the scalar statistics. It
defaults to the display format of the coefficients.
{dlgtab:General format}
{phang}
{opt varwidth(#)} specifies the number of characters used to display the names
of variables and statistics. It defaults to 12.
{phang}
{opt modelwidth(#)} specifies the number of characters used to display the
names of models.
{phang}
{opt eform} displays the coefficient table in exponentiated form: For each
coefficient, exp(b) rather than b is displayed, and standard errors
are transformed. Display of the intercept, if any, is suppressed.
{phang}
{opt label} specifies that variable labels are displayed instead of variable
names.
{phang}
{opt newpanel} specifies that the statistics be displayed in a table
separated by a blank line from the table with coefficients, rather than in the
style of another equation in the table of coefficients.
{phang}
{opt style(style_spec)} specifies the "style" of the coefficients table. The
following values are allowed:
{p2colset 12 31 33 2}{...}
{synopt :{cmd:style(oneline)}}specifies that a vertical line be displayed after
the variables, but not between the models{p_end}
{synopt :{cmd:style(columns)}}specifies that vertical lines be displayed after
each column (variable names, models){p_end}
{synopt :{cmd:style(noline)}}suppresses all vertical lines{p_end}
{p2colreset}{...}
{pmore}
The default style is {cmd:style(oneline)}.
{phang}
{opt coded} specifies that a compact table be displayed, in which a model
occupies only a single column with cmd:* representing parameters and
statistics computed for the model, and spaces otherwise. This format is
especially useful for comparing variables that are included in a large
collection of models.
{phang}
The following option is available with {opt estimates_table} but is not shown
in the dialog box:
{phang}
{opth title(str)} specifies the title {it:str} for the table.
{title:Options for estimates for}
{phang}
{opt noheader} suppresses the display of a header describing the
name and title of stored set.
{phang}
{opt nostop} does not stop repeating the command for other stored sets if one
of them results in an error.
{title:Option for estimates restore}
{phang}
{opt drop} specifies that after the set {it:name} is restored, this set
is no longer stored for later restoration.
{title:Option for estimates change}
{phang}
{opth title(str)} sets or changes the title of a stored estimation set. The
title is displayed by the subcommands {opt dir}, {opt replay}, and {opt for}.
{title:Examples}
{phang}{cmd:. logit foreign price trunk}{p_end}
{phang}{cmd:. est store A, title(simple model)}{p_end}
{phang}{cmd:. logit foreign price trunk disp}{p_end}
{phang}{cmd:. est store B}{p_end}
{phang}{cmd:. est dir}{p_end}
{phang}{cmd:. est stats}{p_end}
{phang}{cmd:. est table A B, star}
{phang}{cmd:. est restore A}{p_end}
{phang}{cmd:. est change A, ti("a less simple model")}{p_end}
{phang}{cmd:. est for A: test price trunk}{p_end}
{phang}{cmd:. est for A: predict p}{p_end}
{phang}{cmd:. est for .: lstat}{p_end}
{phang}{cmd:. est drop _all}{p_end}
{title:Also see}
{psee}
Manual: {bf:[R] estimates}
{psee}
Online: {helpb ereturn}, {help _estimates}
{p_end}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -