{"id":1784,"date":"2019-08-22T22:15:31","date_gmt":"2019-08-23T02:15:31","guid":{"rendered":"https:\/\/pressbooks.bccampus.ca\/simplestats\/?post_type=chapter&#038;p=1784"},"modified":"2019-10-05T18:25:48","modified_gmt":"2019-10-05T22:25:48","slug":"5-2-1-calculating-probabilities","status":"publish","type":"chapter","link":"https:\/\/pressbooks.bccampus.ca\/simplestats\/chapter\/5-2-1-calculating-probabilities\/","title":{"raw":"5.2.1 Working with Probabilities","rendered":"5.2.1 Working with Probabilities"},"content":{"raw":"[latexpage]\r\n\r\n<strong>We express probabilities as proportions<\/strong> (and we also denote them with\u00a0<em>p,\u00a0<\/em>just like we do proportions[footnote]If you need a reminder, the relevant part is in Section 2.3.1, here: <a href=\"https:\/\/pressbooks.bccampus.ca\/simplestats\/chapter\/2-3-1-adding-percentages\">https:\/\/pressbooks.bccampus.ca\/simplestats\/chapter\/2-3-1-adding-percentages<\/a>\/[\/footnote]), as this is indeed what they are:\r\n\r\n&nbsp;\r\n\r\n$$p=\\frac{\\textrm{number of specific outcomes we are interested in}}{\\textrm{number of all possible outcomes}}$$\r\n\r\n&nbsp;\r\n\r\nOr, the probability of a specific outcome is the proportion of the number of such outcomes out of the number of all possible outcomes.\r\n\r\n&nbsp;\r\n\r\nThus the probability of getting heads in a coin toss is:\r\n\r\n&nbsp;\r\n\r\n$$p(\\textrm{heads})=\\frac{\\textrm{number of heads sides of a coin}}{\\textrm{number of all sides of a coin}}=\\frac{1}{2}=0.5$$\r\n\r\n&nbsp;\r\n\r\nThe same of course applies to tails:\r\n\r\n&nbsp;\r\n\r\n$$p(\\textrm{tails})=\\frac{\\textrm{number of tails sides of a coin}}{\\textrm{number of all sides of a coin}}=\\frac{1}{2}=0.5$$\r\n\r\n&nbsp;\r\n\r\nHeads and tails together exhaust all possible outcomes, so the probability that a coin will fall on any of its two sides is:\r\n\r\n&nbsp;\r\n\r\n$$p(\\textrm{heads or tails})=\\frac{2}{2}=\\frac{1}{2}+\\frac{1}{2}=0.5+0.5=1$$\r\n\r\n&nbsp;\r\n\r\nNow how about we extend our example to something that has more that two outcomes? With six sides, a conventional die will serve us perfectly.\r\n\r\n&nbsp;\r\n\r\nFollowing the same logic as with the coin, the probability to throw, say, a five is:\r\n\r\n&nbsp;\r\n\r\n$$p(\\textrm{five})=\\frac{\\textrm{number of \"five\" sides of a die}}{\\textrm{number of all sides of a die}}=\\frac{1}{6}=0.167$$\r\n\r\n&nbsp;\r\n\r\nThe same goes for throwing a one, a two, a three, a four, or a six:\r\n\r\n&nbsp;\r\n\r\n$$p(\\textrm{one})=p(\\textrm{two})=p(\\textrm{three})=p(\\textrm{four})=p(\\textrm{five})=p(\\textrm{six})=\\frac{1}{6}=0.167$$\r\n\r\n&nbsp;\r\n\r\nOr, imagine you have a bowl with ten balls inside (i.e., the balls have numbers from 1 to 10). The probability of selecting each one out (without looking!) is, you guessed it, 1 out of 10, as each number appears only once and there are ten possible outcomes:\r\n\r\n&nbsp;\r\n\r\n$$p(1)=p(2)=p(3)=\\ldots=p(10)=\\frac{1}{10}=0.1$$\r\n\r\n&nbsp;\r\n\r\nWhile this principle applies to <em>N<\/em> of any size -- so we can increase the number of outcomes as much as we want -- note <strong>the key prerequisite for the calculations to work: the outcomes must happen randomly.<\/strong> A coin toss and a die throw are classical examples of random chance. But when picking balls out of a bowl we have to make sure we don't look or we might (consciously or subconsciously) <em>choose<\/em> one. Choosing a ball with a specific number introduces bias and thus invalidates randomness -- i.e., it invalidates the principle of the outcomes having the same probability. Without this principle we cannot calculate anything: the only way to know the probability of an outcome is, in a sense, to divide the total probability, as it were, (i.e., 1) by the number of all possible outcomes, giving us equal probability for each. <strong>We know the probability of an outcome <em>only<\/em> <em>if<\/em> we know how many outcomes are possible in total and they all have the same probability.\u00a0<\/strong>(Chapter 6 has more on the topic as it's devoted to the topic of how random selection works.)\r\n\r\n&nbsp;","rendered":"<p><strong>We express probabilities as proportions<\/strong> (and we also denote them with\u00a0<em>p,\u00a0<\/em>just like we do proportions<a class=\"footnote\" title=\"If you need a reminder, the relevant part is in Section 2.3.1, here: https:\/\/pressbooks.bccampus.ca\/simplestats\/chapter\/2-3-1-adding-percentages\/\" id=\"return-footnote-1784-1\" href=\"#footnote-1784-1\" aria-label=\"Footnote 1\"><sup class=\"footnote\">[1]<\/sup><\/a>), as this is indeed what they are:<\/p>\n<p>&nbsp;<\/p>\n<p class=\"ql-center-displayed-equation\" style=\"line-height: 40px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/pressbooks.bccampus.ca\/simplestats\/wp-content\/ql-cache\/quicklatex.com-47d769392acfa917269b44a70ac726ec_l3.png\" height=\"40\" width=\"412\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#091;&#112;&#61;&#92;&#102;&#114;&#97;&#99;&#123;&#92;&#116;&#101;&#120;&#116;&#114;&#109;&#123;&#110;&#117;&#109;&#98;&#101;&#114;&#32;&#111;&#102;&#32;&#115;&#112;&#101;&#99;&#105;&#102;&#105;&#99;&#32;&#111;&#117;&#116;&#99;&#111;&#109;&#101;&#115;&#32;&#119;&#101;&#32;&#97;&#114;&#101;&#32;&#105;&#110;&#116;&#101;&#114;&#101;&#115;&#116;&#101;&#100;&#32;&#105;&#110;&#125;&#125;&#123;&#92;&#116;&#101;&#120;&#116;&#114;&#109;&#123;&#110;&#117;&#109;&#98;&#101;&#114;&#32;&#111;&#102;&#32;&#97;&#108;&#108;&#32;&#112;&#111;&#115;&#115;&#105;&#98;&#108;&#101;&#32;&#111;&#117;&#116;&#99;&#111;&#109;&#101;&#115;&#125;&#125;&#92;&#093;\" title=\"Rendered by QuickLaTeX.com\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>Or, the probability of a specific outcome is the proportion of the number of such outcomes out of the number of all possible outcomes.<\/p>\n<p>&nbsp;<\/p>\n<p>Thus the probability of getting heads in a coin toss is:<\/p>\n<p>&nbsp;<\/p>\n<p class=\"ql-center-displayed-equation\" style=\"line-height: 38px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/pressbooks.bccampus.ca\/simplestats\/wp-content\/ql-cache\/quicklatex.com-afad49884afe336efd6e7b698952eca5_l3.png\" height=\"38\" width=\"420\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#091;&#112;&#40;&#92;&#116;&#101;&#120;&#116;&#114;&#109;&#123;&#104;&#101;&#97;&#100;&#115;&#125;&#41;&#61;&#92;&#102;&#114;&#97;&#99;&#123;&#92;&#116;&#101;&#120;&#116;&#114;&#109;&#123;&#110;&#117;&#109;&#98;&#101;&#114;&#32;&#111;&#102;&#32;&#104;&#101;&#97;&#100;&#115;&#32;&#115;&#105;&#100;&#101;&#115;&#32;&#111;&#102;&#32;&#97;&#32;&#99;&#111;&#105;&#110;&#125;&#125;&#123;&#92;&#116;&#101;&#120;&#116;&#114;&#109;&#123;&#110;&#117;&#109;&#98;&#101;&#114;&#32;&#111;&#102;&#32;&#97;&#108;&#108;&#32;&#115;&#105;&#100;&#101;&#115;&#32;&#111;&#102;&#32;&#97;&#32;&#99;&#111;&#105;&#110;&#125;&#125;&#61;&#92;&#102;&#114;&#97;&#99;&#123;&#49;&#125;&#123;&#50;&#125;&#61;&#48;&#46;&#53;&#92;&#093;\" title=\"Rendered by QuickLaTeX.com\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>The same of course applies to tails:<\/p>\n<p>&nbsp;<\/p>\n<p class=\"ql-center-displayed-equation\" style=\"line-height: 38px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/pressbooks.bccampus.ca\/simplestats\/wp-content\/ql-cache\/quicklatex.com-08d0973c345a31a7423fe0f3877bbf88_l3.png\" height=\"38\" width=\"398\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#091;&#112;&#40;&#92;&#116;&#101;&#120;&#116;&#114;&#109;&#123;&#116;&#97;&#105;&#108;&#115;&#125;&#41;&#61;&#92;&#102;&#114;&#97;&#99;&#123;&#92;&#116;&#101;&#120;&#116;&#114;&#109;&#123;&#110;&#117;&#109;&#98;&#101;&#114;&#32;&#111;&#102;&#32;&#116;&#97;&#105;&#108;&#115;&#32;&#115;&#105;&#100;&#101;&#115;&#32;&#111;&#102;&#32;&#97;&#32;&#99;&#111;&#105;&#110;&#125;&#125;&#123;&#92;&#116;&#101;&#120;&#116;&#114;&#109;&#123;&#110;&#117;&#109;&#98;&#101;&#114;&#32;&#111;&#102;&#32;&#97;&#108;&#108;&#32;&#115;&#105;&#100;&#101;&#115;&#32;&#111;&#102;&#32;&#97;&#32;&#99;&#111;&#105;&#110;&#125;&#125;&#61;&#92;&#102;&#114;&#97;&#99;&#123;&#49;&#125;&#123;&#50;&#125;&#61;&#48;&#46;&#53;&#92;&#093;\" title=\"Rendered by QuickLaTeX.com\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>Heads and tails together exhaust all possible outcomes, so the probability that a coin will fall on any of its two sides is:<\/p>\n<p>&nbsp;<\/p>\n<p class=\"ql-center-displayed-equation\" style=\"line-height: 36px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/pressbooks.bccampus.ca\/simplestats\/wp-content\/ql-cache\/quicklatex.com-52073fc8e720b66788459d7ed0f37de3_l3.png\" height=\"36\" width=\"356\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#091;&#112;&#40;&#92;&#116;&#101;&#120;&#116;&#114;&#109;&#123;&#104;&#101;&#97;&#100;&#115;&#32;&#111;&#114;&#32;&#116;&#97;&#105;&#108;&#115;&#125;&#41;&#61;&#92;&#102;&#114;&#97;&#99;&#123;&#50;&#125;&#123;&#50;&#125;&#61;&#92;&#102;&#114;&#97;&#99;&#123;&#49;&#125;&#123;&#50;&#125;&#43;&#92;&#102;&#114;&#97;&#99;&#123;&#49;&#125;&#123;&#50;&#125;&#61;&#48;&#46;&#53;&#43;&#48;&#46;&#53;&#61;&#49;&#92;&#093;\" title=\"Rendered by QuickLaTeX.com\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>Now how about we extend our example to something that has more that two outcomes? With six sides, a conventional die will serve us perfectly.<\/p>\n<p>&nbsp;<\/p>\n<p>Following the same logic as with the coin, the probability to throw, say, a five is:<\/p>\n<p>&nbsp;<\/p>\n<p class=\"ql-center-displayed-equation\" style=\"line-height: 38px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/pressbooks.bccampus.ca\/simplestats\/wp-content\/ql-cache\/quicklatex.com-91b4f1ca3cfd6430b75161ba40c2b278_l3.png\" height=\"38\" width=\"414\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#091;&#112;&#40;&#92;&#116;&#101;&#120;&#116;&#114;&#109;&#123;&#102;&#105;&#118;&#101;&#125;&#41;&#61;&#92;&#102;&#114;&#97;&#99;&#123;&#92;&#116;&#101;&#120;&#116;&#114;&#109;&#123;&#110;&#117;&#109;&#98;&#101;&#114;&#32;&#111;&#102;&#32;&#34;&#102;&#105;&#118;&#101;&#34;&#32;&#115;&#105;&#100;&#101;&#115;&#32;&#111;&#102;&#32;&#97;&#32;&#100;&#105;&#101;&#125;&#125;&#123;&#92;&#116;&#101;&#120;&#116;&#114;&#109;&#123;&#110;&#117;&#109;&#98;&#101;&#114;&#32;&#111;&#102;&#32;&#97;&#108;&#108;&#32;&#115;&#105;&#100;&#101;&#115;&#32;&#111;&#102;&#32;&#97;&#32;&#100;&#105;&#101;&#125;&#125;&#61;&#92;&#102;&#114;&#97;&#99;&#123;&#49;&#125;&#123;&#54;&#125;&#61;&#48;&#46;&#49;&#54;&#55;&#92;&#093;\" title=\"Rendered by QuickLaTeX.com\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>The same goes for throwing a one, a two, a three, a four, or a six:<\/p>\n<p>&nbsp;<\/p>\n<p class=\"ql-center-displayed-equation\" style=\"line-height: 36px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/pressbooks.bccampus.ca\/simplestats\/wp-content\/ql-cache\/quicklatex.com-2d9609589c52b26e8c3fdc343e4aea69_l3.png\" height=\"36\" width=\"529\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#091;&#112;&#40;&#92;&#116;&#101;&#120;&#116;&#114;&#109;&#123;&#111;&#110;&#101;&#125;&#41;&#61;&#112;&#40;&#92;&#116;&#101;&#120;&#116;&#114;&#109;&#123;&#116;&#119;&#111;&#125;&#41;&#61;&#112;&#40;&#92;&#116;&#101;&#120;&#116;&#114;&#109;&#123;&#116;&#104;&#114;&#101;&#101;&#125;&#41;&#61;&#112;&#40;&#92;&#116;&#101;&#120;&#116;&#114;&#109;&#123;&#102;&#111;&#117;&#114;&#125;&#41;&#61;&#112;&#40;&#92;&#116;&#101;&#120;&#116;&#114;&#109;&#123;&#102;&#105;&#118;&#101;&#125;&#41;&#61;&#112;&#40;&#92;&#116;&#101;&#120;&#116;&#114;&#109;&#123;&#115;&#105;&#120;&#125;&#41;&#61;&#92;&#102;&#114;&#97;&#99;&#123;&#49;&#125;&#123;&#54;&#125;&#61;&#48;&#46;&#49;&#54;&#55;&#92;&#093;\" title=\"Rendered by QuickLaTeX.com\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>Or, imagine you have a bowl with ten balls inside (i.e., the balls have numbers from 1 to 10). The probability of selecting each one out (without looking!) is, you guessed it, 1 out of 10, as each number appears only once and there are ten possible outcomes:<\/p>\n<p>&nbsp;<\/p>\n<p class=\"ql-center-displayed-equation\" style=\"line-height: 37px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/pressbooks.bccampus.ca\/simplestats\/wp-content\/ql-cache\/quicklatex.com-d9d8b00ce05bd80de30880695f9f4547_l3.png\" height=\"37\" width=\"342\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#091;&#112;&#40;&#49;&#41;&#61;&#112;&#40;&#50;&#41;&#61;&#112;&#40;&#51;&#41;&#61;&#92;&#108;&#100;&#111;&#116;&#115;&#61;&#112;&#40;&#49;&#48;&#41;&#61;&#92;&#102;&#114;&#97;&#99;&#123;&#49;&#125;&#123;&#49;&#48;&#125;&#61;&#48;&#46;&#49;&#92;&#093;\" title=\"Rendered by QuickLaTeX.com\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>While this principle applies to <em>N<\/em> of any size &#8212; so we can increase the number of outcomes as much as we want &#8212; note <strong>the key prerequisite for the calculations to work: the outcomes must happen randomly.<\/strong> A coin toss and a die throw are classical examples of random chance. But when picking balls out of a bowl we have to make sure we don&#8217;t look or we might (consciously or subconsciously) <em>choose<\/em> one. Choosing a ball with a specific number introduces bias and thus invalidates randomness &#8212; i.e., it invalidates the principle of the outcomes having the same probability. Without this principle we cannot calculate anything: the only way to know the probability of an outcome is, in a sense, to divide the total probability, as it were, (i.e., 1) by the number of all possible outcomes, giving us equal probability for each. <strong>We know the probability of an outcome <em>only<\/em> <em>if<\/em> we know how many outcomes are possible in total and they all have the same probability.\u00a0<\/strong>(Chapter 6 has more on the topic as it&#8217;s devoted to the topic of how random selection works.)<\/p>\n<p>&nbsp;<\/p>\n<hr class=\"before-footnotes clear\" \/><div class=\"footnotes\"><ol><li id=\"footnote-1784-1\">If you need a reminder, the relevant part is in Section 2.3.1, here: <a href=\"https:\/\/pressbooks.bccampus.ca\/simplestats\/chapter\/2-3-1-adding-percentages\">https:\/\/pressbooks.bccampus.ca\/simplestats\/chapter\/2-3-1-adding-percentages<\/a>\/ <a href=\"#return-footnote-1784-1\" class=\"return-footnote\" aria-label=\"Return to footnote 1\">&crarr;<\/a><\/li><\/ol><\/div>","protected":false},"author":533,"menu_order":6,"template":"","meta":{"pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":""},"chapter-type":[],"contributor":[],"license":[],"class_list":["post-1784","chapter","type-chapter","status-publish","hentry"],"part":28,"_links":{"self":[{"href":"https:\/\/pressbooks.bccampus.ca\/simplestats\/wp-json\/pressbooks\/v2\/chapters\/1784","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pressbooks.bccampus.ca\/simplestats\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/pressbooks.bccampus.ca\/simplestats\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/pressbooks.bccampus.ca\/simplestats\/wp-json\/wp\/v2\/users\/533"}],"version-history":[{"count":11,"href":"https:\/\/pressbooks.bccampus.ca\/simplestats\/wp-json\/pressbooks\/v2\/chapters\/1784\/revisions"}],"predecessor-version":[{"id":1886,"href":"https:\/\/pressbooks.bccampus.ca\/simplestats\/wp-json\/pressbooks\/v2\/chapters\/1784\/revisions\/1886"}],"part":[{"href":"https:\/\/pressbooks.bccampus.ca\/simplestats\/wp-json\/pressbooks\/v2\/parts\/28"}],"metadata":[{"href":"https:\/\/pressbooks.bccampus.ca\/simplestats\/wp-json\/pressbooks\/v2\/chapters\/1784\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/pressbooks.bccampus.ca\/simplestats\/wp-json\/wp\/v2\/media?parent=1784"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/pressbooks.bccampus.ca\/simplestats\/wp-json\/pressbooks\/v2\/chapter-type?post=1784"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/pressbooks.bccampus.ca\/simplestats\/wp-json\/wp\/v2\/contributor?post=1784"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/pressbooks.bccampus.ca\/simplestats\/wp-json\/wp\/v2\/license?post=1784"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}