HO 3 Core HO 8 With Answers
HO 3 Core HO 8 With Answers
HO 3 Core HO 8 With Answers
Test the null hypothesis that sex and preferred colour are independent.
Frequencies Yates
Data Correction 0 5 10 -5 25 2.5
1 2 3 Total 14 10 4 16 1.6
1 5 14 6 25 #Rows 2 6 5 1 1 0.2
2 15 6 4 25 #Cols 3 15 10 5 25 2.5
Total 20 20 10 50 df 2 6 10 -4 16 1.6
4 5 -1 1 0.2
Test Statistic 8.6
χ 2= 8.6
10 10 5
10 10 5
Reject Ho at
5% LOS
2. The following data were obtained from a company which manufactures special plastic containers which are to hold
a specified volume of hazardous material. On each of the three 8 hour shifts workers are able to make 500 of the
containers. Some containers do not meet specifications as required by the company's customer because they are too
small, others because they are too large.
Conformance to Specification
Shift Too Small Within Spec. Too Large
8am 36 452 12
4pm 24 443 33
midnight 12 438 50
Frequencies Data
1 2 3 Total
1 36 452 12 500
2 24 443 33 500
3 12 438 50 500
Yates
Test Statistic Correction 0
χ 2= 35.11077
#Rows 3
#Cols 3
df 4
Expected Frequencies
1 2 3
1 24 444.3333 31.66667
2 24 444.3333 31.66667
3 24 444.3333 31.66667
Reject Ho at 5%
LOS
3. A professional baseball player, Lon Dakestraw, was at bat five times in each of 100 games. Lon claims that he has a
probability of 0.4 of getting a hit each time he goes to bat. Test his claim at the 0.05 level by seeing if the following
data are distributed binomially (p = 4). (Note: Combine classes if the expected number of observations is less than
5).
Number of Hits Number of Games with
per Game That Number of Hits
0 12
1 38
2 27
3 17
4 5
5 1
P(Exactly
x x) Oi
0 0.07776 12 7.776 12 7.776 4.224 17.84218 2.294519
1 0.2592 38 25.92 38 25.92 12.08 145.9264 5.629877
2 0.3456 27 34.56 27 34.56 -7.56 57.1536 1.65375
3 0.2304 17 23.04 17 23.04 -6.04 36.4816 1.583403
4 0.0768 5 7.68 6 8.704 -2.704 7.311616 0.840029
5 0.01024 1 1.024 χ 2= 12.00158
1 100 Reject Ho
4. The following data was collected concerning food purchases at several sporting events:
Food Purchases
Hot Dogs Popcorn No Purchase
Football 240 80 30
Sport
Basketball 50 90 10
Are the purchases independent of sports? Test at 5% los.
Yates
Frequencies Data Correction 0
1 2 3 Total
1 240 80 30 350 #Rows 2
2 50 90 10 150 #Cols 3
Total 290 170 40 500 df 2
Expected Frequencies Test Statistic
1 2 3 χ 2= 65.56071
1 203 119 28
2 87 51 12 p-value 5.8E-15
Reject
Ho
5. A poll conducted to investigate whether three television dramas are equally preferred among men and
women, gave this results:
NVPD Blue Law & order The Practice Total
Men 40 35 10 85
Women 30 45 10 85
Total 70 80 20 170
(i) Describe the null and alternative hypothesis for this problem.
(ii) Compute the value of the test statistic.
(iii) Write down the degrees of freedom for this test, and describe the rejection region
(iv) What is the appropriate conclusion?
Frequencies Data
1 2 3 Total #Rows 2
1 40 35 10 85 #Cols 3
2 30 45 10 85 df 2
Total 70 80 20 170
Test Statistic
Expected Frequencies χ 2= 2.678571
1 2 3
1 35 40 10 p-value 0.262033
2 35 40 10
Do not reject Ho
6. A study was done to determine the effectiveness of varying amounts of vitamin C in reducing the number of
common colds. A survey of 450 people provided the following information:
Is there evidence of a relationship between catching a cold and taking vitamin C? Test at 1% los.
Yates
Frequencies Data Correction 0
1 2 3 Total
1 57 26 17 100 #Rows 2
2 223 84 43 350 #Cols 3
Total 280 110 60 450 df 2
Expected
Frequencies Test Statistic
1 2 3 χ 2= 1.987222
1 62.22222 24.44444 13.33333
2 217.7778 85.55556 46.66667 Do not reject Ho p-value 0.370237
7. A brand manager is concerned that her brand’s share may be unevenly distributed throughout the country. In a
survey in which the country was divided into four geographic regions, a random sampling of 100 consumers in each
region was surveyed, with the following results:
REGION
NE NW SE SW TOTAL
Purchase the brand 40 55 45 50
190
Do not purchase 60 45 55 50 210
10. A large city fire department calculates that for any given precinct, during any given 8-hour shirt, there is a 30
percent chance of receiving at least one fire alarm. Here is a random sampling of 60 days:
Number of shifts during which alarms were received 0 1 2 3
Number of days 16 27 11 6
At the 0.05 level of significance, do these fire alarms follow a binomial distribution?
(Hint: Combine the last two groups so that all expected frequencies will be greater than 5.)
10. (Assuming p(atleast one) =0.3) => p= 0.112
p=0.112
P(Exactly
x x) exp exp obs
0 0.700227 42.01362 42.01362 16 -26.0136 676.7087 16.10689
1 0.264951 15.89705 17.98638 44 26.01362 676.7087 37.6234
2 0.033417 2.005033 χ 2= 53.73029
3 0.001405 0.084296 60 60
Reject
60 Ho
11. A diligent statistics student wants to see if it is reasonable to assume that some sales data have been sampled from a
normal population before performing a hypothesis test on the mean sales. She collected some sales data, computed
= 78 and s=9, and tabulated the data as follows:
Sales level ≤ 65 66-70 71-75 76-80 81-85 ≥ 86
Number of observations 10 20 40 50 40 40
(a) Is it important for the statistics student to check if the data are normally distributed? Explain.
(b) State explicit null and alternative hypotheses for checking if the data are normally distributed.
(c) What is the probability (using a normal distribution with µ=78 and σ =9) that sales will be less than or equal to
65.5; between 65.5 and 70.5; between 70.5 and 75.5; between 75.5 and 80.5; between 80.5 and 85.5; greater than
or equal to 85.5?
(d) At the 0.05 level of significance, does the observed frequency distribution follow a normal distribution?
x1 x2 P(x1<X<x2) Oi
-inf 65.5 0.082433 10 16.48665 -6.48665 42.07668 2.552166
65.5 70.5 0.119895 20 23.97902 -3.97902 15.83262 0.66027
70.5 75.5 0.188263 40 37.65262 2.347381 5.510198 0.146343
75.5 80.5 0.218817 50 43.76341 6.23659 38.89506 0.888757
80.5 85.5 0.188263 40 37.65262 2.347381 5.510198 0.146343
85.5 infi 0.202328 40 40.46568 -0.46568 0.216854 0.005359
1 200 200 Do no reject Ho χ 2= 4.399238
12. A supermarket manager is keeping track of the arrival of customers a checkout counters
to see how many cashiers are needed to handle the flow. In a sample of 500 five-minute time periods, there were 22, 74,
115, 95, 94, 80, and 20 periods in which zero, one, two, three, four, five, or six or more customers, respectively, arrived at a
checkout counter. Are these data consistent at the 0.05 level of significance with a Poisson distribution with λ = 3?
P(Exactly
x x) Oi
0 0.049787 22 24.89353 -2.89353 8.37254 0.336334
1 0.149361 74 74.6806 -0.6806 0.46322 0.006203
2 0.224042 115 112.0209 2.979096 8.875014 0.079226
3 0.224042 95 112.0209 -17.0209 289.7112 2.586224
4 0.168031 94 84.01568 9.984322 99.68669 1.186525
5 0.100819 80 50.40941 29.59059 875.6032 17.36984
>=6 0.083918 20 41.95897 -21.959 482.1964 11.49209
0.916082 500 500 Reject Ho χ 2= 33.05644