Docsity

MATH 203: Analyzing Poll Data and Fitting Distributions - Prof. David K. Neal, Study notes of Statistics

Toggle sidebar
bg1
MATH 203 Sample Problems Solutions
1. Among Independents, reported preferences for the 2008 Democrat Presidential
nominee as of February 19, 2007 were:
Hillary Clinton Barack Obama Al Gore John Edwards Other/Und.
35% 25% 10% 5% 25%
However an April 2007 poll of 900 Independents gave the following preferences:
Hillary Clinton Barack Obama Al Gore John Edwards Other/Und.
288 261 108 54 189
(a) If the Feb. 19 preferences still held in April, then what would be the expected
numbers of preferences for each candidate with a new poll of 900 Independents?
Hillary Clinton Barack Obama Al Gore John Edwards Other/Und.
900
ร—
0.35 = 315 900
ร—
0.25 = 225 900
ร—
0.10 = 90 900
ร—
0.05 = 45 900
ร—
0.25 = 225
(b) To test the goodness of fit, use your numerical values from Part (a) to find the
Pearson test statistic.
x=(fiโˆ’ei)
2
ei
โˆ‘
=(288 โˆ’315)2
315 +(261 โˆ’225)2
225 +(108 โˆ’90)2
90 +(54 โˆ’45)2
45 +(189โˆ’225)2
225
=272
315 +362
225 +182
90 +92
45 +362
225 โ‰ˆ19.234
(c) Compute the
P
-value.
With 5 categories (or bins), use the right-tail of the
2(4)
curve:
2cdf(19.234, 1E99, 4) โ‰ˆ0.000707
(d) Is there significant evidence now to reject the Feb. preferences? Use the
P
-value to
explain your conclusion in detail.
If the February preferences still held, then there would be almost no chance
(only 0.0007 probability) of getting the new poll of preference freuencies that differ
so much from what would be expected. We have strong evidence to now reject
the preferences from February.
pf2

Partial preview of the text

Download MATH 203: Analyzing Poll Data and Fitting Distributions - Prof. David K. Neal and more Study notes Statistics in PDF only on Docsity!

MATH 203 Sample Problems Solutions

  1. Among Independents, reported preferences for the 2008 Democrat Presidential nominee as of February 19, 2007 were:

Hillary Clinton Barack Obama Al Gore John Edwards Other/Und. 35% 25% 10% 5% 25%

However an April 2007 poll of 900 Independents gave the following preferences:

Hillary Clinton Barack Obama Al Gore John Edwards Other/Und. 288 261 108 54 189

(a) If the Feb. 19 preferences still held in April, then what would be the expected numbers of preferences for each candidate with a new poll of 900 Independents?

Hillary Clinton Barack Obama Al Gore John Edwards Other/Und.

900 ร— 0.35 = 315 900 ร— 0.25 = 225 900 ร— 0.10 = 90 900 ร— 0.05 = 45 900 ร— 0.25 = 225

(b) To test the goodness of fit, use your numerical values from Part (a) to find the Pearson test statistic.

x =

( fi โˆ’ ei )^2 ei

(288 โˆ’ 315)^2

(261 โˆ’ 225)^2

(108 โˆ’ 90)^2

(54 โˆ’ 45)^2

(189โˆ’ 225)^2

(c) Compute the P -value.

With 5 categories (or bins), use the right-tail of the 2 (4) curve:

(^2) cdf(19.234, 1E99, 4) โ‰ˆ 0.

(d) Is there significant evidence now to reject the Feb. preferences? Use the P -value to explain your conclusion in detail.

If the February preferences still held, then there would be almost no chance (only 0.0007 probability) of getting the new poll of preference freuencies that differ so much from what would be expected. We have strong evidence to now reject the preferences from February.

  1. Among the choices below, what is your most important โ€œgadget?โ€ My guesses for the responses are:

Cell Phone IPod Laptop Calculator 45% 30% 20% 5%

But a survey of 400 students gives the following responses:

Cell Phone IPod Laptop Calculator 200 115 70 15

(a) If my guesses were correct, then what would be the expected numbers of responses for each choice in a survey of 400 students?

Cell Phone IPod Laptop Calculator

400 ร— 0.45 = 180 400 ร— 0.30 = 120 400 ร— 0.20 = 80 400 ร— 0.05 = 20

(b) To test the goodness of fit, use your numerical values from Part (a) to find the Pearson test statistic.

x =

( fi โˆ’ ei )^2 ei

(200 โˆ’ 180)^2

(115 โˆ’ 120)^2

(70 โˆ’ 80)^2

(15 โˆ’ 20)^2

(c) Compute the P -value.

With m = 4 categories, use the right-tail of the 2 ( m โˆ’ 1) = 2 (3) curve:

(^2) cdf(4.93, 1E99, 3) โ‰ˆ 0.

(d) Is there significant evidence to reject my guesses? Use the P -value to explain your conclusion in detail.

If my guesses were true, then there would be about a 17.7% chance of getting response frequencies that differ as much from expected as these do. We do not have strong enough evidence to reject the guesses.