Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: Interaction of ANOVA contrast (e.g. linear/quadratic trend) and another Factor Variable?


From   Jared Saletin <jsaletin@berkeley.edu>
To   statalist@hsphsun2.harvard.edu
Subject   st: Interaction of ANOVA contrast (e.g. linear/quadratic trend) and another Factor Variable?
Date   Wed, 4 May 2011 16:19:10 -0700

Hi all,

So I've used the anovalator and anovacontrast ado's to calculate ANOVA contrasts (mainly linear and quadratic trends) across levels of a factor variable (say Factor A). 

I was wondering if anyone knows how to calculate the interaction of that contrast (across A) and another factor (Factor B).

For instance in SPSS you can calculate the Linear  x B interaction, or the Quadratic x B interaction, to see if the linear or quadratic trend differs by the levels of A or B.

Don't see a way to get that interaction using the tools above.

Is it rather something that should be specified in the model explicitly?

Or perhaps defining it manually from the margins command?

Thanks so much for all the help!

Cheers,
Jared


*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index