ANOVA for a randomised experimental block design

4 views (last 30 days)
Hi I have this table "in attachment " and I want to implement
1- ANOVA of a completely randomised design.
2- ANOVA of a randomised block design.
here is my attaempt:
data=xlsread('table2.xlsx')
data
%p = anovan(data, {'1','2','3','4'})
[~,~,stats] = anovan(data,{1,2,3,4},'model','interaction',...
'varnames',{'1','2','3','4'});
%
% [p, table, stats] = anova1(data)
% [c, m, h, nms] = multcompare(stats,'alpha',.05,'ctype','bonferroni')
I will be appricated any help.

Answers (0)

Community Treasure Hunt

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

Start Hunting!