Anovan Test Graph Not Displaying All Values

2 views (last 30 days)
Hello, I am working on a lab where we tested grip strength in people who were left-handed and right-handed, and then fatigued them as tested their grip strength. I am trying to run an anovan test to compare this data, and the test worked, but the dominance factor is not displaying on the variance graph that pops up. Any thoughts as to why? This is what my code looks like: ( gripStrength = [88.2 94.1 92.4 93.74 99.61 87.37 94.4 95.2 95.0 100 ...] gripStrengthCondition = {'RS';'RS';'RS';'RS';'RS';'RS';'RS';'RS';'RS';'RS';...] gripStrengthCondition2 = {'D';'D';'D';'D';'D';'D';'D';'D';'D';'D';...] gripStrengthPop = {'R';'R';'R';'R';'R';'R';'R';'R';'R';'R';...}
figure(1); [GSp,GSbl,GSstats]= anovan(gripStrength,{gripStrengthCondition gripStrengthPop gripStrengthCondition2},'model','interaction','varnames',{'Rest Status','Hand', 'Dominance'}); figure(2); [GSresults,hm] = multcompare(GSstats,'Dimension',[1 2]); )

Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!