Analysis of Variance: Randomized Blocks: Farrokh Alemi Ph.D. Kashif Haqqi M.D
Analysis of Variance: Randomized Blocks: Farrokh Alemi Ph.D. Kashif Haqqi M.D
Analysis of Variance: Randomized Blocks: Farrokh Alemi Ph.D. Kashif Haqqi M.D
Go to Table of Content
Additional Reading
For additional reading see Chapter 13 in Michael R. Middletons Data Analysis Using Excel, Duxbury Thompson Publishers, 2000. Example described in this lecture is based in part on Chapter 14, Sections 3 through 5 of Keller and Warracks Statistics for Management and Economics. Fifth Edition, Duxbury Thompson Learning Publisher, 2000. Read any introductory statistics book about Analysis of Variance
Go to Table of Content
Table of Content
Objectives Randomized Block Design Repeated Measure Design Sources of Variance Test Statistic An Example Assumptions Results of ANOVA Understanding Blocking ANOVA with replication Factorial Experimental Design An Example How to Analyze Data From Factorial Designs? Take Home Lesson
Go to Table of Content
Objectives
To learn the assumptions and the interpretation of Analysis of Variance for randomized block design. To learn assumptions and the interpretation of Analysis of Variance for multifactor models. To use Excel to do Analysis of Variance.
Go to Table of Content
Go to Table of Content
Sources of Variance
In randomized block design we partition the total variation in the data (i.e. the difference between each observation and the grand mean) into three sources:
Sum of square treatment, SST Sum of square of errors, SSE Sum of square of blocks, SSB SS(Total) = SST + SSB + SSE
Go to Table of Content
SS(total)
Sum across all observations of square of the difference between observations and the grand mean.
SST
SSB SSE
Sum across treatments of (b * squared difference of mean of treatments and grand mean)
Sum across block of (k * squared difference of mean of blocks and the grand mean) SS(total)-SST-SSB
k-1
b-1 n-k-b-1
Go to Table of Content
MSS
SST/k-1
MSB
MSE
SSB/b-1
SSE/(n-k-b-1)
b-1
n-k-b-1
Go to Table of Content
Test Statistic
Test statistic for treatment is MST/MSE distributed as an F distribution with k-1 and n-k-b-1 degrees of freedom. Test statistics for effect of blocks is MSB/MSE distributed as an F distribution with b-1 and n-k-b-1 degrees of freedom.
Go to Table of Content
Month 1 65 90 30 72 75 90 67 60 80
Month 2 40 85 30 52 58 67 25 48 95
Go to Table of Content
Go to Table of Content
Components of ANOVA
Response variable is daily living activity score. Treatment are the months. The experimental plan is randomized block design. We use two factor ANOVA without replication. (With replication is used when measures are repeated for different levels of the same factor).
Go to Table of Content
Go to Table of Content
Go to Table of Content
Assumptions
The variable of interest is quantitative. The problem is to compare 2 or more means. The experimental plan is a blocked randomized design. Treatment observations are distributed according to a Normal distribution. The variance of the samples are equal.
Go to Table of Content
Verifying Assumptions
Response variable is quantitative. The Problem is comparison of seven means. Assumption of blocked sample design is appropriate as repeated measures are used.
Same subjects are rated across the seven months.
Go to Table of Content
40 30 20 10 0
0 19 37 56 75 94 2 11 M or e
Bin
Go to Table of Content
Go to Table of Content
Go to Table of Content
Results of ANOVA
First part shows averages and variances for each block (in this case patients). First 10 patients are shown in this slide. There are 7 observations per patient over the 7 months. Means differ but are differences significant.
SUMMARY 1 2 3 4 5 6 7 8 9 10
Count 7 7 7 7 7 7 7 7 7 7
Sum 430 638 265 527 501 498 440 652 560 508
Average 61.42857 91.14286 37.85714 75.28571 71.57143 71.14286 62.85714 93.14286 80 72.57143
Variance 677.2857 230.8095 365.4762 281.5714 163.619 523.4762 321.8095 326.4762 310.3333 269.9524
Go to Table of Content
Sum Average 13825 69.125 13919 69.595 14075 70.375 13559 67.795 14123 70.615 15104 75.52 16347 81.735
Go to Table of Content
Source of Variation SS Rows 209834.6 Columns 28673.73 Error 479125.1 Total 717633.5
df
Go to Table of Content
ANOVA Source of Variation F P-value F crit Rows 2.627722 1.04E-23 1.187531 Columns 11.90936 5.14E-13 2.106162
Go to Table of Content
Understanding Blocking
Blocking is the extension of matched pair design to more than 2 populations Blocking reduces variation and improves our ability to detect differences in treatment. You can see this in the formula for total sum of square = SST+SSB+SSE In the absence of blocking SSB will be added to SSE
Go to Table of Content
Go to Table of Content
Go to Table of Content
Factor 3 Response Minimum Maximum Minimum Maximum Minimum Maximum Minimum Maximum
Go to Table of Content
Waiting time Short Short Short Short Long Long Long Long
Travel time Short Short Long Long Short Short Long Long
Go to Table of Content
Go to Table of Content