Date post: | 02-Jan-2016 |
Category: |
Documents |
Upload: | caesar-cervantes |
View: | 40 times |
Download: | 9 times |
Dr. Michael R. Hyman, NMSU
Analysis of Variance (ANOVA)
(Click icon for audio)
2
3
Analysis of Variance Sum of Squares
betweenwithintotal SS SS SS
4
n
jjjn
1
2between )( SS XX
Analysis of Variance Sum of Squares Between
5
Analysis of Variance Sum of Squares Between
= individual scores, i.e., the ith observation or test unit in the jth group = grand meannj = number of all observations or test units in a group
jX
X
6
n
i
c
jj
1 1
2within )( SS XX ij
Analysis of Variance Sum of Squares Within
7
Analysis of Variance Sum of Squares Within
pi = individual scores, i.e., the ith observation or test unit in the jth grouppi = grand meann = number of all observations or test units in a groupc = number of jth groups (or columns)
ijX
X
8
n
i
c
j1 1
2total )( SS XX ij
Analysis of Variance Sum of Squares Total
9
Analysis of Variance Sum of Squares
pi = individual scores, i.e., the ith observation or test unit in the jth grouppi = grand meann = number of all observations or test units in a groupc = number of jth groups (or columns)
ijX
X
10
1
c
SSMS between
between
Analysis of Variance Mean Squares Between
11
ccn
SSMS within
within
Analysis of Variance Mean Square Within
12
groupswithinVariance
groupsbetweenVarianceF
Analysis of Variance F-Ratio
13
within
between
MS
MSF
Analysis of Variance F-Ratio
14
ANOVA Summary Table Source of Variation
• Between groups
• Sum of squares
– SS between
• Degrees of freedom
– c-1 where c=number of groups
• Mean squared-MS between
– SS between / c-1
15
ANOVA Summary Table Source of Variation
• Within groups
• Sum of squares – SS within
• Degrees of freedom– cn-c where c=number of groups, and
n = number of observations in a group
• Mean squared – MS within– SS within / cn-c
16WITHIN
BETWEEN
MSMS
F
ANOVA Summary Table Source of Variation
• Total
• Sum of Squares – SStotal
• Degrees of Freedom– cn-1 where c = number of groups, and
n = number of observations in a group
17
Examples
18
Example #1
19
20
Example #2
21
Sales in Units (thousands)
Regular Price$.99
1301188784
X1=104.75X=119.58
Reduced Price$.89
145143120131
X2=134.75
Cents-Off CouponRegular Price
1531299699
X1=119.25
Test Market A, B, or CTest Market D, E, or FTest Market G, H, or ITest Market J, K, or L
MeanGrand Mean
Test Market Pricing Experiment
Example #3