New command mvtest performs multivariate tests on means,
covariances, and correlations (both one-sample and multiple-sample), and
it performs tests of univariate, bivariate, and multivariate normality.
Included are Box’s M test for covariances, and for tests of
normality, the Doornik–Hansen omnibus test, Henze–Zirkler
test, Mardia’s multivariate kurtosis test, and Mardia’s
multivariate skewness test.
The new factor-variable syntax allowed
throughout Stata affects manova even though manova always
allowed factor variables.
manova has an all-new syntax. The old syntax continues
to work under version control.
manova, just like anova, adopts the new
factor-variable syntax, but with a twist. In other Stata commands,
continuous is assumed and you use i.varname to indicate
a categorical variable. In manova and anova,
categorical is assumed and you use c.varname to
indicate continuous. Thus the options category(),
class(), and continuous() are no longer used.
To form an interaction, you use varname1#varname2.
Previously, you used varname1*varname2. A *
now means variable-name expansion, just as it does on other
commands, so you could type manova y* = a b* a#b*. The
| symbol continues to be used for nesting.
You can now use varname1##varname2 as
a shorthand for full factorial, meaning
varname1 varname2 varname1#varname2. You can
use varname1##varname2##varname3 for
three-way factorial, and so on.
Existing command
mvreg
may now be used after manova to show results in regression-style
format, just as regress
can be used after anova.
Existing command test
after manova, in addition to allowing the special syntax
previously provided, now allows all the standard test syntax, too.
Existing commands
predictnl,
nlcom,
testnl, and
testparm may now be used after
manova.
New postestimation command margins
may be used after manova.
manova now requires that categorical variables take on
nonnegative integer values. Previously, a categorical variable could
take on values -1, 2.5, 3.14159, etc., although few did. Arbitrary
values are still allowed under version control.
manova’s new option dropemptycells removes
unobserved levels from the model rather than setting their coefficients
to zero. Statistically, the approaches are equivalent.
Computationally, a larger
matsize
is required when empty cells are retained. In models with many
interactions, you may need to specify this option.
Programmers: The row and column names on e(b), e(V), etc.,
after manova
are now meaningful and follow standard factor-variable notation.
Existing command biplot
has several improvements:
biplot can now be used with larger datasets. Previously, the
row dimension was limited by Stata’s maximum matsize.
biplot has new option generate(), which saves the
coordinates of observations in variables.
biplot has new options rowover() and
row#opts(), which allow highlighting groups of
observations on the graph and customizing the look of the graph.
New option rowlabel() makes customizing rows easier.
biplot now drops constant variables from the computation.
biplot now uses an improved version
of the singular value decomposition, which may result in sign
differences and slight differences in values.
rowopts(), colopts(), and negcolopts() now
allow names to contain simple and compound quotes.
biplot did not honor option scheme(economist) for
separate graphs (option separate). This has been fixed.
Existing command
canon’s
default output has changed. It previously displayed something that
looked like estimation output but was not because standard errors were
conditional. The output now looks like you would expect. The
conditional output can be obtained by specifying new option
stderr or under version control (set version to 10 or
earlier).
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.