Download as xlsx, pdf, or txt
Download as xlsx, pdf, or txt
You are on page 1of 8

DE LEON, GABRIELLE | BNSN2ANS-1

Biostatistics-JSMANINGAS

Module 4 - Post-task

1. The table below lists body temperatures obtained randomly selected subjects. The temperatures are categorized according
uses drug. Using a 0.05 significance level, test for an interaction between gender and usage of drug, test for an effect from gen
of drug. What do you conclude?

Group Use Drug Does Not Use drug Anova: Two-Factor With Replication
Male 98.4 98.4
97.4 97.4 SUMMARY Use Drug Does Not U
96.8 97.4 Male
98.2 98 Count 4 4
Female 98.6 97 Sum 390.8 391.2
99.3 98.4 Average 97.7 97.8
98.2 97.2 Variance 0.5466667 0.24
98.6 98.7
Female
Count 4 4
Sum 394.7 391.3
Average 98.675 97.825
Variance 0.2091667 0.7225

Total
Count 8 8
Sum 785.5 782.5
Average 98.1875 97.8125
Variance 0.5955357 0.412679

ANOVA
Source of Variation SS df
Sample 1 1
Columns 0.5625 1
Interaction 0.9025 1
Within 5.155 12

Total 7.62 15

SAMPLE
The absolute value of the F stat is smaller than the F crit.
The p-value is larger than the alpha (0.05).
Therefore, we must NOT REJECT THE NULL HYPOTHESIS
It means there is NO STATISTICAL DIFFERENCE between Male and
COLUMNS
The absolute value of the F stat is smaller than the F crit.
The p-value is larger than the alpha (0.05).
Therefore, we must NOT REJECT THE NULL HYPOTHESIS
It means there is NO STATISTICAL DIFFERENCE between those who

INTERACTION
The absolute value of the F stat is smaller than the F crit.
The p-value is larger than the alpha (0.05).
Therefore, we must NOT REJECT THE NULL HYPOTHESIS
It means there is NO STATISTICAL DIFFERENCE between Males wit
atures are categorized according to gender and whether the subject
f drug, test for an effect from gender, and test for an effect from usage

Total

8
782
97.75
0.34

8
786
98.25
0.605714

MS F P-value F crit
1 2.327837 0.152994 4.747225
0.5625 1.309408 0.274814 4.747225
0.9025 2.100873 0.172842 4.747225
0.429583

smaller than the F crit.

THE NULL HYPOTHESIS


DIFFERENCE between Male and Female.
smaller than the F crit.

THE NULL HYPOTHESIS


DIFFERENCE between those who Use Drug and who Do Not Use Drug.

smaller than the F crit.

THE NULL HYPOTHESIS


DIFFERENCE between Males with the usage of drug and Females with the usage of drug.
2. Listed below are amounts of nicotine (mg per cigarette) in king-size cigarrettes, and 100-mm methol cigarrettes,
and 100-mm nonmenthol cigarettes. Use a 0.05 significance level to test the claim that the three categories of
cigarrettes yield the same mean amount of nicotine.

King Menthol One Hundred Anova: Single Factor


1.1 1.1 0.4
1.7 0.8 1.0 SUMMARY
1.7 1.0 1.2 Groups Count Sum Average Variance
1.1 0.9 0.8 King 7 9.2 1.314286 0.081429
1.1 0.8 0.8 Menthol 7 6.2 0.885714 0.014762
1.4 0.8 1.0 One Hundred 7 6.3 0.9 0.07
1.1 0.8 1.1

ANOVA
Source of Variation SS df MS F
Between Groups 0.829524 2 0.414762 7.487106
Within Groups 0.997143 18 0.055397

Total 1.826667 20

The absolute value of F stat is larger than the F crit.


The p-value is smaller than the alpha (0.05).
Therefore, we REJECT THE NULL HYPOTHESIS.
It means that there is a STATISTICAL DIFFERENCE between the three categories of c
ethol cigarrettes,
categories of

P-value F crit
0.004304 3.554557

een the three categories of cigarettes.


Refer to the following list of numbers of years that U.S. Presidents, Popes, and British monarchs lived after their inauguration,
respectively. Assume that the data are samples randomly selected from larger populations. Use a 0.05 significance level to tes
amount of years served by these three have the same mean.

Presidents Popes Monarchs Anova: Single Factor


10 2 17
29 9 6 SUMMARY
26 21 13 Groups Count Sum Average Variance
28 3 12 Presidents 6 131 21.83333 58.96667
15 6 Popes 5 41 8.2 58.7
23 Monarchs 4 48 12 20.66667

ANOVA
Source of Variation SS df MS F
Between Groups 545.7 2 272.85 5.534171
Within Groups 591.6333 12 49.30278

Total 1137.333 14

The absolute value of the F stat is larger than the F crit.


The p-value is smaller than the alpha (0.05).
Therefore, we REJECT THE NULL HYPOTHESIS.
It means that there is a STATISTICAL DIFFERENCE between the amount of years s
after their inauguration, election, or coronation,
5 significance level to test the claim that the

P-value F crit
0.019815 3.885294

en the amount of years served by Presidents, Popes, and Monarchs.

You might also like