Homework #9

advertisement
Name:___________________________________
Homework #9 (Night)
Due: Mon, Jul 20, 6:30pm
Read the directions carefully, and answer all parts of each question. Write neatly; if I can’t read it, it will
be counted wrong. You may work in groups, but you must submit your own solution. Any submissions
that are word-for-word identical will receive a score of 0. Use this sheet as a cover page or lose five
points. No late homework will be accepted under any circumstances.
With the recent plans to close Guantanamo Bay prison, the question of where the current “residents”
must be placed upon the closure. Authorities are investigating which prisons would have experience in
this matter. Below is the number of violent offenders held at the listed locations in the given years.
2005
2006
2007
Marion, IL
Florence,
CO
46
49
41
47
45.75
49
54
51
52
51.5
Hardin, MT
53
55
50
51
52.25
49.33333 52.66667 47.33333
50
Year Avg
2008 Loc. Avg
1. Using One-Way ANOVA, test that all location (factor) means are equal. If necessary, determine
which means differ from each other. SST = 163.67, SSB = 101.16, and SSW = 62.5 and α=0.05.
2. We also should ensure that there is no excess variation in the years that might affect our results.
Using Two-Way ANOVA, test that all yearly (block) means are equal. If necessary, determine
which means differ from each other and test to ensure that your original results are unaffected.
SST = 163.67, SSB = 101.16, SSBL = 43.67, and SSW = 18.83, and α=0.05.
The Obama Administration recently raised the federal tax rate on cigarettes in an effort to curb
smoking. From a dataset compiled from the 50 states, the correlation between pack price and
cigarette purchases is -0.22.
3. Test that this correlation is significant (α=0.05).
The following regression was run to further quantify the relationship between cigarette purchases
and pack price.
%SMOKEi = 26.14 – 0.87PRICEi + εi, r2 = 0.048,
4. Answer or comment on the following:
a. If the national pack price were 3.00, what percent of the population would smoke?
b. If the national pack price were 4.50, what percent of the population would smoke?
c. The p-value on the coefficient on PRICEi is 0.04. Comment on the significance of pack
price as a predictor of smoking.
d. The r2 = 0.048. Comment on the effectiveness of this regression.
“I may be drunk, Miss, but in the morning I will be sober and you will still be ugly.”
-Winston Churchill
Download