Homework 11

advertisement
Stat 4220 homework – Due April 24
1) The casino boss has heard a rumor that the dice in his casino are rigged. (For those not familiar
with dice, there are 6 possible outcomes, and each outcome is supposed to be equally likely).
He hired a graduate student (lackey) to take a die and roll it 1002 times. He recorded that the
die rolled a one 150 times, rolled a two 155 times, rolled a three 164 times, rolled a four 180
times, rolled a five 150 times, and rolled a six 203 times. Test whether the die is rigged.
2) A group of students was surveyed what year in school they were. Since statistics is a sophomore
level class, we might expect to see more sophomores than any other group. Use a chi-square
goodness-of-fit test to determine if the different years in school are equally distributed.
Year
Freshman
50
Sophomore
65
Junior
37
Senior
20
3) For many years TV executives used the guideline that 30% of the viewing audience were
watching each of the traditional big three prime-time networks and 10% were watching cable
stations on a weekday night. A random sample of 500 viewers in the Tampa-St. Petersburg,
Florida, area last Monday night showed that 165 homes were tuned in to the ABC affiliate, 140
to the CBS affiliate, 125 to the NBC affiliate, and the remainder were viewing a cable station. At
the .05 significance level, can we conclude that the guideline is still reasonable?
4) A 98% confidence interval for the difference in the average length of a movie between “action
flicks” and “chick flicks” was (22.43, 25.61) minutes. Which of the following statements is true?
98% of “action flicks” and “chick flicks” last between 22.43 minutes and 25.61 minutes
The probability the next “action flick” or “chick flick” lasts between 22.43 and 25.61 minutes is 98%
We are 98% confident the average time for “chick flicks” and “action flicks” is between 22.43 and 25.61
The evidence does not support the claim that “action flicks” have a different average than “chick flicks”
“Action flicks” are 22.43 to 25.61 longer than “chick flicks” on average with 98% confidence
Of all possible “action flicks” and “chick flicks” 98% have an average difference of 22.43 to 25.61
5) University of Michigan surveyed high school seniors nationwide who smoke and asked them
which brands of cigarettes they use. Is there a relationship between Race and Cigarette Brand?
http://www.monitoringthefuture.org/data/tables/cigbrands/table1.html
LD Johnston, PM O'Malley, JG Bachman, JE Schulenberg. (Apr. 1999). Cigarette brands smoked by American teens: One brand predominates; three account for nearly all of teen smoking.
University of Michigan News and Information Services: Ann Arbor, MI. [On-line]. Available: www.isr.umich.edu/src/mtf; accessed 04/15/2013
Black
White
Hispanic
Marlboro
6
1276
90
Newport
87
138
36
Camel
0
198
5
All other Brands
13
205
25
6) A study investigated whether people think Labrador retrievers are cuter than Afghan Hounds.
They walked a Labrador past 100 people and 78 petted the dog. They walked an Afghan Hound
past 90 people and 61 petted the dog. Find a 96% confidence interval for the difference in
proportions of people who will pet a Labrador verses an Afghan Hound.
7) George Bush Sr. mentions on T.V. that the average age of a student at UW is 23 years old. To
test his hypothesis, you ask 3 randomly chosen UW students what their ages are, and use α=.01
Assume the ages of students at UW are normally distributed.
The ages were : 22 years old, 28 years old, and 24 years old.
Test whether George Bush was right.
8) The Working Imitation Design Gadget Engineering Tool is manufactured by a machine that
sometimes has a flaw in the production. According the machine specs the flaw distribution per
hour should be:
0 flaws
70%
1 flaw
16%
2 flaws
8%
3 flaws
3%
4 flaws
2%
5 flaws
1%
To see whether the machine is performing according to specifications we randomly sample 200 hours
and get the following flaw distribution:
0 flaws
131
1 flaw
28
2 flaws
16
3 flaws
11
4 flaws
8
5 flaws
6
Can we say with 5% significance that the machine is not performing at specifications?
9) Billy says that the average speed of a mule is faster than the average speed of a zebra. To test
this he rides 7 different zebras and 7 different mules. Assume each time he rides the animal the
exact same way. Test whether Billy is right (assuming normality).
First ride
Second ride
Third ride
Fourth ride
Fifth ride
Sixth ride
Seventh ride
MEAN
S
Zebra
31
22
40
28
35
37
34
32.43
6.02
Mule
42
37
28
39
31
48
33
36.85
6.87
10) In a class survey done in a statistics class, students were asked, “Suppose that you are buying a
new car and the model you are buying is available in three colors: silver, blue, or green. Which
color would you pick?” Of the 111 students who responded, 59 picked silver, 27 picked green,
and 25 picked blue. Is there sufficient evidence to conclude that the colors are not equally
preferred?
11) Suppose that on a typical day, the proportion of students who drive to campus is .30 (30%), the
proportion of students who bike is .60 (60%), and the remaining .10 (10%) come to campus (e.g.,
walk, take the bus, get a ride). The campus sponsors a “spare the air” day to encourage people
not to drive to campus on that day. They want to know whether the proportion using each
mode of transportation on that day differ from the norm. To test this hypothesis, a random
sample of 300 students that day was asked how they got to campus, with the following results:
Method of
Transportation
Frequency
Drive
Bike
Other
Total
80
200
20
300
12) Ashley is eating ice cream when she gets a brain freeze. Her thought is that it’s because she was eating
with her left hand. So she gets 100 bowls of cookie dough ice cream and asks 50 of her friends to
randomly choose either their right or their left hand. They eat as fast as they can until they get a brain
freeze. Then she asks them to switch hands with a new bowl of cookie dough ice cream and eat until
they get a brain freeze. Here is her data:
Left hand:
50 bowls
Average time: 48 seconds
Standard Deviation: 27 seconds
Right hand:
50 bowls
Average time: 37 seconds
Standard Deviation: 24 seconds
Pooled Standard deviation: 25.5 seconds
Matched Pairs deviation: 2.5 seconds
Difference in deviations: 3 seconds
Make a 99% Confidence interval for the difference in times for each hand
13) The MagBlast company demolishes buildings by setting four charges on each corner of the
building and one in the middle. The charges are supposed to detonate at the same time, but
sometimes something goes wrong and not all of them ignite on time. If you had 500 buildings
the distribution for the expected number of charges that would go off on time is given below:
All five
detonate
406
Only
four
35
Only
three
27
Only
two
15
Just one
detonates
10
No charges
detonate
7
You have been asked to investigate what would happen to the charges if a building was demolited when
it is raining. To find out you randomly select 500 buildings around the United States and demolish them
when it is raining. The data you observed is given below:
All five
detonate
417
Only
four
25
Only
three
31
Only
two
17
Just one
detonates
10
No charges
detonate
0
Test whether your data supports the hypothesis that rain affects the detonation of the charges
(assuming homeland security does not catch you).
14) Captain Buckwheat uses a sextant to measure the height of a ship when he spots it on the
horizon. After attacking the ship he calculates the gold looted. His goal is to be able to predict
the amount of gold based on the ship height. Below is the data and regression from the 500
ships he has attacked during his career.
Coefficients:
Estimate
(Intercept) 9.8958
Height
6.5537
Std. Error
0.1879
0.3154
t value
52.66
20.78
Pr(>|t|)
<2e-16 ***
<2e-16 ***
Based on the output above, are there any assumptions that you feel should be investigated?
Based on the output above find a 90% confidence interval for the slope of the regression line.
15) Every day I see the elevator says it’s been “inspected.” Somehow I feel dubious. I think the
elevator gets inspected less than 70% of the time. I plan on doing a hypothesis test by
investigating 100 elevators and using α=0.10. If the true percentage was actually only 65%, how
powerful would my test be?
16) Randomly selected deaths of motorcycle riders are summarized in the table below. Use a .05
significance level to test the claim that such fatalities occur with equal frequency in the different
months.
Month
Jan
Feb
Mar
Apr
May
June
July
Aug
Sept
Oct
Nov
Dec
Observed
6
8
10
16
22
28
24
28
26
14
10
8
Expected
Tot
Download