





Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!






Stat 225 - Fall 2011 Exam 3
Your Name: _______________________________________________________
Your Section (Circle One):
Juan (7:30) Mike C. (8:30) Mike C. (9:30) Yen-Ning (10:30)
Yen-Ning (11:30) Chris (12:30) Chris (1:30) Jeremy (2:30)
Jeremy (3:30) Mike L. (4:30)
Instructions:
Show your work on ALL questions. Unsupported work will NOT receive full credit.
Decimal answers should be exact, or to exactly 4 decimal places. (Examples: if it is. use .25, if it is say .57891234 then use .5789.)
You are responsible for upholding the Honor Code of Purdue University. This includes protecting your work from other students.
Please write legibly. If a grader cannot read your writing, NO credit will be given.
You are allowed the following aids: 1 one-page 8.5" x 11" handwritten (in your handwriting) cheat sheets, a scientific calculator, and pencils or pens.
Instructors will not interpret questions for you. If you do have questions, wait until you have looked over the whole exam so that you can ask all of your questions at one time.
You must show your student ID (upon request), turn in your cheat sheet and sign the class roster when you turn in your exam to your instructor.
Turn off your cell phone before the exam begins.
Question Points Possible Points Earned 1 20 2 8 3 20 4 12 5 4 6 11 7 13 8 11 Cheat Sheet 1 Total 100
(observed counts) Left^ Right^ Total Chocolate with PB Chips
Snickerdoodle 99 75 174 Chocolate Chip^147 321 Total 284 422 706
a) (2 points) Calculate and fill in the row and column totals, as well as the overall total.
See above
b) (6 points) Use the information above to create a table of Expected counts.
Expected Counts Left Right Ch w pb 25.74504 38. Sn 69.99433 104. CC 188.2606 279.
c) (6 points) Use your prior information to make a table of partial chi-squared values (a chi-squared value for each individual cell).
Partial Chi-squared Values Left Right Ch w pb 5.833511 3. Sn 12.01995 8. CC 9.042991 6.
A. Cluster Sampling B. Convenience Sampling C. Crosstabulations D. Scatterplot
E. Independent F. IQR G. line graph H. Qualitative
I. Quantitative J. Pie Chart K. Variance L. Ordinal
M. Nominal O. Stratified Random Sampling P. Systematic Sampling Q. Probability Sampling
R. Cross Sectional Data S. Time Series Data T. Elements U. Observation
_F_____ a. You would use this measure of variability if your data is skewed.
__O____ b. The "Almost Home Humane Society" was wondering how healthy its animals were. It divided the animals into type (dog, cat, ...) and then took a sample from each type and gave the selected animals a check-up. This is an example of _____.
C c. If you wanted a graphical representation of the frequency of income level (high, medium, and low) and happiness level (very, moderately, and not), you would use a(n) _____.
____D__ d. If you wanted a graphical representation of the relationship between height (in inches) and weight (in pounds), you would use a(n) _____.
____A__ e. The "Almost Home Humane Society" was wondering how healthy its animals were. It divided the animals into type (dog, cat, ...) and then randomly selected a few types of animals. All animals of the types selected were given check-ups. This is an example of _____.
G f. If you wanted a graphical representation of time series data, you would use a(n) ___.
__I____ g. Amount of snowfall in West Lafayette, Indiana is an example of a ____ variable.
M_ h. Type of religion (Catholicism, Islam, ...) is an example of a ____ qualitative variable.
Q i. Systematic sampling is a type of ____.
__T____ j. If one were looking at the GPAs, majors, years, etc. of the students in Krannert, the students in Krannert are the _____.
a) (4 points) Create a stem and leaf plot.
Stem | Leaves
0 | 2
1 | 0
2 | 4, 7
3| 2, 3, 6, 7
4 |
5 |
6 | 9, 9
7 | 1, 4
8 |
9 | 6
10 |
11 | 9
12 | 0
b) (1 point) What is the mode of the data?
69 for part c: 2, 27, 37, 74, and 120 is the 5 number summary
c) (7 points) Create a boxplot (regular or modified, your choice) of the data.
0
20
40
60
80
100
120
e) (3 points) Gabe Carimi, an offensive tackle for the Chicago Bears, has a height of 79 inches. Is a prediction appropriate for Gabe's weight? Please tell why or why not. Additionally, if it is appropriate, please calculate the prediction. (Interestingly, his actual weight is 316 pounds.)
Since 316 is within our data range, prediction is appropriate. Prediction: y= 4.592x-45.31 so here y=4.59279-45.31 = 317.458 which is really close to the actual value of 316.
a) (5 points) Construct a 61.02% confidence interval for the true proportion of people who prefer Moe's.
p ˆ is 123/200 = .615. So the standard deviation of p ˆis p ˆ^ (1^^ p ˆ) n
= .034407. z is .86. So the
61.02% CI is .615 ± .86*.034407 = (.5854, .6446). Note if they used the 61.02th percentile of z, they would get z=.38 and the CI as (.6019, .6281).
b) (2 points) Does your answer above support a hypothesis that 59% of Purdue students favor Moe's to El Rodeo?
Yes, 59% is within the CI so we have no evidence to dispute it. Notice this is not true if the used the 61.02th percentile of z.
c) (3 points) For this part and the next part assume we are interested in an 88.12% CI. For this part only, assume that the true proportion of Purdue students that favor Moe's to El Rodeo is .7. How large a sample must this new student take in order to ensure that the margin of error is at most 1%?
z is 1.56, n >= (z/moe)^2p(1-p) = 5110.56. Since this is asking about n, we would say n >=
d) (3 points) Now assume we do not know p. How large a sample must this student take in order to ensure that the MOE is at most 1%? How much more people does he have to include now compared to your answer from part c?
z is still 1.56, and n >= (z/moe)^2p(1-p). Since we do not know p, this function is maximized at a value of p=.5, so that would be our worst case scenario. So, n >= 6084. Therefore, we would need 973 more participants.
a) (3 points) Find the probability that a person in this study was happy? Is this a joint, marginal, or conditional probability?
P(happy) = (24+50+22)/200 = .48, marginal
b) (4 points) Out of the people with the medium income level, what is the probability that they were not happy? Is this a joint, marginal, or conditional probability?
P(not happy | medium income) = 41/ (50+41) = .4505, conditional
c) (4 points) Given that a person was not happy, what is the probability that they had a low income level? Is this a joint, marginal, or conditional probability?
P(low income | not happy) = 60 / (200-96) = .5769, conditional
24 50 22
60 3