Narsee Monjee Institute of Management Studies (Deemed University) Statistical Methods- Assignment-5(chi-square tests) 1.

Each person in a random sample of 50 was asked to state his/her sex and preferred colour. The resulting frequencies are shown below. Colour Red Blue Green Male 5 14 6 Sex Female 15 6 4 Test the null hypothesis that sex and preferred colour are independent.
Frequencies Data 1 2 5 14 15 6 20 20 Yates Correction 3 6 4 10 Total 25 25 50 #Rows #Cols df Test Statistic χ 2= 10 10 Reject Ho at 5% LOS

0 2 3 2

1 2 Total

5 14 6 15 6 4

10 10 5 10 10 5

-5 4 1 5 -4 -1

25 16 1 25 16 1

2.5 1.6 0.2 2.5 1.6 0.2 8.6

8.6 10 10

5 5

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
1 2 3 Frequencies Data 1 2 36 452 24 443 12 438 Yates Correction #Rows #Cols df 3 12 33 50 Total 500 500 500 0 3 3 4

Test Statistic χ 2= 35.11077

Total

72

1333

95

1500

1 2 3

Expected Frequencies 1 2 24 444.3333 24 444.3333 24 444.3333

3 31.66667 31.66667 31.66667

56 23.776 25.629877 1.3456 0.68 1. Lon Dakestraw. Sport Frequencies Data 1 2 240 80 50 90 290 170 Expected Frequencies 1 2 203 119 87 51 3 30 10 40 3 28 12 Total 350 150 500 Yates Correction 1 2 Total #Rows 2 #Cols 3 df 2 Test Statistic χ 2= 65.92 34.8E-15 1 2 Reject Ho 5. The following data was collected concerning food purchases at several sporting events: Hot Dogs 240 50 Food Purchases Popcorn No Purchase 80 30 90 10 0 Football Basketball Are the purchases independent of sports? Test at 5% los. Test his claim at the 0.704 4. (iii) Write down the degrees of freedom for this test.4 of getting a hit each time he goes to bat. (ii) Compute the value of the test statistic.9264 57.84218 145. A professional baseball player.2592 0.224 12.024 12 38 27 17 6 Reject Ho 7.0768 0.704 17.05 level by seeing if the following data are distributed binomially (p = 4).776 25. (Note: Combine classes if the expected number of observations is less than 5). Lon claims that he has a probability of 0.840029 12. gave this results: Men Women Total NVPD Blue 40 30 70 Law & order 35 45 80 The Practice 10 10 20 Total 85 85 170 (i) Describe the null and alternative hypothesis for this problem.4816 7.311616 χ 2= 2.92 34.08 -7.04 8.04 7.00158 4.56071 p-value 5.04 -2.56 -6.07776 0. and describe the rejection region (iv) What is the appropriate conclusion? 1 Frequencies Data 1 2 40 35 3 10 Total 85 #Rows #Cols 2 3 .01024 1 Oi 12 38 27 17 5 1 100 7.56 23. was at bat five times in each of 100 games.2304 0.Reject Ho at 5% LOS 3.583403 0.294519 5.1536 36. 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 x 0 1 2 3 4 5 P(Exactly x) 0. A poll conducted to investigate whether three television dramas are equally preferred among men and women.65375 1.

A brand manager is concerned that her brand’s share may be unevenly distributed throughout the country. should the null hypothesis be rejected? Frequencies Data 1 2 40 55 60 45 100 100 Yates Correction 3 45 55 100 4 50 50 100 Total 190 210 400 #Rows #Cols df 0 2 4 3 1 2 Total Expected Frequencies 1 2 1 47.370237 7.5 52.55556 0 1 2 Total 1 2 3 13.5 52. In a survey in which the country was divided into four geographic regions.5 Test Statistic χ 2= 5.7778 85.05.22222 24.678571 3 10 10 p-value 0.2 Total 30 70 45 80 10 20 85 170 df 2 Expected Frequencies 1 2 1 35 40 2 35 40 Do not reject Ho Test Statistic χ 2= 2.5 2 52.987222 Do not reject Ho p-value 0.5 4 47.012531 p-value 0. A survey of 450 people provided the following information: Daily amount of vitamin C taken None 500 mg 1000 mg 57 26 17 223 84 43 Yates Correction 3 17 43 60 Total 100 350 450 #Rows #Cols df 2 3 2 No colds At least one cold Is there evidence of a relationship between catching a cold and taking vitamin C? Test at 1% los. (c) If the level of significance is 0.66667 Test Statistic χ 2= 1.170882 .44444 217. with the following results: REGION NE NW SE SW TOTAL Purchase the brand 190 40 55 45 50 Do not purchase 210 60 45 55 50 TOTAL 100 100 100 100 400 Develop a table of observed and expected frequencies for this problem. (a) Calculate the sample X2 value.5 47. a random sampling of 100 consumers in each region was surveyed. A study was done to determine the effectiveness of varying amounts of vitamin C in reducing the number of common colds.5 52.33333 46. Frequencies Data 1 2 57 26 223 84 280 110 Expected Frequencies 1 2 62. (b) State the null and alternative hypotheses.5 Do not reject Ho 3 47.262033 6.

The number of people receiving zero.264951 0.5 P(x1<X<x2) 0.5 70. a winner from the last lottery went out and bought 1.5.001405 exp 42.69 0. 40.5 and 75. A large city fire department calculates that for any given precinct.5.1 0. or two mangled letters was 260.10689 37.700227 0. (Assuming p(atleast one) =0. there is a 10 percent chance of getting a $1 prize.7225 0.6234 53.05 6. He had 87 one dollar prizes. (b) State explicit null and alternative hypotheses for checking if the data are normally distributed.48665 -3.89506 2.3) => p= 0.801 1524. 48 one-hundred dollar prizes.07668 15.85 100 50 850 1000 Oi 87 48 865 1000 -13 -2 15 Do no reject Ho 169 4 225 2 = 1.7087 676.8.73029 11.05 level of significance. 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. is it reasonable to conclude that the number of mangled letters received by people follows a binomial distribution with p = 0.033417 0.0136 26.218817 Oi 10 20 40 50 16.119895 0.5 and 70.112 x 0 1 2 3 p=0.000 tickets for the new lottery. She collected some sales data.01362 17. and an 85 percent chance of getting nothing. Because the post office is so big.975 79. computed = 78 and s=9. and 865 worthless tickets.034706 χ 10. and two test letters were mailed to each of them.66027 0.29035 1.15? x 0 1 2 P(Exactly x) 0.084296 60 exp 42.23659 42. is the state’s claim reasonable? Ei 10% 5% 85% 0. It has been suggested that any letter sent to a certain area has a 0. between 70.888757 .7087 χ 2= 16.5.48665 23.552166 0.5 70. A sample of 310 people was selected.025 -39.150625 χ 2= 5. To test if this claim is correct. it can be assumed that two letters’ chances of being mangled are independent. during any given 8-hour shirt. (c) What is the probability (using a normal distribution with µ=78 and σ =9) that sales will be less than or equal to 65. does the observed frequency distribution follow a normal distribution? x1 -inf 65.15 chance of being mangled.97902 2. At the 0.05 3. between 65.903 9. and 10. The post office is interested in modeling the “mangled-letter” problem.146343 0.10 level of significance.5 and 85.188263 0.76341 -6.01362 15. a 5 percent chance of $100. 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.01362 676.255 0. greater than or equal to 85.112 P(Exactly x) 0.65262 43.5 x2 65. A state lottery commission claims that for a new lottery game.311918 26. one.975 310 260 40 10 310 36.05 level of significance. 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.) 10.97902 37. At the 0.5.5? (d) At the 0.025 Reject 1297.5 and 80.89705 2. between 80. do these fire alarms follow a binomial distribution? (Hint: Combine the last two groups so that all expected frequencies will be greater than 5. respectively.005033 0.5 75. between 75.347381 6.0225 1 E(x) 223.5 80.5 75.39667 Reject Ho 9.264706 2.05 0.08 0.794399 19.83262 5.510198 38. there is a 30 percent chance of receiving at least one fire alarm.98638 60 obs 16 44 60 Reject Ho -26.082433 0.5.05 significance level.

89353 -0.5 85.0209 9.336334 0.6806 2. 95.6032 482.100819 0. four.1964 χ 2= 0. 74.46568 Do no reject Ho 5. two.510198 0.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.586224 1.0209 84.37254 0.05644 . or six or more customers.40941 41.959 Reject Ho 8.6806 112.005359 4. one.186525 17. 94. arrived at a checkout counter.80. 115. respectively.202328 1 40 40 200 37.984322 29. and 20 periods in which zero.68669 875.46568 200 2.59059 -21. there were 22. five.89353 74.049787 0.079226 2.875014 289.46322 8.083918 0.95897 500 -2. three.0209 112.146343 0.347381 -0.49209 33.979096 -17.7112 99.5 85.5 infi 0.216854 χ 2= 0.224042 0.65262 40.05 level of significance with a Poisson distribution with λ = 3? x 0 1 2 3 4 5 >=6 P(Exactly x) 0. 80.006203 0.916082 Oi 22 74 115 95 94 80 20 500 24.224042 0.188263 0.01568 50.149361 0.36984 11. In a sample of 500 five-minute time periods.168031 0. Are these data consistent at the 0.

Sign up to vote on this title
UsefulNot useful

Master Your Semester with Scribd & The New York Times

Special offer: Get 4 months of Scribd and The New York Times for just $1.87 per week!

Master Your Semester with a Special Offer from Scribd & The New York Times