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
Assumptions linear regressionsHi everyone, I was wondering what assumptions should absolutely been tested before doing a linear r…
Sampclus vs Power (cluster) for observations per cluster calculationDear All, Hope you all are well. I have a question regarding the following hypothetical example co…
Using runiformint(a,b) - Create each Value between a and b once?Hello everybody, I am currently looking for a solution for the creation of random integer values wh…
Clustering under few treated clustersSome general advice sought from the Stata community. Say I'm doing a Difference in Differences exer…
Stata/MP 16.1 Processing SpeedHi, I am posting this to get some clarification on the time it takes Stata/MP 16.1 to run code. I wa…
Subscribe to:
Post Comments (Atom)
0 Response to Two way anova with interactions
Post a Comment