Hallo
My Problem: I want to perform a two way Anova with interations
Let's say
Group sex (male; female coded as 1 or 0)
Group size (small, medium, large coded as 0, 1 or 2)
I want to compare:
male-small vs male medium
male-small vs male large
male-large vs male medium
female-small vs female medium
female-small vs female large
female-large vs female medium
is there an easy way to do a two-way ANOVA with interactions in Stata using the GUI? The "easiest" way I found is to use the contrast command (from the post-estimation command) and to write a custom contrast on each field.
The command looked lilke that:
contrast {sex 1 -1}#{size 0 1 -1} {sex 1 -1}#{size 1 0 -1} {sex 1 -1}#{size 1 -1 0}, mcompare(sidak) pveffects
Can I define the post hock test using a drop down menu or something else from stata GUI?
Thanks
John
Related Posts with Two way anova with interactions
Renaming multiple string values of a variableHello all. I have an ICD10 code variable that has about 6000 different values in string format. I al…
infix with files that do not have suffixesI am trying to read in 1000s of raw data files with the infix command. The files have a numeric name…
Question Stata (Seasonal effects in stock market)Hello Guys Im from Switzerland and have some difficulties using Stata. I hope there are some expert…
January effect regressionHello Guys I have a question related to regression. I have a Data in which in the columns there are…
KMatch: Memory Management in Nearest-Neighbor Matching with TiesHi Everyone! Currently running Stata 16. I'm trying to do nearest neighbor matching with Kmatch usi…
Subscribe to:
Post Comments (Atom)
0 Response to Two way anova with interactions
Post a Comment