Docsity

Chapter 4 hypothesis tests, Assignments of Statistics

Toggle sidebar
bg1
1. The p-value is
A) the probability that the null hypothesis is true.
B) the probability that the alternative hypothesis is true.
C) the probability, when the null hypothesis is true, of obtaining a sample as extreme
as (or more extreme than) the observed sample.
D) the probability, when the alternative hypothesis is true, of obtaining a sample as
extreme as (or more extreme than) the observed sample.
Ans: C Difficulty: Medium L.O.: 4.2.1
2. A Type I error occurs by
A) rejecting the null hypothesis when the null hypothesis is false.
B) not rejecting the null hypothesis when the null hypothesis is false.
C) rejecting the null hypothesis when the null hypothesis is true.
D) not rejecting the null hypothesis when the null hypothesis is true.
Ans: C Difficulty: Medium L.O.: 4.3.3
3. A Type II error occurs by
A) rejecting the null hypothesis when the null hypothesis is false.
B) not rejecting the null hypothesis when the null hypothesis is false.
C) rejecting the null hypothesis when the null hypothesis is true.
D) not rejecting the null hypothesis when the null hypothesis is true.
Ans: B Difficulty: Medium L.O.: 4.3.3
4. An article published in the Canadian Journal of Zoology presented a method for
estimating the body fat percentage of North American porcupines; the method was
illustrated with a sample of n = 25 porcupines. Based on this sample, a 95% bootstrap
confidence interval for the average body fat percentage of porcupines is 17.4% to 25.8%.
Which of the following null hypotheses would be rejected based on this confidence
interval?
A)
:
o
H
18.6% C)
:
o
H
20.0%
B)
:
o
H
26.6% D)
:
o
H
22.9%
Ans: B Difficulty: Medium L.O.: 4.5.1
Page 1
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e

Partial preview of the text

Download Chapter 4 hypothesis tests and more Assignments Statistics in PDF only on Docsity!

  1. The p-value is

A) the probability that the null hypothesis is true.

B) the probability that the alternative hypothesis is true.

C) the probability, when the null hypothesis is true, of obtaining a sample as extreme

as (or more extreme than) the observed sample.

D) the probability, when the alternative hypothesis is true, of obtaining a sample as

extreme as (or more extreme than) the observed sample.

Ans: C Difficulty: Medium L.O.: 4.2.

  1. A Type I error occurs by

A) rejecting the null hypothesis when the null hypothesis is false.

B) not rejecting the null hypothesis when the null hypothesis is false.

C) rejecting the null hypothesis when the null hypothesis is true.

D) not rejecting the null hypothesis when the null hypothesis is true.

Ans: C Difficulty: Medium L.O.: 4.3.

  1. A Type II error occurs by

A) rejecting the null hypothesis when the null hypothesis is false.

B) not rejecting the null hypothesis when the null hypothesis is false.

C) rejecting the null hypothesis when the null hypothesis is true.

D) not rejecting the null hypothesis when the null hypothesis is true.

Ans: B Difficulty: Medium L.O.: 4.3.

  1. An article published in the Canadian Journal of Zoology presented a method for

estimating the body fat percentage of North American porcupines; the method was

illustrated with a sample of n = 25 porcupines. Based on this sample, a 95% bootstrap

confidence interval for the average body fat percentage of porcupines is 17.4% to 25.8%.

Which of the following null hypotheses would be rejected based on this confidence

interval?

A)

o

H  

18.6% C)

o

H  

B)

o

H  

26.6% D)

o

H  

Ans: B Difficulty: Medium L.O.: 4.5.

  1. The following figure shows a randomization distribution for the hypotheses

1 2

o

H  

versus

1 2

a

H  

. The statistic used for each sample is

1 2

Dxx

. Which of the two

possible sample results provides the most evidence against H o

A)

1 2

x 56.5; x 51.

B)

1 2

x 50.2; x 53.

Ans: A Difficulty: Easy L.O.: 4.1.

  1. Of the two p-values, which provides more evidence against H o

A) p-value = 0.41 B) p-value = 0.

Ans: B Difficulty: Easy L.O.: 4.2.

  1. It is of interest to test the hypotheses H o

: p = 0.8 versus H a

: p < 0.8. The sample outcome,

based on n = 10 observations, is

p

= 0.7, and the randomization statistic to be calculated

is

p ˆ

. The p-value for this test was found to be 0.322. If the test was performed correctly,

where should the randomization distribution be centered?

A) 0.7 B) 10 C) 0.8 D) 0.

Ans: C Difficulty: Easy L.O.: 4.4.

  1. The significance level,

, represents the tolerable probability of making a Type II error.

Ans: False Difficulty: Medium L.O.: 4.3.

  1. A statistical test uses data from a sample to assess a claim about a population.

Ans: True Difficulty: Medium L.O.: 4.1.

  1. When generating a randomization sample, the sample should be consistent with the

________________ hypothesis.

Ans: null

Difficulty: Easy L.O.: 4.4.

Use the following to answer questions 15-18:

Match each p-value to the most appropriate conclusion.

A 0.0001 B 0.0735 C 0.6082 D 0.

  1. ________ "The evidence against the null and in favor of the alternative is very strong.

Ans: A

Difficulty: Medium L.O.: 4.3.

  1. ________ "The result is significant at the 5% level but not at a 1% level."

Ans: D

Difficulty: Medium L.O.: 4.3.

  1. ________ "There is really no evidence supporting the alternative hypothesis."

Ans: C

Difficulty: Medium L.O.: 4.3.

  1. ________ "The evidence against the null is significant, but only at the 10% level."

Ans: B

Difficulty: Medium L.O.: 4.3.

  1. Identify the error in the following hypotheses:

o

H p

versus

a

H p

Ans: The hypotheses should use p , not

p ˆ

Difficulty: Medium L.O.: 4.1.

  1. Identify the error in the following hypotheses:

o

H  

versus

a

H  

Ans: The null hypothesis should be "=" as only a single value can be specified; the not

equal should be used in the alternative.

Difficulty: Medium L.O.: 4.1.

  1. Identify the error in the following hypotheses: H o

: p = 30 versus H a

: p > 30.

Ans: The "30" is invalid as proportions must be between 0 and 1.

Difficulty: Medium L.O.: 4.1.

  1. The null and alternative hypotheses for a test are H o

: p = 0.6 vs. H a

: p > 0.6. Give the

notation for a sample statistic we might record for each simulated sample to create the

randomization distribution.

Ans:

p

Difficulty: Medium L.O.: 4.4.

Use the following to answer questions 23-26:

Consider testing the hypotheses H o

: p = 0.4 versus H a

: p > 0.4. Four possible sample statistics,

along with four possible p-values, are given. Match the statistics to their p-values.

A

p ˆ 0.

B

p ˆ 0.

C

p ˆ 0.

D

p ˆ 0.

  1. ________ p-value = 0.

Ans: B

Difficulty: Medium L.O.: 4.2.

  1. ________ p-value = 0.

Ans: A

Difficulty: Medium L.O.: 4.2.

  1. ________ p-value = 0.

Ans: D

Difficulty: Medium L.O.: 4.2.

  1. ________ p-value = 0.

Ans: C

Difficulty: Medium L.O.: 4.2.

  1. Briefly explain the difference between a "bootstrap distribution" and a "randomization

distribution".

Ans: A bootstrap distribution is created by repeatedly resampling from the original

sample (with replacement) to generate many samples that are similar to the original

sample (that is, many samples that could have come from the population that the

original sample came from). The bootstrap distribution is then used to create

confidence intervals for a parameter.

A randomization distribution is used in hypothesis testing and is created by forcing

the sample to be consistent with the null hypothesis before repeatedly resampling.

This generates a distribution of sample outcomes that are reasonable under the null

hypothesis. This distribution is then used to estimate a p-value by comparing a

statistic from the original sample to the randomization distribution.

Difficulty: Challenging L.O.: 4.5.

  1. Decreasing the significance level of a hypothesis test (say, from 5% to 1%) will cause the

p-value of an observed test statistic to

A) increase. B) decrease. C) stay the same.

Ans: C Difficulty: Challenging L.O.: 4.2.1; 4.2.

  1. Which of the following samples provides the most evidence that the amount of time spent

studying for an exam and the grade on the exam are positively correlated?

A) Sample A B) Sample B C) Sample C D) Sample D

Ans: A Difficulty: Medium L.O.: 4.1.

Use the following to answer questions 32-34:

A student in an introductory statistics course investigated if there is evidence that the proportion

of milk chocolate M&M's that are green differs from the proportion of dark chocolate M&M's

that are green. She purchased a bag of each variety, and her data are summarized in the following

table.

Green Not Green Total

Milk Chocolate 8 33 41

Dark Chocolate 4 38 42

Total 12 71 83

  1. Describe how you would generate a single randomization sample in this situation, and

identify (using the appropriate notation) the sample statistic you would record for each

sample.

Ans: The student wants to know if the proportion of green candies differs for the two

types of M&M's, implying that the null hypothesis would be that the proportion of

green candies is the sample for the two types.

If the null hypothesis were true, green candies would be equally likely to appear in

either bag. Since there are 83 candies, we should construct a deck of 83 cards - 12

of which are green (representing the 12 total green candies she observed) and the

rest can be white (representing the "other" colors she observed). We would shuffle

the deck and deal out two piles (one with 41 cards to represent the Milk Chocolate

candies and the other with 42 cards to represent the Dark Chocolate candies). From

those samples we could record the difference in the sample proportions of green

candies:

...

M C D C

pp

Difficulty: Medium L.O.: 4.4.

  1. Use technology and the provided data to test if this sample provides evidence that the

proportion of candies that are green differs for the two types of M&M's. Include an

assessment of the strength of your evidence.

Ans: Parameters: p m.c.

= the proportion of milk chocolate candies that are green and p d.c.

= the proportion of dark chocolate candies that are green

Hypothesis: H o

: p m.c.

= p d.c.

versus H a

: p m.c.

p d.c.

The sample difference in proportions is

....

m c d c

pp

The actual p-value for this test will vary depending upon the student's

randomization distribution, but it should be somewhere near 0.13. They should be

providing a two-sided p-value.

Their conclusion should be consistent with their p-value (and either a formal

decision based on a significance level or an informal statement of the strength of

their evidence against the null). Most p-values should lead the students to fail to

reject the null hypothesis and conclude that this sample does not provide evidence

that the proportion of green candies differs for the two types of M&M's.

Difficulty: Medium L.O.: 4.1.2; 4.2.2; 4.2.5; 4.3.2; 4.3.5; 4.4.3; 4.4.

  1. Use the following to answer questions a-d:

A student in an introductory statistics course investigated if there is evidence that the proportion

of milk chocolate M&M's that are green differs from the proportion of dark chocolate

M&M's that are green. She purchased a bag of each variety, and her data are summarized

in the following table.

Green Not Green Total

Milk Chocolate 8 33 41

Dark Chocolate 4 38 42

Total 12 71 83

a. Define the appropriate parameter(s) and state the hypotheses for testing if the proportion

of green M&M's differs for milk chocolate and dark chocolate M&M's.

Ans: p mc

= proportion of milk chocolate M&M's that are green

p dc

= proportion of dark chocolate M&M's that are green

H

o

: p mc

= p dc

H

a

: p mc

p dc

Difficulty: Medium L.O.: 4.1.

b. Describe how you would generate a single randomization sample in this situation, and

identify (using the appropriate notation) the sample statistic you would record for each

sample.

Ans: If the null hypothesis were true, green candies would be equally likely to appear in

either bag. Since there are 83 candies, we should construct a deck of 83 cards - 12

of which are green (representing the 12 total green candies she observed) and the

rest can be white (representing the "other" colors she observed). We would shuffle

the deck and deal out two piles (one with 41 cards to represent the Milk Chocolate

candies and the other with 42 cards to represent the Dark Chocolate candies). From

those samples we could record the difference in the sample proportions of green

candies:

...

M C D C

pp

Difficulty: Medium L.O.: 4.4.

c. Use technology to create a randomization distribution with at least 1,000 values for

testing these hypotheses. Use your randomization distribution to estimate the p-value for

this sample.

Ans: The actual p-value for this test will vary depending upon the student's

randomization distribution, but it should be somewhere near 0.13. They should be

providing a two-sided p-value.

Difficulty: Medium L.O.: 4.4.2; 4.4.

d. Use your p-value to make a decision about these hypotheses. Be sure to word your

decision in the context of the problem. Include an assessment of the strength of your

evidence.

Ans: Their conclusion should be consistent with their p-value (and either a formal

decision based on a significance level or an informal statement of the strength of

their evidence against the null). Though, most p-values should lead the students to

fail to reject the null hypothesis and conclude that this sample does not provide

evidence that the proportion of green candies differs for the two types of M&M's.

Difficulty: Medium L.O.: 4.3.2; 4.3.

  1. Use the following to answer questions a-d:

A student in an introductory statistics course investigated if there is evidence that the proportion

of milk chocolate M&M's that are green differs from the proportion of dark chocolate

M&M's that are green. She purchased a bag of each variety, and her data are summarized

in the following table.

Green Not Green Total

Milk Chocolate 8 33 41

Dark Chocolate 4 38 42

Total 12 71 83

d. Use your p-value to make a decision about these hypotheses. Be sure to word your

decision in the context of the problem. Include an assessment of the strength of your

evidence.

Ans: This p-value provides no evidence that the proportion of green candies differs for

milk chocolate and dark chocolate M&M's.

Difficulty: Medium L.O.: 4.3.2; 4.3.

Use the following to answer questions 37-39:

As of August 8, 2012, the national average price for a gallon of regular unleaded gasoline was

$3.63. The prices for a sample of n = 10 gas stations in the state of Illinois are provided.

It is of interest to use this sample to compare the average gas price in Illinois to the national

average.

  1. Describe how you could generate a single randomization sample in this situation, and

identify (using the appropriate notation) the sample statistic you would record for each

sample.

Ans: The student should first notice a couple of things:

  1. The sample mean is $3.975.

  2. Since the parameter (average gas price in Illinois) is going to be compared to the

"national average", the null hypothesis should state that

o

H  

The original sample needs to be consistent with the null hypothesis, so all

observations in the sample should be subtracted by 3.975-3.63 = 0.345 making the

sample mean now 3.63 (i.e., preserving the general structure of the original sample

but making it consistent with the null hypothesis). We could write each new sample

value on an index card, shuffle the cards, select one, record that value, replace that

card in the deck, and repeat (sampling with replacement) until we have a new

sample of size 10 that is consistent with the null hypothesis (yet still preserves the

structure of the original sample). We would then record the sample mean,

x

, from

this sample.

Difficulty: Medium L.O.: 4.4.

  1. Use the provided randomization distribution (based on 1,000 samples) to test if this

sample provides evidence that the average gas price in Illinois exceeds the national

average. Include an assessment of the strength of your evidence.

Ans: Parameter:

= average gas price in Illinois

Hypotheses:

o

H  

versus

a

H  

The sample statistic based on the original sample is

x 3.

None of the dots in the dotplot of the randomization distribution exceed (or are

equal to) the sample mean, so the p-value for this test is 0.

This p-value provides very strong evidence that the average gas price in Illinois is

greater than 3.63 (the national average).

Difficulty: Medium L.O.: 4.1.2; 4.2.2; 4.2.5; 4.3.2; 4.3.5; 4.4.

b. Describe how you would generate a single randomization sample in this situation, and

identify (using the appropriate notation) the sample statistic you would record for each

sample.

Ans: The student should first notice a couple of things:

  1. The sample mean is $3.975.

  2. Since the parameter (average gas price in Illinois) is going to be compared to the

"national average", the null hypothesis should state that

o

H  

The original sample needs to be consistent with the null hypothesis, so all

observations in the sample should be subtracted by 3.975-3.63 = 0.345 making the

sample mean now 3.63 (i.e., preserving the general structure of the original sample

but making it consistent with the null hypothesis). We could write each new sample

value on an index card, shuffle the cards, select one, record that value, replace that

card in the deck, and repeat (sampling with replacement) until we have a new

sample of size 10 that is consistent with the null hypothesis (yet still preserves the

structure of the original sample). We would then record the sample mean,

x

, from

this sample.

Difficulty: Medium L.O.: 4.4.

c. Use technology to create a randomization distribution with at least 1,000 values for

testing these hypotheses. Use your randomization distribution to estimate the p-value for

this sample.

Ans: The actual p-value will vary for the students, but they should be counting the

number of dots that correspond to sample statistics greater than or equal to the

observed 3.975 (which will likely be zero or very small).

Difficulty: Medium L.O.: 4.4.

d. Use your p-value to make a decision about these hypotheses. Be sure to word your

decision in the context of the problem. Include an assessment of the strength of your

evidence.

Ans: Their conclusion should be consistent with their p-value (and they will likely find

very strong evidence that the average gas price in Illinois exceeds the national

average).

Difficulty: Medium L.O.: 4.3.2; 4.3.

  1. Use the following to answer questions a-d:

As of August 8, 2012, the national average price for a gallon of regular unleaded gasoline was

$3.63. The prices for a sample of n = 10 gas stations in the state of Illinois are provided.

It is of interest to use this sample to compare the average gas price in Illinois to the

national average.

a. Define the appropriate parameter(s) and state the hypotheses for testing if this sample

provides evidence that the average gas price in Illinois exceeds the national average.

Ans: Parameter:

= average gas price in Illinois

Hypotheses:

o

H  

versus

a

H  

Difficulty: Medium L.O.: 4.1.

b. Describe how you would generate a single randomization sample in this situation, and

identify (using the appropriate notation) the sample statistic you would record for each

sample.

Ans: The student should first notice a couple of things:

  1. The sample mean is $3.975.

  2. Since the parameter (average gas price in Illinois) is going to be compared to the

"national average", the null hypothesis should state that

o

H  

The original sample needs to be consistent with the null hypothesis, so all

observations in the sample should be subtracted by 3.975-3.63 = 0.345 making the

sample mean now 3.63 (i.e., preserving the general structure of the original sample

but making it consistent with the null hypothesis). We could write each new sample

value on an index card, shuffle the cards, select one, record that value, replace that

card in the deck, and repeat (sampling with replacement) until we have a new

sample of size 10 that is consistent with the null hypothesis (yet still preserves the

structure of the original sample). We would then record the sample mean,

x

, from

this sample.

Difficulty: Medium L.O.: 4.4.

  1. What conclusion would the authors have made at the 10% significance level?

A) Tracking accuracy was significantly worse in the dual-task condition.

B) Tracking accuracy was not significantly worse in the dual-task condition.

C) Not enough information

Ans: A Difficulty: Challenging L.O.: 4.3.

  1. What conclusion would the authors have made at the 1% significance level?

A) Tracking accuracy was significantly worse in the dual-task condition.

B) Tracking accuracy was not significantly worse in the dual-task condition.

C) Not enough information

Ans: C Difficulty: Challenging L.O.: 4.3.

  1. What does the phrase "significantly worse" mean in this context?

Ans: The tracking accuracy tended to be lower for the individuals who are multi-tasking,

and the score is so much lower that the difference is not likely to be due to random

chance.

Difficulty: Medium L.O.: 4.1.

  1. Which type of error, Type I or Type II, could have occurred in this situation? Briefly

justify your answer.

Ans: They found that tracking accuracy was "significantly worse" which suggests they

rejected their null hypothesis. When a null hypothesis is rejected, the Type I error is

the possible error.

Difficulty: Medium L.O.: 4.3.

Use the following to answer questions 46-47:

In 2012 the Centers for Disease Control and Prevention reported that in a sample of 4,

African Americans 31% were Vitamin D deficient. A 90% confidence interval based on this

sample is (0.30, 0.32). It is believed that among the general population of Americans 8% suffer

from Vitamin D deficiency.

  1. Define the appropriate parameter and state the appropriate hypotheses for testing the

claim that, among African Americans, Vitamin D deficiency occurs at a rate other than

Ans: Parameter: p = proportion of African Americans that are Vitamin D deficient

Hypotheses: H o

: p = 0.08 versus H a

: p

Difficulty: Medium L.O.: 4.1.

  1. Does this confidence interval provide evidence that among African Americans Vitamin D

deficiency occurs at a rate other than 8%? What significance level is being used to make

this decision? Briefly justify your answer.

Ans: Yes. 8% is not included in the confidence interval, which indicates that it is not a

plausible value of the parameter ( p = proportion of African Americans who are

Vitamin D deficient). This provides evidence that Vitamin D deficiency occurs at a

rate other than 8% among African Americans. Since this is a 90% confidence

interval, this decision is being made at the 10% significance level.

Difficulty: Medium L.O.: 4.5.