Skip to ContentGo to accessibility pageKeyboard shortcuts menu
OpenStax Logo
Statistics

10.5 Hypothesis Testing for Two Means and Two Proportions

Statistics10.5 Hypothesis Testing for Two Means and Two Proportions

Stats Lab

Hypothesis Testing for Two Means and Two Proportions

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.
Supplies:
  • The business section from two consecutive days’ newspapers
  • Three small packages of multicolored chocolates
  • Five small packages of peanut butter candies

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.

  1. H0: _________
  2. Ha: _________
  3. In words, define the random variable.
  4. The distribution to use for the test is _____________.
  5. Calculate the test statistic using your data.
  6. Draw a graph and label it appropriately. Shade the actual level of significance.
    1. Graph:
      This is a blank graph template. The vertical and horizontal axes are unlabeled.
      Figure 10.13
    2. Calculate the p value.
  7. Do you reject or not reject the null hypothesis? Why?
  8. Write a clear conclusion using a complete sentence.

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

  1. H0: ________
  2. Ha: ________
  3. In words, define the random variable.
  4. The distribution to use for the test is _____________.
  5. Calculate the test statistic using your data.
  6. Draw a graph and label it appropriately. Shade the actual level of significance.
    1. Graph
      This is a blank graph template. The vertical and horizontal axes are unlabeled.
      Figure 10.14
    2. Calculate the p value:
  7. Do you reject or not reject the null hypothesis? Why?
  8. Write a clear conclusion using a complete sentence.

Candy SurveyBuy three small packages of multicolored chocolates and five small packages of peanut butter candies (same net weight as the multicolored chocolates). Test whether the mean number of candy pieces per package is the same for the two brands.

  1. H0: ________
  2. Ha: ________
  3. In words, define the random variable.
  4. What distribution should be used for this test?
  5. Calculate the test statistic using your data.
  6. Draw a graph and label it appropriately. Shade the actual level of significance.
    1. Graph
      This is a blank graph template. The vertical and horizontal axes are unlabeled.
      Figure 10.15
    2. Calculate the p value.
  7. Do you reject or not reject the null hypothesis? Why?
  8. 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.

  1. H0: ________
  2. Ha: ________
  3. In words, define the random variable.
  4. The distribution to use for the test is ________________.
  5. Calculate the test statistic using your data.
  6. Draw a graph and label it appropriately. Shade the actual level of significance.
    1. Graph
      This is a blank graph template. The vertical and horizontal axes are unlabeled.
      Figure 10.16
    2. Calculate the p value.
  7. Do you reject or not reject the null hypothesis? Why?
  8. Write a clear conclusion using a complete sentence.
Citation/Attribution

This book may not be used in the training of large language models or otherwise be ingested into large language models or generative AI offerings without OpenStax's permission.

Want to cite, share, or modify this book? This book uses the Creative Commons Attribution License and you must attribute Texas Education Agency (TEA). The original material is available at: https://www.texasgateway.org/book/tea-statistics . Changes were made to the original material, including updates to art, structure, and other content updates.

Attribution information
  • If you are redistributing all or part of this book in a print format, then you must include on every physical page the following attribution:
    Access for free at https://openstax.org/books/statistics/pages/1-introduction
  • If you are redistributing all or part of this book in a digital format, then you must include on every digital page view the following attribution:
    Access for free at https://openstax.org/books/statistics/pages/1-introduction
Citation information

© Apr 16, 2024 Texas Education Agency (TEA). The OpenStax name, OpenStax logo, OpenStax book covers, OpenStax CNX name, and OpenStax CNX logo are not subject to the Creative Commons license and may not be reproduced without the prior and express written consent of Rice University.