Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[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 <[email protected]>
To
[email protected]
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/