Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
20 views18 pages

Chapter 11-Hypothesis Testing

Download as pdf or txt
Download as pdf or txt
Download as pdf or txt
You are on page 1/ 18

Hypothesis Testing

DO NOT REPLICATE OR COPY. PROPERTY OF FEU-BIOSTAT.


ANOVA: HYPOTHESIS TESTING

1. Hypotheses: Ho & Ha
2. Level of Significance
3. Test Statistic
4. Critical Region
5. Compute test statistic
6. Statistical decision
7. Conclusion

DO NOT REPLICATE OR COPY. PROPERTY OF FEU-BIOSTAT.


I. ONE-WAY ANOVA

DO NOT REPLICATE OR COPY. PROPERTY OF FEU-BIOSTAT.


Symbols Definition

X individual observation

j group

µ or X̅ j sample mean of the treatment group

X̅ overall sample mean

k the number of treatments or independent comparison groups

N total number of observations or total sample size.

n total number of observations in one group

V.R Variance ratio or (F)

SSA Sum of Squares among samples

SSW Sum of squares within samples

MSA Mean Square Among Samples

MSW Mean Square Within Samples

DO NOT REPLICATE OR COPY. PROPERTY OF FEU-BIOSTAT.


EXAMPLE 1:

Calcium is an essential mineral that regulates the heart, is important for blood clotting and for
building healthy bones. The National Osteoporosis Foundation recommends a daily calcium
intake of 1000-1200 mg/day for adult men and women. While calcium is contained in some foods,
most adults do not get enough calcium in their diets and take supplements. Unfortunately some of
the supplements have side effects such as gastric distress, making them difficult for some
patients to take on a regular basis.

A study is designed to test whether there is a difference in mean daily calcium intake in adults
with normal bone density, adults with osteopenia (a low bone density which may lead to
osteoporosis) and adults with osteoporosis. Adults 60 years of age with normal bone density,
osteopenia and osteoporosis are selected at random from hospital records and invited to
participate in the study. Each participant's daily calcium intake is measured based on reported
food intake and supplements.
DO NOT REPLICATE OR COPY. PROPERTY OF FEU-BIOSTAT.
EXAMPLE 1:

Normal Bone Density Osteopenia Osteoporosis


1200 1000 890
1000 1100 650
980 700 1100
900 800 900
750 500 400
800 700 350

DO NOT REPLICATE OR COPY. PROPERTY OF FEU-BIOSTAT.


1. Hypothesis Ho: μ1 = μ2 = μ3

Ha: Means are not all equal

2. Level of Significance α = 0.05

3. Test statistic F statistic for ANOVA, F= MSA/ MSW

4. Critical Region (2, 15) = 3.68

df1 = k - 1 = 3-1 = 2

df2 = N - k = 18-3 = 15

F = ≥ 3.68

DO NOT REPLICATE OR COPY. PROPERTY OF FEU-BIOSTAT.


DO NOT REPLICATE OR COPY. PROPERTY OF FEU-BIOSTAT.
I. ONE-WAY ANOVA Normal Bone Osteopenia Osteoporosis
Density
Example 1 1200 1000 890
5. Computation of Test Statistics
1000 1100 650
980 700 1100
900 800 900
750 500 400

2 Add the mean of each group 800 700 350

X̅ = 938.3333 + 800.0 + 715.0 X̅ j X̅ 1 = 938.3333 X̅ 2= 800.0 X̅ 3= 715.0


1
= 817.7778
3 Get the mean for each group

SSA = Σ 𝑛 (X̅ j − X̅ ) 2
= 6 (938.333 − 817.7778)2 +6 (800.0 − 817.7778)2 +6 (715.0 − 817.7778)2
= 87,201.77 + 63,379.66 + 1,896.301
= 152,477.7

DO NOT REPLICATE OR COPY. PROPERTY OF FEU-BIOSTAT.


2
Normal Bone x - 938.3333 (x-938.3333)
4 SSW = Σ 𝑛 (X − X̅1 ) 2 Density
1200 261.6667 68,469.46
= 6 (130,083.2) 1000 61.6667 3,802.78
980 41.6667 1,736.11
= 780,499.2 900 -38.3333 1,469.44
750 -188.3333 35,469.43
800 -138.3333 19,136.10
= Σ 𝑛 (X − X̅2 ) 2 Total 0 130,083.33

= 6 (240,000) Osteopenia x - 800.0000 (x-800.0000)


2

= 1,440,000 1000 200 40,000.00


1100 300 90,000.00
700 -100 10,000.00
800 0 0.00
= Σ 𝑛 (X − X̅3 ) 2 500 -300 90,000.00
700 -100 10,000.00
= 6 (449, 750) Total 0 240,000.00
= 2,698,500 2
Osteoporosis x-715.0000 (x-715.0000)
890 175 30,625.00
SSW = Σ Σ 𝑛 (X − X̅𝑗 ) 2 650
1100
-65
385
4,225.00
148,225.00
= 780,499.2 + 1,440,000 + 2,698,500 900 185 34,225.00
400 -315 99,225.00
= 4,918,999.2 350 -365 133,225.00
Total 0 449,750.00
DO NOT REPLICATE OR COPY. PROPERTY OF FEU-BIOSTAT. 10
5. Computation of Test Statistics

5 7
𝑆𝑆𝐴 152,477.7 𝑀𝑆𝐴 76,238.85
MSA = = = 76,238.85 V. R or F = = = 0.23
𝑘 −1 3 −1 𝑀𝑆𝑊 327,933.28

𝑆𝑆𝑊 4,918,999.2
MSW = 𝑁 −𝑘 = = 327,933.28
18 −3

Source of Variation Sums of Squares (SS) Degrees of freedom (df) Mean Squares (MS) F

Among Samples (SSA) 152,477.7 2 MSA = 76,238.85 0.23

Within Samples (SSW) 4,918,999.2 15 MSW = 327,933.28


Total 17
DO NOT REPLICATE OR COPY. PROPERTY OF FEU-BIOSTAT.
6. Statistical Decision

We do not reject H0 because 0.23 < 3.68.

7. Conclusion

We do not have statistically significant evidence at a =0.05 to show


that there is a difference in mean calcium intake among patients
with normal bone density osteopenia and osteoporosis.
DO NOT REPLICATE OR COPY. PROPERTY OF FEU-BIOSTAT.
II. TWO-WAY ANOVA

DO NOT REPLICATE OR COPY. PROPERTY OF FEU-BIOSTAT.


EXAMPLE 1:
As part of a randomized block experiment, a researcher tests the effect of three extracurricular activities
on student’s academic performance. The researcher selects subjects randomly from a student
population. The researcher assigns subjects to six blocks of three, such that students within the same
block have the same (or similar) IQ. Within each block, each student is randomly assigned to a different
extracurricular activities. At the end of the term, the researcher collects one test score (dependent
variable) from each subject, as shown in the table below.
IQ Level Extracurricular Activity

A B C

91-95 84 85 85

96-100 86 86 88

101-105 86 87 88

106-110 89 88 89

111-115 88 89 89

116-120 91 90 91
II. TWO-WAY ANOVA
EXAMPLE 1:

1. Hypothesis

(Treatment) Ho: There are no differences in the test scores among different extracurricular activities
Ha: There are significant differences in the test scores among different extracurricular activities.

(Blocks) Ho: There are no differences in the test scores among different IQ levels.
Ha: There are significant differences in the test scores among different IQ levels.

2. Level of Significance α = 0.05

3. Test Statistic Two –Way ANOVA

DO NOT REPLICATE OR COPY. PROPERTY OF FEU-BIOSTAT.


DO NOT REPLICATE OR COPY. PROPERTY OF FEU-BIOSTAT.
DO NOT REPLICATE OR COPY. PROPERTY OF FEU-BIOSTAT.
DO NOT REPLICATE OR COPY. PROPERTY OF FEU-BIOSTAT.
1. At 5% level of significance, we cannot conclude that there are significant differences in
the test scores among different extracurricular activities. (Treatment)

2. At 5% level of significance, there are significant differences in the test scores among
different IQ levels. (Blocks)

DO NOT REPLICATE OR COPY. PROPERTY OF FEU-BIOSTAT.

You might also like