Stata 15 help for anova_terms

Title

[P] anova_terms -- anova and manova terms programming command

Syntax

anova_terms

Description

Warning: This command is probably only useful to you if you are dealing with anova or manova results produced with version set to less than 11.

anova_terms returns in r(rhs) a list of the right-hand-side (rhs) variables and terms, in r(continuous) a list of which rhs variables are continuous, and in r(opts) a list that contains the noconstant and cont() options if they apply to the current anova or manova estimation. (cont() is only returned in r(opts) if the anova or manova results were produced with version set to less than 11.)

See anovadef for a command that returns more detail for each term of the model.

Examples

. version 10: anova y a b a*b c d a*c b*c a*d b*d, cont(c d) noconstant . anova_terms . return list

macros: r(rhs) : "a b c d a*b a*c b*c a*d b*d" r(opts) : "noconstant cont(c d)" r(continuous) : "c d"

. version 10: manova y1 y2 = a b c a*c b*c, cont(c) . anova_terms . return list

macros: r(rhs) : "a b c a*c b*c" r(opts) : "cont(c)" r(continuous) : "c"


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index