Hypothesis Testing with Two Samples

# Hypothesis Testing for Two Means and Two Proportions

OpenStaxCollege

Class Time:

Names:

Student Learning Outcomes

- The student will select the appropriate distributions to use in each case.
- The student will conduct hypothesis tests and interpret the results.

- the business section from two consecutive days’ newspapers
- three small packages of M&Ms®
- five small packages of Reese’s Pieces®

Increasing Stocks Survey

Look at yesterday’s newspaper business section. Conduct a hypothesis test to determine if

the proportion of New York Stock Exchange (NYSE) stocks that increased is greater than the

proportion of NASDAQ stocks that increased. As randomly as possible, choose 40 NYSE

stocks, and 32 NASDAQ stocks and complete the following statements.

*H*_{0}: _________*H*_{a}: _________- In words, define the random variable.
- The distribution to use for the test is _____________.
- Calculate the test statistic using your data.
- Draw a graph and label it appropriately. Shade the actual level of significance.
- Graph:
- Calculate the
*p*-value.

- Graph:
- Do you reject or not reject the null hypothesis? Why?
- Write a clear conclusion using a complete sentence.

Decreasing Stocks Survey

Randomly pick eight stocks from the newspaper. Using two consecutive days’ business sections, test whether the stocks went down, on average, for the second day.

*H*: _________{0}*H*_{a}: ________- In words, define the random variable.
- The distribution to use for the test is _____________.
- Calculate the test statistic using your data.
- Draw a graph and label it appropriately. Shade the actual level of significance.
- Graph:
- Calculate the
*p*-value:

- Graph:
- Do you reject or not reject the null hypothesis? Why?
- Write a clear conclusion using a complete sentence.

Candy Survey

Buy three small packages of M&Ms and five small packages of Reese’s Pieces (same net weight as the M&Ms). Test whether or not the mean number of candy pieces per package is the same for the two brands.

*H*: _________{0}*H*: _________{a}- In words, define the random variable.
- What distribution should be used for this test?
- Calculate the test statistic using your data.
- Draw a graph and label it appropriately. Shade the actual level of significance.
- Graph:
- Calculate the
*p*-value.

- Graph:
- Do you reject or not reject the null hypothesis? Why?
- Write a clear conclusion using a complete sentence.

Shoe Survey

Test whether women have, on average, more pairs of shoes than men. Include all forms of sneakers, shoes, sandals, and boots. Use your class as the sample.

*H*: _________{0}*H*: _________{a}- In words, define the random variable.
- The distribution to use for the test is ________________.
- Calculate the test statistic using your data.
- Draw a graph and label it appropriately. Shade the actual level of significance.
- Graph:
- Calculate the
*p*-value.

- Graph:
- Do you reject or not reject the null hypothesis? Why?
- Write a clear conclusion using a complete sentence.