Activity No. 8
Activity No. 8
Activity No. 8
BSN-1M
Ge 4
Activity No. 8 for Pre-Final
1. Sales of milk (in liters) in company A for one week are recorded as follows. Test the
hypothesis that the sales of milk are not the same over the entire week. Use ά = 0.05
TOTAL 1,085 ¿
ΣO−E ¿ ² E = 8.69 OR 8.7
DEGREE OF FREEDOM
Df = n-1
Df = 7-1
Df = 6
2
X 6 = 12.59
- WE REJECT THE ALTERNATIVE HYPOTHESIS AND ACCEPT THE NULL HYPOTHESIS.
10 13 17 6 4
13 10 3 9 0.9
17 10 7 49 4.9
6 10 -4 16 1.6
4 10 -6 36 3.6
TOTAL 50 ¿
ΣO−E ¿ ²
E = 11
3. A clinical trial on the use of aspirin to prevent heart attack was conducted.
Approximately equal number of subjects were assigned to placebo group and aspirin
group as shown below
Yes No
TOTAL (O−E)²
Σ = 25.02
E
4. Consider the data shown below. Test the hypothesis that the proportions on
prevalence of lung cancer among smoker and non-smoker are different. Used 0.05 level
of significance.
Smoker 85 205
Non-Smoker 45 370
O E (O−E)²
E
85 53.47 18.59
TOTAL (O−E)²
Σ = 38.7
E
65 and over 90 93 95
O E (O−E)²
E
308 145.70 180.79
90 108.89 3.28
39 174.86 105.56
93 130.68 10.86
25 51.43 13.58
40 64.29 9.18
56 74.11 4.42
91 121.67 7.73
98 97.75 0.00064
82 72.04 1.38
81 48.25 22.23
95 38.44 83.22
TOTAL (O−E)²
Σ = 573.71
E
DEGREE OF FREEDOM
DF = (3-1) (8-1)
DF = (2) (7)
DF = 14
2
X 2 (0.05) = 23.68
- WE REJECT THE NULL HYPOTHESIS