{"id":5312,"date":"2022-08-19T16:56:57","date_gmt":"2022-08-19T16:56:57","guid":{"rendered":"https:\/\/courses.lumenlearning.com\/lumen-danacenter-statsmockup\/?post_type=chapter&#038;p=5312"},"modified":"2022-08-19T16:56:57","modified_gmt":"2022-08-19T16:56:57","slug":"11a-preview","status":"publish","type":"chapter","link":"https:\/\/courses.lumenlearning.com\/lumen-danacenter-statsmockup\/chapter\/11a-preview\/","title":{"raw":"11A Preview","rendered":"11A Preview"},"content":{"raw":"Preparing for the next class\r\n\r\nIn the next in-class activity, you will need to understand the basic idea of null and alternative hypotheses, that an event with low probability is very unlikely but still may occur, and how probability can be used as statistical evidence.\r\n\r\nSuppose that you are playing a game with your friend that involves flipping a coin. Each round consists of flipping the coin 10 times. Your friend is favored if more of the flips land on heads, and you are favored if more of the flips land on tails.\r\n<div class=\"textbox key-takeaways\">\r\n<h3>Question 1<\/h3>\r\nIn one round of play, your friend gets 8 heads out of the 10 total flips.\r\n<ol style=\"list-style-type: lower-alpha;\">\r\n \t<li>What is the probability of obtaining 8 or more heads in 10 flips of a fair coin?\r\nHint: You can find this probability using the binomial model (what are\u00a0[latex] p [\/latex] and\u00a0[latex] n[\/latex] here?).\u00a0 Use technology.<\/li>\r\n \t<li>Are you surprised that your friend got that many heads?\r\n<ol>\r\n \t<li>a) Yes, because the probability is high.<\/li>\r\n \t<li>b) Yes, because the probability is low.<\/li>\r\n \t<li>c) No, because the probability is high.<\/li>\r\n \t<li>d) No, because the probability is low.<\/li>\r\n<\/ol>\r\n<\/li>\r\n \t<li>You begin to suspect that your friend is not using a fair coin. If your friend\u2019s\u00a0 coin is weighted on the heads side, what can you say about the probability,\u00a0 [latex] p [\/latex] , of obtaining heads with your friend\u2019s coin?\r\n<ol>\r\n \t<li>a)\u00a0[latex] p [\/latex] &lt; 5<\/li>\r\n \t<li>b) [latex] p [\/latex] = 5<\/li>\r\n \t<li>c) [latex] p [\/latex] = 8<\/li>\r\n \t<li>d) [latex] p [\/latex] &gt; 5\r\nHint: Remember that the 8 heads obtained was only in one round of 10 flips.<\/li>\r\n<\/ol>\r\n<\/li>\r\n<\/ol>\r\n<\/div>\r\nIn this situation, you had a baseline assumption when you started playing the game with your friend: the coin is fair. This assumption is called the null hypothesis. Then you suspected that your friend\u2019s coin was weighted in favor of heads. This guess is called the alternative hypothesis. If you wanted to claim that your friend was indeed cheating, you would need to produce evidence in order to prove that their coin was not fair.\r\n\r\nStatistics is a very useful tool in this scenario and can be used to test these kinds of hypotheses. In a statistical hypothesis test:\r\n<ul>\r\n \t<li aria-level=\"1\">The null hypothesis, [latex] H_{0} [\/latex], is what we assume to be true to begin with. It is often a statement of no change from the previous value or from what is expected (e.g., we expect a coin to be fair).\r\n<ul>\r\n \t<li aria-level=\"2\">The null hypothesis, [latex] H_{0} [\/latex], is always given in the form: [latex] parameter = value [\/latex].<\/li>\r\n<\/ul>\r\n<\/li>\r\n \t<li aria-level=\"1\">The alternative hypothesis, [latex] H_{A} [\/latex], is what we consider to be plausible if the null hypothesis is false. Often, it is a change from the null hypothesis that we would like to test the accuracy of. The alternative hypothesis answers the question, \u201cDo we think the actual parameter is larger than, smaller than, or just different from the null value, where the null value is the value specified in the null hypothesis?\u201d\r\n<ul>\r\n \t<li aria-level=\"2\">The alternative hypothesis, [latex] H_{A} [\/latex], is always given as an inequality: [latex] parameter&gt;null value, parameter&lt;null~value[\/latex], or\u00a0[latex] parameter \\neq null~value[\/latex].<\/li>\r\n<\/ul>\r\n<\/li>\r\n \t<li aria-level=\"1\">The evidence used is probability. The statistical evidence that we gather is always evidence in support of the alternative hypothesis and against the null hypothesis. We ask ourselves the question, \u201cDo we have enough evidence to reject the null hypothesis?\u201d<\/li>\r\n \t<li aria-level=\"1\">The outcomes of the hypothesis test are either:\r\n<ul>\r\n \t<li aria-level=\"2\">We reject the null hypothesis (we have gathered enough evidence).<\/li>\r\n \t<li aria-level=\"2\">We fail to reject the null hypothesis (we have not gathered sufficient evidence, so we cannot reject the starting assumption).<\/li>\r\n<\/ul>\r\n<\/li>\r\n<\/ul>\r\n<div class=\"textbox key-takeaways\">\r\n<h3>Question 2<\/h3>\r\nIn the context of the coin-flipping game with your friend (where\u00a0[latex] p [\/latex] is the probability of\u00a0 obtaining heads), what is the null hypothesis, [latex] H_{0} [\/latex]?\r\n<ol>\r\n \t<li>a)\u00a0[latex] p = 0.8 [\/latex]<\/li>\r\n \t<li>b)\u00a0[latex] p &gt; 0.5 [\/latex]<\/li>\r\n \t<li>c) [latex] p = 0.5 [\/latex]<\/li>\r\n \t<li>d)\u00a0[latex] p &lt; 0.5 [\/latex]<\/li>\r\n<\/ol>\r\n<\/div>\r\n<div class=\"textbox key-takeaways\">\r\n<h3>Question 3<\/h3>\r\nIn the context of the coin-flipping game, what is the alternative hypothesis, [latex] H_{A} [\/latex]?\r\n<ol>\r\n \t<li>a) [latex] p = 0.8 [\/latex]<\/li>\r\n \t<li>b) [latex] p \\neq 0.5 [\/latex]<\/li>\r\n \t<li>c) [latex] p = 0.5 [\/latex]<\/li>\r\n \t<li>d) [latex] p &gt; 0.5 [\/latex]<\/li>\r\n \t<li>e) [latex] p &lt; 0.5 [\/latex]<\/li>\r\n<\/ol>\r\nHint: What is it that you would like to gather evidence of? What do you suspect might\u00a0 be true about your friend\u2019s coin?\r\n\r\n<\/div>\r\nYour friend claims the coin is fair, but you aren\u2019t convinced. You can\u2019t prove for certain\u00a0 that your friend\u2019s coin is weighted unfairly (without special equipment, of course), but\u00a0 you can test your hypotheses with a sample of coin flips. If the proportion of heads in\u00a0 your sample is high enough, it provides strong evidence that your friend\u2019s coin is\u00a0 weighted in their favor. In other words, a high enough proportion of heads would be\u00a0 sufficient evidence for you to reject the assumption that your friend\u2019s coin is fair. Let\u2019s\u00a0 suppose that you flip the coin 20 times for your sample.\r\n<div class=\"textbox key-takeaways\">\r\n<h3>Question 4<\/h3>\r\nWhich of the following would be stronger evidence that the coin is weighted unfairly\u00a0 towards the heads side (i.e., stronger evidence that the null hypothesis is false)?\r\n<ol>\r\n \t<li>a) A higher proportion of heads, because that would be less likely if the coin is fair<\/li>\r\n \t<li>b) A higher proportion of heads, because that would be more likely if the coin is fair<\/li>\r\n \t<li>c) A smaller proportion of heads, because that would be less likely if the coin is fair<\/li>\r\n \t<li>d) A smaller proportion of heads, because that would be more likely if the coin is fair<\/li>\r\n<\/ol>\r\n<\/div>\r\n<div class=\"textbox key-takeaways\">\r\n<h3>Question 5<\/h3>\r\nIf your sample of 20 coin flips all landed on heads, would it prove with complete\u00a0 certainty that your friend\u2019s coin is weighted?\r\n<ol>\r\n \t<li>a) Yes, it is impossible for a fair coin to land on heads 20 out of 20 times.<\/li>\r\n \t<li>b) No, even though the probability is very small, it is still possible for a fair coin to\u00a0 land on heads 20 out of 20 times.<\/li>\r\n<\/ol>\r\n<\/div>\r\n<div class=\"textbox key-takeaways\">\r\n<h3>Question 6<\/h3>\r\nSuppose that in your sample of 20 coin flips, you obtain 17 heads. The probability of\u00a0 obtaining 17 or more heads in 20 flips of a fair coin is 0.0013. Would you conclude\u00a0 that your friend\u2019s coin is weighted? Explain.\r\n\r\n<\/div>\r\nLooking ahead\r\n\r\nNotice that above, you assumed your friend\u2019s coin is fair, and that assumption was used\u00a0 to calculate the probability of obtaining 17 or more heads. The probability of 0.0013 is\u00a0 the probability of obtaining 17 or more heads out of 20 flips if the coin is fair, and this\u00a0 low probability is evidence that the coin is not fair. Note that no matter what probability\u00a0 you obtain, even if it is a high probability, it is not evidence that the coin is fair. This is\u00a0 because fairness was already the given assumption, and the probability was computed\u00a0 using the assumption that the coin is fair. If we assume something is true, we can\u2019t use\u00a0 that assumption to prove that it\u2019s true (that would be using circular logic). From our\u00a0 sample of coin flips, we either get enough evidence to say the coin is weighted, or we\u00a0 don\u2019t. In hypothesis-testing language, we either get enough evidence to reject the null\u00a0 hypothesis, or we don\u2019t. When we don\u2019t get enough evidence to reject the null\u00a0 hypothesis, we fail to reject the null hypothesis. We never accept the null hypothesis\u00a0 because that was already our assumption to begin with.\r\n<div class=\"textbox key-takeaways\">\r\n<h3>Question 7<\/h3>\r\nWhich of the following are the possible outcomes of your sample of 20 coin flips?\u00a0 There may be more than one correct answer.\r\n<ol>\r\n \t<li>a) You obtain enough heads that you conclude your friend\u2019s coin is weighted.<\/li>\r\n \t<li>b) You obtain enough heads that you conclude your friend\u2019s coin is fair.<\/li>\r\n \t<li>c) You do not obtain enough heads to conclude that your friend\u2019s coin is weighted.<\/li>\r\n \t<li>d) You do not obtain enough heads to conclude that your friend\u2019s coin is fair.<\/li>\r\n<\/ol>\r\n<\/div>\r\n&nbsp;","rendered":"<p>Preparing for the next class<\/p>\n<p>In the next in-class activity, you will need to understand the basic idea of null and alternative hypotheses, that an event with low probability is very unlikely but still may occur, and how probability can be used as statistical evidence.<\/p>\n<p>Suppose that you are playing a game with your friend that involves flipping a coin. Each round consists of flipping the coin 10 times. Your friend is favored if more of the flips land on heads, and you are favored if more of the flips land on tails.<\/p>\n<div class=\"textbox key-takeaways\">\n<h3>Question 1<\/h3>\n<p>In one round of play, your friend gets 8 heads out of the 10 total flips.<\/p>\n<ol style=\"list-style-type: lower-alpha;\">\n<li>What is the probability of obtaining 8 or more heads in 10 flips of a fair coin?<br \/>\nHint: You can find this probability using the binomial model (what are\u00a0[latex]p[\/latex] and\u00a0[latex]n[\/latex] here?).\u00a0 Use technology.<\/li>\n<li>Are you surprised that your friend got that many heads?\n<ol>\n<li>a) Yes, because the probability is high.<\/li>\n<li>b) Yes, because the probability is low.<\/li>\n<li>c) No, because the probability is high.<\/li>\n<li>d) No, because the probability is low.<\/li>\n<\/ol>\n<\/li>\n<li>You begin to suspect that your friend is not using a fair coin. If your friend\u2019s\u00a0 coin is weighted on the heads side, what can you say about the probability,\u00a0 [latex]p[\/latex] , of obtaining heads with your friend\u2019s coin?\n<ol>\n<li>a)\u00a0[latex]p[\/latex] &lt; 5<\/li>\n<li>b) [latex]p[\/latex] = 5<\/li>\n<li>c) [latex]p[\/latex] = 8<\/li>\n<li>d) [latex]p[\/latex] &gt; 5<br \/>\nHint: Remember that the 8 heads obtained was only in one round of 10 flips.<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<\/div>\n<p>In this situation, you had a baseline assumption when you started playing the game with your friend: the coin is fair. This assumption is called the null hypothesis. Then you suspected that your friend\u2019s coin was weighted in favor of heads. This guess is called the alternative hypothesis. If you wanted to claim that your friend was indeed cheating, you would need to produce evidence in order to prove that their coin was not fair.<\/p>\n<p>Statistics is a very useful tool in this scenario and can be used to test these kinds of hypotheses. In a statistical hypothesis test:<\/p>\n<ul>\n<li aria-level=\"1\">The null hypothesis, [latex]H_{0}[\/latex], is what we assume to be true to begin with. It is often a statement of no change from the previous value or from what is expected (e.g., we expect a coin to be fair).\n<ul>\n<li aria-level=\"2\">The null hypothesis, [latex]H_{0}[\/latex], is always given in the form: [latex]parameter = value[\/latex].<\/li>\n<\/ul>\n<\/li>\n<li aria-level=\"1\">The alternative hypothesis, [latex]H_{A}[\/latex], is what we consider to be plausible if the null hypothesis is false. Often, it is a change from the null hypothesis that we would like to test the accuracy of. The alternative hypothesis answers the question, \u201cDo we think the actual parameter is larger than, smaller than, or just different from the null value, where the null value is the value specified in the null hypothesis?\u201d\n<ul>\n<li aria-level=\"2\">The alternative hypothesis, [latex]H_{A}[\/latex], is always given as an inequality: [latex]parameter>null value, parameter<null~value[\/latex], or\u00a0[latex]parameter \\neq null~value[\/latex].<\/li>\n<\/ul>\n<\/li>\n<li aria-level=\"1\">The evidence used is probability. The statistical evidence that we gather is always evidence in support of the alternative hypothesis and against the null hypothesis. We ask ourselves the question, \u201cDo we have enough evidence to reject the null hypothesis?\u201d<\/li>\n<li aria-level=\"1\">The outcomes of the hypothesis test are either:\n<ul>\n<li aria-level=\"2\">We reject the null hypothesis (we have gathered enough evidence).<\/li>\n<li aria-level=\"2\">We fail to reject the null hypothesis (we have not gathered sufficient evidence, so we cannot reject the starting assumption).<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<div class=\"textbox key-takeaways\">\n<h3>Question 2<\/h3>\n<p>In the context of the coin-flipping game with your friend (where\u00a0[latex]p[\/latex] is the probability of\u00a0 obtaining heads), what is the null hypothesis, [latex]H_{0}[\/latex]?<\/p>\n<ol>\n<li>a)\u00a0[latex]p = 0.8[\/latex]<\/li>\n<li>b)\u00a0[latex]p > 0.5[\/latex]<\/li>\n<li>c) [latex]p = 0.5[\/latex]<\/li>\n<li>d)\u00a0[latex]p < 0.5[\/latex]<\/li>\n<\/ol>\n<\/div>\n<div class=\"textbox key-takeaways\">\n<h3>Question 3<\/h3>\n<p>In the context of the coin-flipping game, what is the alternative hypothesis, [latex]H_{A}[\/latex]?<\/p>\n<ol>\n<li>a) [latex]p = 0.8[\/latex]<\/li>\n<li>b) [latex]p \\neq 0.5[\/latex]<\/li>\n<li>c) [latex]p = 0.5[\/latex]<\/li>\n<li>d) [latex]p > 0.5[\/latex]<\/li>\n<li>e) [latex]p < 0.5[\/latex]<\/li>\n<\/ol>\n<p>Hint: What is it that you would like to gather evidence of? What do you suspect might\u00a0 be true about your friend\u2019s coin?<\/p>\n<\/div>\n<p>Your friend claims the coin is fair, but you aren\u2019t convinced. You can\u2019t prove for certain\u00a0 that your friend\u2019s coin is weighted unfairly (without special equipment, of course), but\u00a0 you can test your hypotheses with a sample of coin flips. If the proportion of heads in\u00a0 your sample is high enough, it provides strong evidence that your friend\u2019s coin is\u00a0 weighted in their favor. In other words, a high enough proportion of heads would be\u00a0 sufficient evidence for you to reject the assumption that your friend\u2019s coin is fair. Let\u2019s\u00a0 suppose that you flip the coin 20 times for your sample.<\/p>\n<div class=\"textbox key-takeaways\">\n<h3>Question 4<\/h3>\n<p>Which of the following would be stronger evidence that the coin is weighted unfairly\u00a0 towards the heads side (i.e., stronger evidence that the null hypothesis is false)?<\/p>\n<ol>\n<li>a) A higher proportion of heads, because that would be less likely if the coin is fair<\/li>\n<li>b) A higher proportion of heads, because that would be more likely if the coin is fair<\/li>\n<li>c) A smaller proportion of heads, because that would be less likely if the coin is fair<\/li>\n<li>d) A smaller proportion of heads, because that would be more likely if the coin is fair<\/li>\n<\/ol>\n<\/div>\n<div class=\"textbox key-takeaways\">\n<h3>Question 5<\/h3>\n<p>If your sample of 20 coin flips all landed on heads, would it prove with complete\u00a0 certainty that your friend\u2019s coin is weighted?<\/p>\n<ol>\n<li>a) Yes, it is impossible for a fair coin to land on heads 20 out of 20 times.<\/li>\n<li>b) No, even though the probability is very small, it is still possible for a fair coin to\u00a0 land on heads 20 out of 20 times.<\/li>\n<\/ol>\n<\/div>\n<div class=\"textbox key-takeaways\">\n<h3>Question 6<\/h3>\n<p>Suppose that in your sample of 20 coin flips, you obtain 17 heads. The probability of\u00a0 obtaining 17 or more heads in 20 flips of a fair coin is 0.0013. Would you conclude\u00a0 that your friend\u2019s coin is weighted? Explain.<\/p>\n<\/div>\n<p>Looking ahead<\/p>\n<p>Notice that above, you assumed your friend\u2019s coin is fair, and that assumption was used\u00a0 to calculate the probability of obtaining 17 or more heads. The probability of 0.0013 is\u00a0 the probability of obtaining 17 or more heads out of 20 flips if the coin is fair, and this\u00a0 low probability is evidence that the coin is not fair. Note that no matter what probability\u00a0 you obtain, even if it is a high probability, it is not evidence that the coin is fair. This is\u00a0 because fairness was already the given assumption, and the probability was computed\u00a0 using the assumption that the coin is fair. If we assume something is true, we can\u2019t use\u00a0 that assumption to prove that it\u2019s true (that would be using circular logic). From our\u00a0 sample of coin flips, we either get enough evidence to say the coin is weighted, or we\u00a0 don\u2019t. In hypothesis-testing language, we either get enough evidence to reject the null\u00a0 hypothesis, or we don\u2019t. When we don\u2019t get enough evidence to reject the null\u00a0 hypothesis, we fail to reject the null hypothesis. We never accept the null hypothesis\u00a0 because that was already our assumption to begin with.<\/p>\n<div class=\"textbox key-takeaways\">\n<h3>Question 7<\/h3>\n<p>Which of the following are the possible outcomes of your sample of 20 coin flips?\u00a0 There may be more than one correct answer.<\/p>\n<ol>\n<li>a) You obtain enough heads that you conclude your friend\u2019s coin is weighted.<\/li>\n<li>b) You obtain enough heads that you conclude your friend\u2019s coin is fair.<\/li>\n<li>c) You do not obtain enough heads to conclude that your friend\u2019s coin is weighted.<\/li>\n<li>d) You do not obtain enough heads to conclude that your friend\u2019s coin is fair.<\/li>\n<\/ol>\n<\/div>\n<p>&nbsp;<\/p>\n","protected":false},"author":574340,"menu_order":3,"template":"","meta":{"_candela_citation":"[]","CANDELA_OUTCOMES_GUID":"","pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":""},"chapter-type":[],"contributor":[],"license":[],"class_list":["post-5312","chapter","type-chapter","status-publish","hentry"],"part":5305,"_links":{"self":[{"href":"https:\/\/courses.lumenlearning.com\/lumen-danacenter-statsmockup\/wp-json\/pressbooks\/v2\/chapters\/5312","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/courses.lumenlearning.com\/lumen-danacenter-statsmockup\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/courses.lumenlearning.com\/lumen-danacenter-statsmockup\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/lumen-danacenter-statsmockup\/wp-json\/wp\/v2\/users\/574340"}],"version-history":[{"count":1,"href":"https:\/\/courses.lumenlearning.com\/lumen-danacenter-statsmockup\/wp-json\/pressbooks\/v2\/chapters\/5312\/revisions"}],"predecessor-version":[{"id":5313,"href":"https:\/\/courses.lumenlearning.com\/lumen-danacenter-statsmockup\/wp-json\/pressbooks\/v2\/chapters\/5312\/revisions\/5313"}],"part":[{"href":"https:\/\/courses.lumenlearning.com\/lumen-danacenter-statsmockup\/wp-json\/pressbooks\/v2\/parts\/5305"}],"metadata":[{"href":"https:\/\/courses.lumenlearning.com\/lumen-danacenter-statsmockup\/wp-json\/pressbooks\/v2\/chapters\/5312\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/courses.lumenlearning.com\/lumen-danacenter-statsmockup\/wp-json\/wp\/v2\/media?parent=5312"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/lumen-danacenter-statsmockup\/wp-json\/pressbooks\/v2\/chapter-type?post=5312"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/lumen-danacenter-statsmockup\/wp-json\/wp\/v2\/contributor?post=5312"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/lumen-danacenter-statsmockup\/wp-json\/wp\/v2\/license?post=5312"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}