{"id":458,"date":"2017-04-15T03:24:49","date_gmt":"2017-04-15T03:24:49","guid":{"rendered":"https:\/\/courses.lumenlearning.com\/conceptstest1\/chapter\/hypothesis-test-for-difference-in-two-population-proportions-1-of-6\/"},"modified":"2017-06-06T21:29:08","modified_gmt":"2017-06-06T21:29:08","slug":"hypothesis-test-for-difference-in-two-population-proportions-1-of-6","status":"publish","type":"chapter","link":"https:\/\/courses.lumenlearning.com\/suny-wmopen-concepts-statistics\/chapter\/hypothesis-test-for-difference-in-two-population-proportions-1-of-6\/","title":{"raw":"Hypothesis Test for Difference in Two Population Proportions (1 of 6)","rendered":"Hypothesis Test for Difference in Two Population Proportions (1 of 6)"},"content":{"raw":"<h2>Construct and interpret an appropriate hypothesis test to compare two population\/treatment group proportions.<\/h2>\r\n<div class=\"textbox learning-objectives\">\r\n<h3>Learning Objectives<\/h3>\r\n<ul>\r\n \t<li>Recognize when to use a hypothesis test or a confidence interval to compare two population proportions or to investigate a treatment effect for a categorical variable.<\/li>\r\n \t<li>Under appropriate conditions, conduct a hypothesis test for comparing two population proportions or two treatments. State a conclusion in context.<\/li>\r\n<\/ul>\r\n<\/div>\r\n<h3>Introduction<\/h3>\r\nIn <em>Inference for Two Proportions<\/em>, our focus is on inference that compares two populations or two treatments with a categorical response variable. The parameters and statistics are proportions. In the section \"Estimate the Difference between Population Proportions,\" we learned how to use a difference in sample proportions to calculate a confidence interval. The confidence interval estimates a treatment effect or the difference between two population proportions. In this section, \"Hypothesis Test for a Difference in Population Proportions,\" we learn to use a difference in sample proportions to test a hypothesis about a treatment effect or a hypothesis that compares two population proportions.\r\n\r\nWe did hypothesis tests in <em>Inference for One Proportion<\/em>. Each claim involved a single population proportion. Now we will test claims about a treatment effect or about a difference in population proportions, and we\u2019ll see that the steps and the logic of the hypothesis test are the same. Before we get into the details, let\u2019s practice identifying research questions and studies that involve two populations or two treatments with a categorical response variable. Here are some examples.\r\n\r\n<img class=\"alignnone\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/1729\/2017\/04\/15032448\/m9_inference_two_proportion_topic_9_3_m9_hypo_test_diff_two_pop_prop_1_image1.png\" alt=\" Example 1: Research Question: Are conservatives less likely to smoke cannabis than liberals? Study Design: Study randomly selected adults in U.S. Variables: Explanatory: Conservative or liberal - two populations. Response: smoke cannabis (yes\/no). Type of Inference; Test a hypothesis about the difference between two population proportions: the proportion of conservatives who smoke cannabis and the proportion of liberals who smoke cannabis. No cause-and-effect conclusion possible with a survey. Example 2: Research Question: Is one political speech more effective than another in producing voter support for a candidate? Study Design: Experiment randomly assigns a sample of voters to hear speech A or B. Variables: Explanatory: Speech A or Speech B -two treatments. Response: support candidate (yes\/no) Type of Inference; Test a hypothesis about the treatment effect. Compare the difference between two proportions: the proportion of those who support the candidate in each treatment group. Cause-and-effect conclusion is possible with a well-designed experiment.\" width=\"566\" height=\"376\" \/>\r\n<div class=\"textbox exercises\">\r\n<h3>Learn By Doing<\/h3>\r\nhttps:\/\/assessments.lumenlearning.com\/assessments\/3622\r\n\r\n<\/div>\r\n<div class=\"textbox exercises\">\r\n<h3>Learn By Doing<\/h3>\r\nhttps:\/\/assessments.lumenlearning.com\/assessments\/3623\r\n\r\n<\/div>\r\n<div class=\"textbox exercises\">\r\n<h3>Learn By Doing<\/h3>\r\nhttps:\/\/assessments.lumenlearning.com\/assessments\/3624\r\n\r\n<\/div>\r\n<h3>Stating Hypotheses about Two Population Proportions<\/h3>\r\nWhenever we test a hypothesis, we begin by stating null and alternative hypotheses.\r\n\r\nThe null hypothesis is a statement of \u201cno effect\u201d or \u201cno difference,\u201d so the null hypothesis for all hypothesis tests about two population proportions is H<sub>0<\/sub>: <em>p<\/em><sub>1<\/sub> \u2212 <em>p<\/em><sub>2<\/sub> = 0. When we say there is no difference in the population proportions (or no treatment effect), it is equivalent to saying that the population proportions are equal: <em>p<\/em><sub>1<\/sub> = <em>p<\/em><sub>2<\/sub>.\r\n\r\nThe alternative hypothesis is one of the following:\r\n<ul style=\"list-style-type: none;\">\r\n \t<li>H<sub>a<\/sub>: <em>p<\/em><sub>1<\/sub> \u2212 <em>p<\/em><sub>2<\/sub> &gt; 0 (or <em>p<\/em><sub>1<\/sub> &gt; <em>p<\/em><sub>2<\/sub>)<\/li>\r\n \t<li>H<sub>a<\/sub>: <em>p<\/em><sub>1<\/sub> \u2212 <em>p<\/em><sub>2<\/sub> &lt; 0 (or <em>p<\/em><sub>1<\/sub> &lt; <em>p<\/em><sub>2<\/sub>)<\/li>\r\n \t<li>H<sub>a<\/sub>: <em>p<\/em><sub>1<\/sub> \u2212 <em>p<\/em><sub>2<\/sub> \u2260 0 (or <em>p<\/em><sub>1<\/sub> \u2260 <em>p<\/em><sub>2<\/sub>)<\/li>\r\n<\/ul>\r\n<div class=\"textbox examples\">\r\n<h3>Example<\/h3>\r\n<h2>The Abecedarian Project<\/h2>\r\n<em>Will early childhood education improve the likelihood of college attendance for poor children? <\/em>Recall the experiment conducted by the Abecedarian (<em>A-B-C-Darian<\/em>) project in the 1970s. The study randomly assigned children to a control group (with no preschool) or a treatment group (with high-quality preschool).\r\n\r\nTo test the claim that the treatment increases the proportion of children who eventually attend college, we define a null and an alternative hypothesis.\r\n\r\nDefine <em>p<\/em><sub>1<\/sub> to be the proportion of children who attend a quality preschool and eventually go to college. Define <em>p<\/em><sub>2<\/sub> to be the proportion of children who did not attend preschool but eventually go to college.\r\n\r\nThe null hypothesis is always a statement of \u201cno effect\u201d or \u201cno difference,\u201d so we assume that these proportions are equal: <em>p<\/em><sub>1<\/sub> = <em>p<\/em><sub>2<\/sub>. Their difference is therefore zero:\r\n<ul style=\"list-style-type: none;\">\r\n \t<li>H<sub>0<\/sub>: <em>p<\/em><sub>1<\/sub> \u2212 <em>p<\/em><sub>2<\/sub> = 0<\/li>\r\n<\/ul>\r\nIn this example, the null hypothesis says that the preschool treatment has no effect on the proportion of children who eventually go to college.\r\n\r\nThe alternative hypothesis reflects our claim of a treatment effect. We chose to make <em>p<\/em><sub>1<\/sub> connected to the treatment, so our claim says that <em>p<\/em><sub>1<\/sub> is greater than <em>p<\/em><sub>2<\/sub> (<em>p<\/em><sub>1<\/sub> &gt; <em>p<\/em><sub>2<\/sub>). This translates into a difference that is greater than zero. It is positive:\r\n<ul style=\"list-style-type: none;\">\r\n \t<li>H<sub>a<\/sub>: <em>p<\/em><sub>1<\/sub> \u2212 <em>p<\/em><sub>2<\/sub> &gt; 0<\/li>\r\n<\/ul>\r\n<\/div>\r\nEstablishing the null and alternative hypotheses in a comparison of two proportions is an important part of the hypothesis testing process. The next few activities provide an opportunity to practice this skill.\r\n<div class=\"textbox exercises\">\r\n<h3>Learn By Doing<\/h3>\r\nhttps:\/\/assessments.lumenlearning.com\/assessments\/3644\r\n\r\n<\/div>\r\n&nbsp;","rendered":"<h2>Construct and interpret an appropriate hypothesis test to compare two population\/treatment group proportions.<\/h2>\n<div class=\"textbox learning-objectives\">\n<h3>Learning Objectives<\/h3>\n<ul>\n<li>Recognize when to use a hypothesis test or a confidence interval to compare two population proportions or to investigate a treatment effect for a categorical variable.<\/li>\n<li>Under appropriate conditions, conduct a hypothesis test for comparing two population proportions or two treatments. State a conclusion in context.<\/li>\n<\/ul>\n<\/div>\n<h3>Introduction<\/h3>\n<p>In <em>Inference for Two Proportions<\/em>, our focus is on inference that compares two populations or two treatments with a categorical response variable. The parameters and statistics are proportions. In the section &#8220;Estimate the Difference between Population Proportions,&#8221; we learned how to use a difference in sample proportions to calculate a confidence interval. The confidence interval estimates a treatment effect or the difference between two population proportions. In this section, &#8220;Hypothesis Test for a Difference in Population Proportions,&#8221; we learn to use a difference in sample proportions to test a hypothesis about a treatment effect or a hypothesis that compares two population proportions.<\/p>\n<p>We did hypothesis tests in <em>Inference for One Proportion<\/em>. Each claim involved a single population proportion. Now we will test claims about a treatment effect or about a difference in population proportions, and we\u2019ll see that the steps and the logic of the hypothesis test are the same. Before we get into the details, let\u2019s practice identifying research questions and studies that involve two populations or two treatments with a categorical response variable. Here are some examples.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/1729\/2017\/04\/15032448\/m9_inference_two_proportion_topic_9_3_m9_hypo_test_diff_two_pop_prop_1_image1.png\" alt=\"Example 1: Research Question: Are conservatives less likely to smoke cannabis than liberals? Study Design: Study randomly selected adults in U.S. Variables: Explanatory: Conservative or liberal - two populations. Response: smoke cannabis (yes\/no). Type of Inference; Test a hypothesis about the difference between two population proportions: the proportion of conservatives who smoke cannabis and the proportion of liberals who smoke cannabis. No cause-and-effect conclusion possible with a survey. Example 2: Research Question: Is one political speech more effective than another in producing voter support for a candidate? Study Design: Experiment randomly assigns a sample of voters to hear speech A or B. Variables: Explanatory: Speech A or Speech B -two treatments. Response: support candidate (yes\/no) Type of Inference; Test a hypothesis about the treatment effect. Compare the difference between two proportions: the proportion of those who support the candidate in each treatment group. Cause-and-effect conclusion is possible with a well-designed experiment.\" width=\"566\" height=\"376\" \/><\/p>\n<div class=\"textbox exercises\">\n<h3>Learn By Doing<\/h3>\n<p>\t<iframe id=\"lumen_assessment_3622\" class=\"resizable\" src=\"https:\/\/assessments.lumenlearning.com\/assessments\/load?assessment_id=3622&#38;embed=1&#38;external_user_id=&#38;external_context_id=&#38;iframe_resize_id=lumen_assessment_3622\" frameborder=\"0\" style=\"border:none;width:100%;height:100%;min-height:400px;\"><br \/>\n\t<\/iframe><\/p>\n<\/div>\n<div class=\"textbox exercises\">\n<h3>Learn By Doing<\/h3>\n<p>\t<iframe id=\"lumen_assessment_3623\" class=\"resizable\" src=\"https:\/\/assessments.lumenlearning.com\/assessments\/load?assessment_id=3623&#38;embed=1&#38;external_user_id=&#38;external_context_id=&#38;iframe_resize_id=lumen_assessment_3623\" frameborder=\"0\" style=\"border:none;width:100%;height:100%;min-height:400px;\"><br \/>\n\t<\/iframe><\/p>\n<\/div>\n<div class=\"textbox exercises\">\n<h3>Learn By Doing<\/h3>\n<p>\t<iframe id=\"lumen_assessment_3624\" class=\"resizable\" src=\"https:\/\/assessments.lumenlearning.com\/assessments\/load?assessment_id=3624&#38;embed=1&#38;external_user_id=&#38;external_context_id=&#38;iframe_resize_id=lumen_assessment_3624\" frameborder=\"0\" style=\"border:none;width:100%;height:100%;min-height:400px;\"><br \/>\n\t<\/iframe><\/p>\n<\/div>\n<h3>Stating Hypotheses about Two Population Proportions<\/h3>\n<p>Whenever we test a hypothesis, we begin by stating null and alternative hypotheses.<\/p>\n<p>The null hypothesis is a statement of \u201cno effect\u201d or \u201cno difference,\u201d so the null hypothesis for all hypothesis tests about two population proportions is H<sub>0<\/sub>: <em>p<\/em><sub>1<\/sub> \u2212 <em>p<\/em><sub>2<\/sub> = 0. When we say there is no difference in the population proportions (or no treatment effect), it is equivalent to saying that the population proportions are equal: <em>p<\/em><sub>1<\/sub> = <em>p<\/em><sub>2<\/sub>.<\/p>\n<p>The alternative hypothesis is one of the following:<\/p>\n<ul style=\"list-style-type: none;\">\n<li>H<sub>a<\/sub>: <em>p<\/em><sub>1<\/sub> \u2212 <em>p<\/em><sub>2<\/sub> &gt; 0 (or <em>p<\/em><sub>1<\/sub> &gt; <em>p<\/em><sub>2<\/sub>)<\/li>\n<li>H<sub>a<\/sub>: <em>p<\/em><sub>1<\/sub> \u2212 <em>p<\/em><sub>2<\/sub> &lt; 0 (or <em>p<\/em><sub>1<\/sub> &lt; <em>p<\/em><sub>2<\/sub>)<\/li>\n<li>H<sub>a<\/sub>: <em>p<\/em><sub>1<\/sub> \u2212 <em>p<\/em><sub>2<\/sub> \u2260 0 (or <em>p<\/em><sub>1<\/sub> \u2260 <em>p<\/em><sub>2<\/sub>)<\/li>\n<\/ul>\n<div class=\"textbox examples\">\n<h3>Example<\/h3>\n<h2>The Abecedarian Project<\/h2>\n<p><em>Will early childhood education improve the likelihood of college attendance for poor children? <\/em>Recall the experiment conducted by the Abecedarian (<em>A-B-C-Darian<\/em>) project in the 1970s. The study randomly assigned children to a control group (with no preschool) or a treatment group (with high-quality preschool).<\/p>\n<p>To test the claim that the treatment increases the proportion of children who eventually attend college, we define a null and an alternative hypothesis.<\/p>\n<p>Define <em>p<\/em><sub>1<\/sub> to be the proportion of children who attend a quality preschool and eventually go to college. Define <em>p<\/em><sub>2<\/sub> to be the proportion of children who did not attend preschool but eventually go to college.<\/p>\n<p>The null hypothesis is always a statement of \u201cno effect\u201d or \u201cno difference,\u201d so we assume that these proportions are equal: <em>p<\/em><sub>1<\/sub> = <em>p<\/em><sub>2<\/sub>. Their difference is therefore zero:<\/p>\n<ul style=\"list-style-type: none;\">\n<li>H<sub>0<\/sub>: <em>p<\/em><sub>1<\/sub> \u2212 <em>p<\/em><sub>2<\/sub> = 0<\/li>\n<\/ul>\n<p>In this example, the null hypothesis says that the preschool treatment has no effect on the proportion of children who eventually go to college.<\/p>\n<p>The alternative hypothesis reflects our claim of a treatment effect. We chose to make <em>p<\/em><sub>1<\/sub> connected to the treatment, so our claim says that <em>p<\/em><sub>1<\/sub> is greater than <em>p<\/em><sub>2<\/sub> (<em>p<\/em><sub>1<\/sub> &gt; <em>p<\/em><sub>2<\/sub>). This translates into a difference that is greater than zero. It is positive:<\/p>\n<ul style=\"list-style-type: none;\">\n<li>H<sub>a<\/sub>: <em>p<\/em><sub>1<\/sub> \u2212 <em>p<\/em><sub>2<\/sub> &gt; 0<\/li>\n<\/ul>\n<\/div>\n<p>Establishing the null and alternative hypotheses in a comparison of two proportions is an important part of the hypothesis testing process. The next few activities provide an opportunity to practice this skill.<\/p>\n<div class=\"textbox exercises\">\n<h3>Learn By Doing<\/h3>\n<p>\t<iframe id=\"lumen_assessment_3644\" class=\"resizable\" src=\"https:\/\/assessments.lumenlearning.com\/assessments\/load?assessment_id=3644&#38;embed=1&#38;external_user_id=&#38;external_context_id=&#38;iframe_resize_id=lumen_assessment_3644\" frameborder=\"0\" style=\"border:none;width:100%;height:100%;min-height:400px;\"><br \/>\n\t<\/iframe><\/p>\n<\/div>\n<p>&nbsp;<\/p>\n\n\t\t\t <section class=\"citations-section\" role=\"contentinfo\">\n\t\t\t <h3>Candela Citations<\/h3>\n\t\t\t\t\t <div>\n\t\t\t\t\t\t <div id=\"citation-list-458\">\n\t\t\t\t\t\t\t <div class=\"licensing\"><div class=\"license-attribution-dropdown-subheading\">CC licensed content, Shared previously<\/div><ul class=\"citation-list\"><li>Concepts in Statistics. <strong>Provided by<\/strong>: Open Learning Initiative. <strong>Located at<\/strong>: <a target=\"_blank\" href=\"http:\/\/oli.cmu.edu\">http:\/\/oli.cmu.edu<\/a>. <strong>License<\/strong>: <em><a target=\"_blank\" rel=\"license\" href=\"https:\/\/creativecommons.org\/licenses\/by\/4.0\/\">CC BY: Attribution<\/a><\/em><\/li><\/ul><\/div>\n\t\t\t\t\t\t <\/div>\n\t\t\t\t\t <\/div>\n\t\t\t <\/section>","protected":false},"author":163,"menu_order":11,"template":"","meta":{"_candela_citation":"[{\"type\":\"cc\",\"description\":\"Concepts in Statistics\",\"author\":\"\",\"organization\":\"Open Learning Initiative\",\"url\":\"http:\/\/oli.cmu.edu\",\"project\":\"\",\"license\":\"cc-by\",\"license_terms\":\"\"}]","CANDELA_OUTCOMES_GUID":"9c1427cf-66c9-4b29-815f-2e95ca82d801","pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":""},"chapter-type":[],"contributor":[],"license":[],"class_list":["post-458","chapter","type-chapter","status-publish","hentry"],"part":427,"_links":{"self":[{"href":"https:\/\/courses.lumenlearning.com\/suny-wmopen-concepts-statistics\/wp-json\/pressbooks\/v2\/chapters\/458","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/courses.lumenlearning.com\/suny-wmopen-concepts-statistics\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/courses.lumenlearning.com\/suny-wmopen-concepts-statistics\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/suny-wmopen-concepts-statistics\/wp-json\/wp\/v2\/users\/163"}],"version-history":[{"count":3,"href":"https:\/\/courses.lumenlearning.com\/suny-wmopen-concepts-statistics\/wp-json\/pressbooks\/v2\/chapters\/458\/revisions"}],"predecessor-version":[{"id":1571,"href":"https:\/\/courses.lumenlearning.com\/suny-wmopen-concepts-statistics\/wp-json\/pressbooks\/v2\/chapters\/458\/revisions\/1571"}],"part":[{"href":"https:\/\/courses.lumenlearning.com\/suny-wmopen-concepts-statistics\/wp-json\/pressbooks\/v2\/parts\/427"}],"metadata":[{"href":"https:\/\/courses.lumenlearning.com\/suny-wmopen-concepts-statistics\/wp-json\/pressbooks\/v2\/chapters\/458\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/courses.lumenlearning.com\/suny-wmopen-concepts-statistics\/wp-json\/wp\/v2\/media?parent=458"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/suny-wmopen-concepts-statistics\/wp-json\/pressbooks\/v2\/chapter-type?post=458"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/suny-wmopen-concepts-statistics\/wp-json\/wp\/v2\/contributor?post=458"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/suny-wmopen-concepts-statistics\/wp-json\/wp\/v2\/license?post=458"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}