MI support for panel-data and multilevel models includes
xtcloglog, xtgee, xtlogit, xtmelogit,
xtmepoisson, xtmixed, xtnbreg, xtpoisson,
xtprobit, xtrc, and xtreg.
Survey feature support for
multilevel
models, xtmixed, including multilevel sampling weights and
robust variance estimators.
Documentation for xtmixed, xtmelogit, and
xtmepoisson has been modified to adopt the standard
“level” terminology from the literature on hierarchical
models. For example, what in previous Stata versions was considered a
one-level model is now called a two-level model with the observations
now being counted as “level one”.
Contrasts, which is to say, tests of
linear hypotheses involving factor variables and their interactions
from the most recently fit model, and that model can be virtually any
model that Stata can fit. Tests include ANOVA-style tests of main
effects, simple effects, interactions, and nested effects. Effects can
be decomposed into comparisons with reference categories, comparisons
of adjacent levels, comparisons with the grand mean, and more. New
commands contrast and margins, contrast are available
after most xt estimation commands.
Pairwise comparisons
of means, estimated cell means, estimated marginal means, predictive
margins of linear and nonlinear responses, intercepts, and slopes. In
addition to ANOVA-style comparisons, comparisons can be made of
population averages. New commands pwcompare and margins,
pwcompare are available after most xt estimation commands.
Graphs of margins,
marginal effects, contrasts, and pairwise
comparisons. Margins and effects can be obtained from linear or
nonlinear (for example, probability) responses. New command
marginsplot is available after all xt estimation
commands.
xtmixed now uses maximum likelihood (ML) as the default method
of estimation, where previously it used restricted maximum likelihood
(REML). REML is still available with the reml option, and
previous behavior is preserved under version control.
Estimation output improved.
Implied zero coefficients now shown. When a coefficient is omitted,
it is now shown as being zero, and the reason it was
omitted—collinearity, base, empty—is shown in the
standard-error column. (The word “omitted” is shown if
the coefficient was omitted because of collinearity.)
You can set displayed precision for all values in coefficient
tables using set cformat, set pformat, and set
sformat. Or you may use options cformat(),
pformat(), and sformat() now allowed on all
estimation commands.
Estimation commands now respect the width of the Results window.
This feature may be turned off by new display option
nolstretch.
You can now set whether base levels, empty cells, and omitted are
shown using set showbaselevels, set showemptycells,
and set showomitted.
Robust and cluster–robust SEs after fixed-effects
xtpoisson.
New residual covariance structures for multilevel models include
exponential, banded, and Toeplitz.
Probability predictions now available. predict after
random-effects and population-averaged count-data models, such as
xtpoisson and xtgee, can now predict the probability
of any count or count range.
Option addplot() now places added graphs above or below.
Commands that allow option addplot() can now place the added
plots above or below the command’s plots. Affected is the command
xtline.
See New in Stata 19 to learn about what was added in Stata 19.
×
We use cookies
We use cookies to ensure that we give you the best experience on our website—to enhance site navigation, to analyze usage, and to assist in our marketing efforts. By continuing to use our site, you consent to the storing of cookies on your device and agree to delivery of content, including web fonts and JavaScript, from third party web services.
Cookie Settings
Privacy policy
Last updated: 16 November 2022
StataCorp LLC (StataCorp) strives to provide our users with exceptional products and services. To do so, we must collect personal information from you. This information is necessary to conduct business with our existing and potential customers. We collect and use this information only where we may legally do so. This policy explains what personal information we collect, how we use it, and what rights you have to that information.
These cookies are essential for our website to function and do not store any personally identifiable information. These cookies cannot be disabled.
Advertising and performance cookies
This website uses cookies to provide you with a better user experience. A cookie is a small piece of data our website stores on a site visitor's hard drive and accesses each time you visit so we can improve your access to our site, better understand how you use our site, and serve you content that may be of interest to you. For instance, we store a cookie when you log in to our shopping cart so that we can maintain your shopping cart should you not complete checkout. These cookies do not directly store your personal information, but they do support the ability to uniquely identify your internet browser and device.
Please note: Clearing your browser cookies at any time will undo preferences saved here. The option selected here will apply only to the device you are currently using.