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
how to write condition for calculating spells?Hi. I have a dataset with the revenues of firms through time, monthly. For example: Code: date …
Error estimating treatment effects synth-runnerHello all, Thanks in advance for your help with this request. I am attempting to run models using th…
Merging datasets not uniquely identifiedHello Statalist, I'm currently trying to to merge two data-sets which contain several matching varia…
How to test validity of instrument in Eoprobit command with endogenous treatmentI am running following command with treatment t=(1,0): eoprobit y x1 x2, entreat (t=X1 X2 Z1 Z2) Ho…
Converting SPSS file with 2540 variables and 222539 observations into STATA 15 MPHello All, I am struggling with the conversion of SPSS 25 data file to STATA 15, MP version. I have…
Subscribe to:
Post Comments (Atom)
0 Response to Two way anova with interactions
Post a Comment