Professional Documents
Culture Documents
Homework Solutions
You may (and should) use Fathom for all activities where calculations are required.
Hand in the solutions to the Homework Activities shown below:
Activity 18-7, 18-8, 18-9, 18-10, 18-15, 18-18, 18-20, 18-21
Activity 18-7: Charitable Contributions
a.
Estimate Proportion
Test Proportion
Fathom results:
The test statistic is z = -6.8
b. The p-value is close to 0; it is extremely rare for z to be less than -6.8.
c. No, this significance test has no meaning because you know that women constitute
less than half of the entire 2007 U.S. Senate because you have taken a census of the
population of interest. You know women make up exactly 16% of the 2007 Senate.
Activity 18-9: Distinguishing Between Colas
a. The null hypothesis is that the subject is just guessing and would correctly
identify the different brand of soda 1/3 of the time in the long run. In symbols,
the null hypothesis is H0: = .3333.
The alternative hypothesis is that the subject would correctly identify the different
brand of soda more than 1/3 of the time in the long run. In symbols, the
alternative hypothesis is Ha: > .3333.
b. You cant tell whether Randys sample data would necessarily lead to rejecting the
null hypothesis because you dont know how many times he ran the experiment. If he
only tried twice and succeeded 50% of the time, this would not be convincing evidence
that he is doing better than guessing, but if he tried 500 times and succeeded 50% of
the time, this would be very convincing evidence.
c.
Test Proportion
Fathom found the value z=1.905; the probability of getting a value of z at least this large
if the null hypothesis is true is .02. So, at the .05 significance level, reject H 0 and
conclude that Randy is doing better than guessing.
d. Assuming Randys success rate is 50%, the CLT says P( p > .46) = .7142 with
samples of size 50.
So, you expect about 71% of random
samples to yield a sample proportion
greater than .46 if Randys success rate
is 50% (therefore more than a 50/50
chance for Randy to do so).
e. The probability will increase because with the larger sample size the standard
deviation will decrease from .0707 to .05. (In the formula for z, the sample size, n, is in
the denominator of the denominator, so increasing n will increase z.)
f. The probability will increase because the standard deviation will decrease to .06665
and (more importantly) because .46 will be so much further below 2/3 than it is below
1/2. If the population proportion is even further above .46, the probability of obtaining a
sample proportion of .46 or more quickly increases.
Estimate Proportion
Estimate Proportion
Estimate Proportion
Estimate Proportion
b. These intervals are so narrow because the sample sizes are so large (which makes
the margins-of-error very small).
c. You would reject H0: = .5 vs. Ha: .5 at the .05 significance level for all three
situations (flips, spins, and tilts) because .5 is not contained in any of the 95%
confidence intervals.
d. H0: = .5
Ha: .5
Test Proportion
Flipped pennies:
Attribute: AttributeNam e
14709 out of 29015 , or 0.506945, are Category
Alternative hypothesis: The population proportion for Category is not
equal to 0.5 .
z = 2.366
p-value = .018
If it w ere true that the population proportion of Category w ere equal to 0.5
(the null hypothesis), and the sampling process w ere performed repeatedly,
the probability of getting a z value w ith an absolute value this great or
greater w ould be 0.018.
Note: This probability w as computed using the normal approxim ation.
The statistical evidence suggests that the probability of obtaining a head with a flipped
penny differs significantly from .5 (at the .05 level of significance).
For spins,
z = -14.19
p-value < 0.0001
Attribute: AttributeNam e
9197 out of 20422 , or 0.450348, are Category
Alternative hypothesis: The population proportion for Category is not
equal to 0.5 .
The test statistic, z, is -14.19.
Attribute:
Note: ThisAttributeNam
probability w ase computed using the normal approxim ation.
10087 out of 14611 , or 0.69037, are Category
Alternative hypothesis: The population proportion for Category is not
equal to 0.5 .
The test statistic, z, is 46.02.
If it w ere true that the population proportion of Category w ere equal to 0.5
(the null hypothesis), and the sampling process w ere performed repeatedly,
the probability of getting a z value w ith an absolute value this great or
greater w ould be < 0.0001.
Note: This probability w as computed using the normal approxim ation.
The statistical evidence suggests that the probability of obtaining a head with a spun
penny differs significantly from .5 (at the .05 level of significance).
e. No; although you are confident that the probability of obtaining a head with a flipped
penny is not .50, the probability is quite close to .50. The confidence interval tells you
this probability is somewhere between .5012 and .5127, which for all practical purposes
is .50.
d. If the sample size were increased from 100 to 200 and all else remained the same,
the power of the test would increase. Of course, in this case, it is impossible for the
power to increase beyond 100%.
e. If the significance level were increased from .05 to .10 and all else remained the
same, the power of the test would increase. Of course, in this particular case, the power
cannot increase because it is already 100%.
f. If the right-front tire were actually chosen 40% of the time instead of 50% of the time,
and all else remained the same, the power of the test would decrease. This result is
verified by the simulation, which shows that the power of the test decreased to about
93.5% in this case.
p
Activity 18-20: Veterans Marital Problems
a. Let represent the population proportion of all Vietnam veterans who are divorced.
H0: = .27 (The percentage of all Vietnam veterans who are divorced is 27%.)
Ha: > .27 (The percentage of all Vietnam veterans who are divorced is more than 27%.)
b. A Type I error would be deciding that the Vietnam veteran divorce rate is more than
27% when it is actually no more than 27%.
c. A Type II error would be failing to realize that the Vietnam veteran divorce rate is
more than 27%.
Activity 18-21: Hiring Discrimination
A Type I error would be deciding that there is discrimination (concluding that not
enough African Americans are hired by the Hazelwood School District) when,
in fact, there is no discrimination.
A Type II error would be failing to realize that the Hazelwood School District was
discriminating (not hiring enough African Americans).
In this case, which type of error is more serious is a personal opinion
(false accusations vs. allowing discrimination to continue).