Residuals from a Two-Way ANOVA

8 views (last 30 days)
Stephen
Stephen on 15 Feb 2019
Here is my code, I am trying to extract and plot the residuals, really not sure how to go about it
y = [ 73 68 67 67
73 67 70 70
75 68 68 68
73 71 69 73];
[p,~,stats] = anova2(y,1,'on');
multcompare(stats)
boxplot(y)
Appreciate any help

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!