{"title":"Comparing Two Population Proportions","authors":"Chelsea Myers","doi":"10.1201/9780429292002-ch12","DOIUrl":null,"url":null,"abstract":"In this worksheet, we will test whether or not the proportions of blue M&M's and red M&M's in a random package are the same. Before beginning, do you think they will be the same? 1. You have been given 10 bags of M&M's. Separate these into two piles of 5 bags each. One of these piles will be your sample for red M&M's, and the other will be your sample for blue M&M's. 2. Open the five bags in one of your piles (it doesn't matter which one). Count the total number of M&M's, this is n 1. Count the total number of red M&M's and compute the proportion. This is p 1. n 1 = p 1 = 3. Open the five bags in the other pile. Count the total number of M&M's, this is n 2. Count the total number of blue M&M's and compute the proportion. This is p 2. n 2 = p 2 = 4. Formulate (mathematically) the null hypothesis that these proportions are the same. H 0 : 5. Formulate the alternative hypotheses. Is it one or two sided? H a : 6. In order to proceed, we compute a new statistic, called p C. This is the total proportion of successes: p C = total number of successes in both samples combined size of both samples .","PeriodicalId":264171,"journal":{"name":"Project-Based R Companion to Introductory Statistics","volume":"417 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2020-12-04","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Project-Based R Companion to Introductory Statistics","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1201/9780429292002-ch12","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
In this worksheet, we will test whether or not the proportions of blue M&M's and red M&M's in a random package are the same. Before beginning, do you think they will be the same? 1. You have been given 10 bags of M&M's. Separate these into two piles of 5 bags each. One of these piles will be your sample for red M&M's, and the other will be your sample for blue M&M's. 2. Open the five bags in one of your piles (it doesn't matter which one). Count the total number of M&M's, this is n 1. Count the total number of red M&M's and compute the proportion. This is p 1. n 1 = p 1 = 3. Open the five bags in the other pile. Count the total number of M&M's, this is n 2. Count the total number of blue M&M's and compute the proportion. This is p 2. n 2 = p 2 = 4. Formulate (mathematically) the null hypothesis that these proportions are the same. H 0 : 5. Formulate the alternative hypotheses. Is it one or two sided? H a : 6. In order to proceed, we compute a new statistic, called p C. This is the total proportion of successes: p C = total number of successes in both samples combined size of both samples .