An experiment was performed in which nest of treatments and sub-treatments were
arranged to perform a nested ANOVA. In this experiment, there are three treatment groups
A,B,C and three nested subtreatment groups, L1, L2, L3, and four subsamples S1, S2, S3, S4.
a. Load the data file into MATLAB. Use the command xlsread to load the data.
A | L1 | S1 | 50 |
A | L1 | S2 | 55 |
A | L1 | S3 | 60 |
A | L1 | S4 | 65 |
B | L1 | S1 | 70 |
B | L1 | S2 | 75 |
B | L1 | S3 | 85 |
B | L1 | S4 | 90 |
A | L2 | S1 | 100 |
A | L2 | S2 | 105 |
A | L2 | S3 | 110 |
A | L2 | S4 | 115 |
B | L2 | S1 | 115 |
B | L2 | S2 | 120 |
B | L2 | S3 | 130 |
B | L2 | S4 | 135 |
C | L1 | S1 | 42 |
C | L1 | S2 | 35 |
C | L1 | S3 | 28 |
C | L1 | S4 | 45 |
C | L2 | S1 | 136 |
C | L2 | S2 | 142 |
C | L2 | S3 | 155 |
C | L2 | S4 | 151 |
A | L3 | S1 | 11 |
A | L3 | S2 | 14 |
A | L3 | S3 | 18 |
A | L3 | S4 | 10 |
B | L3 | S1 | 19 |
B | L3 | S2 | 28 |
B | L3 | S3 | 35 |
B | L3 | S4 | 42 |
C | L3 | S1 | 5 |
C | L3 | S2 | 8 |
C | L3 | S3 | 7 |
C | L3 | S4 | 2 |
b. Using the anovan command run a nested ANOVA on the data. Use the MATLAB
documentation to help you choose the correct model and the nesting relationship matrix.
Report the ANOVA table for the given data.
c. Use boxplot (with notch and whisker options) to create two graphics of the data that has
an x-axis that is treatment (A,B,C) and another that has an x-axis of subtreatment (L1, L2,
L3). For both plots the y-axis is of the data in the datafile. Interpret the results of the
experiment using the ANOVA table and the graphics by addressing the hypotheses tested by
the ANOVA.
d. Perform a random block ANOVA using this data.
1 | hi | 1 |
1 | hmid | 2 |
1 | lmid | 4 |
1 | lo | 4 |
2 | hi | 11 |
2 | hmid | 12 |
2 | lmid | 13 |
2 | lo | 14 |
3 | hi | 21 |
3 | hmid | 22 |
3 | lmid | 23 |
3 | lo | 24 |
Blocks are denoted in column 1 by 1,2,or3; treatments are given by hi,hmid,lmid,lo. Is there a block effect, is there
a treatment affect. Re-run this experiment as a one-way anova, does the F-statistic change?
Why?
Now run multicompare on the output of the block anova results to compare
treatment pairs within blocks. Interpret.
(b) The corrected ANOVA table is:
(c) The boxplot with treatment groups is:
The boxplot with sub treatment groups is:
The ANOVA table supports the claim considering the error term is zero.
(d) The block ANOVA result is:
Yes, there is a block effect.
Yes, there is a treatment effect.
The One-Way ANOVA results are:
Yes, there is a change in F-statistic because blocks and treatments are separated in One_way ANOVA.
Please give me a thumbs-up if this helps you out. Thank you!
An experiment was performed in which nest of treatments and sub-treatments were arranged to perform a...
Topic: ANOVA Topic: ANOVA 1- An experiment was conducted using a randomized block design. The data from the experiment are displayed in the following table. Block Treatment 1 2 3 1 2 3 5 2 8 6 7 3 7 6 5 a) Fill in the missing entries in the ANOVA table. Source df SS MS F Treatment 2 21.5555 Block 2 Error 4 Total 8 30.2222 b) Specify the null use to investigate whether a difference exists among the...
3. Reaction time experiment (L. Cai, T. Li, Nishant, and A. van der Kouwe, 1996) The experiment was run to compare the effects of auditory and visual cues on speed of response of a human subject. A personal computer was used to present a "stimulus" to a subject, and the reaction time required for the subject to press a key was monitored. The subject was warned that the stimulus was forthcoming by means of an auditory or a visual cue....