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
Stata function equivalent to Excel's Norm.dist (CDF?)Hi, I'm trying to create a new variable which is the cumulative normal distribution of another varia…
"Variables do not uniquely identify the observations" error when mergingHi everyone. I am trying to merge two datasets constructed from German SOEP data. The datasets have …
Generating variable that measures the difference between the last and first yearDear Statalisters, I am trying to generate a variable that measures how much the CPIA index for ins…
Intercept/constant is omitted when running xtsccDear all, I have run xtscc for my fixed effect panel data regression. However, the intercept was om…
2SLS with count data in second stageDear all, I would like to run a 2SLS regression using longitudinal survey data where the the res…
Subscribe to:
Post Comments (Atom)
0 Response to Two way anova with interactions
Post a Comment