Two way analysis of variance tutorial

In the video below you can see a tutorial for doing two way analysis of variance on balanced data using matlab. the data are stored in a text file in tab delimited order.

there are two grouping variable. one is gender and the other one is age and we want to see if these two categorical variable have significant effect on duration of watching tv or not. age is categorized in two groups. one is less than 18 and one is more than 18. in the tutorial anova2 test and post hoc (multcompare test) was performed to see the effect of each grouping variable.

ofcourse post hoc test wasn’t require for this data, since it has only two groups for age. post hoc is used when there are more groups in one of our categorical variable to see which group is significantly differ from the base line.

Leave a Reply

Your email address will not be published. Required fields are marked *