{"id":2094,"date":"2021-08-03T17:41:29","date_gmt":"2021-08-03T21:41:29","guid":{"rendered":"https:\/\/openbooks.macewan.ca\/rcommander\/?post_type=chapter&#038;p=2094"},"modified":"2024-01-23T18:01:21","modified_gmt":"2024-01-23T23:01:21","slug":"3-6-summary-of-probability-rules","status":"publish","type":"chapter","link":"https:\/\/openbooks.macewan.ca\/introstats\/chapter\/3-6-summary-of-probability-rules\/","title":{"raw":"3.6 Summary of Probability Rules","rendered":"3.6 Summary of Probability Rules"},"content":{"raw":"We have learned the following probability rules so far:\r\n<ul>\r\n \t<li><strong>Complement Rule<\/strong>: [latex] P(\\text{not }E) = 1 - P(E)[\/latex] or [latex] P(E) = 1 - P(\\text{not }E)[\/latex].<\/li>\r\n \t<li><strong>General Addition Rule<\/strong>: [latex] P(A \\text{ or } B) = P(A) + P(B) - P(A \\: \\&amp; \\: B)[\/latex].<\/li>\r\n \t<li><strong>Special Addition Rule<\/strong>: <span style=\"text-align: initial;font-size: 1em\">[latex] P(A \\text{ or } B) = P(A) + P(B)[\/latex]\u00a0<\/span>if events A and B are <strong>mutually exclusive<\/strong>.<\/li>\r\n \t<li><strong>Conditional Probability Rule<\/strong>: [latex]P(A|B) = \\frac{P(A \\: \\&amp; \\: B)}{P(B)}[\/latex] for [latex]P(B) &gt; 0[\/latex].<\/li>\r\n \t<li><strong>General Multiplication Rule<\/strong>: [latex] P(A \\: \\&amp; \\: B)=P(B) \\times P(A|B)[\/latex] or \u00a0[latex] P(A \\: \\&amp; \\: B)=P(A) \\times P(B|A)[\/latex].<\/li>\r\n \t<li><strong>Special Multiplication Rule<\/strong>: [latex] P(A \\: \\&amp; \\: B)=P(A) \\times P(B)[\/latex] if events A and B are<strong> independent<\/strong>.<\/li>\r\n<\/ul>\r\n<div style=\"height: 55px;margin-top: 2.1428571429em\">\r\n\r\n<img class=\"size-full wp-image-99 alignleft\" src=\"https:\/\/openbooks.macewan.ca\/rcommander\/wp-content\/uploads\/sites\/8\/2020\/06\/activity.png\" alt=\"\" width=\"250\" height=\"50\" \/>\r\n\r\n<\/div>\r\n<div class=\"textbox textbox--exercises\"><header class=\"textbox__header\">\r\n<p class=\"textbox__title\">Exercise: Application of Probability Rules<\/p>\r\n\r\n<\/header>\r\n<div class=\"textbox__content\">\r\n\r\nIt is believed that there is an association between breast cancer and smoking. The following table summarizes results of an observational study of 200 females who are classified by their disease status and smoking status.\r\n<div align=\"center\">\r\n<table class=\"aligncenter first-col-border last-col-border\" style=\"width: 100%;height: 60px\" border=\"1\" cellspacing=\"0\" cellpadding=\"2\">\r\n<thead>\r\n<tr class=\"border-bottom\" style=\"height: 15px\">\r\n<td style=\"height: 15px;width: 28.333333333333336%\" valign=\"top\"><\/td>\r\n<th style=\"height: 15px;width: 24.102564102564106%\" scope=\"col\" valign=\"top\"><strong>Smoker (S)<\/strong><\/th>\r\n<th style=\"height: 15px;width: 29.871794871794865%\" scope=\"col\" valign=\"top\"><strong>Non-smoker (not S)<\/strong><\/th>\r\n<th style=\"height: 15px;width: 17.564102564102566%\" scope=\"col\" valign=\"top\"><strong>Total<\/strong><\/th>\r\n<\/tr>\r\n<\/thead>\r\n<tbody>\r\n<tr style=\"height: 15px\">\r\n<th style=\"height: 15px;width: 28.333333333333336%\" scope=\"row\" valign=\"top\"><strong>Breast Cancer (B)<\/strong><\/th>\r\n<td style=\"height: 15px;width: 24.102564102564106%\" valign=\"top\">10 (<strong class=\"redtext\">B &amp; S<\/strong>)<\/td>\r\n<td style=\"height: 15px;width: 29.871794871794865%\" valign=\"top\">30 (<strong><em>B &amp; not S<\/em><\/strong>)<\/td>\r\n<td style=\"height: 15px;width: 17.564102564102566%\" valign=\"top\">40\u00a0 (<strong><em>B<\/em><\/strong>)<\/td>\r\n<\/tr>\r\n<tr class=\"border-bottom\" style=\"height: 15px\">\r\n<th style=\"height: 15px;width: 28.333333333333336%\" scope=\"row\" valign=\"top\"><strong>Cancer Free (not B)<\/strong><\/th>\r\n<td style=\"height: 15px;width: 24.102564102564106%\" valign=\"top\">20 (<strong><em>not B &amp; S<\/em><\/strong>)<\/td>\r\n<td style=\"height: 15px;width: 29.871794871794865%\" valign=\"top\">140 (<strong><em>not B &amp; not S<\/em><\/strong>)<\/td>\r\n<td style=\"height: 15px;width: 17.564102564102566%\" valign=\"top\">160\u00a0 (<strong><em>not B<\/em><\/strong>)<\/td>\r\n<\/tr>\r\n<tr class=\"border\" style=\"height: 15px\">\r\n<th style=\"height: 15px;width: 28.333333333333336%\" scope=\"row\" valign=\"top\"><strong>Total<\/strong><\/th>\r\n<td style=\"height: 15px;width: 24.102564102564106%\" valign=\"top\">30 (<strong class=\"bluetext\"><em>S<\/em><\/strong>)<\/td>\r\n<td style=\"height: 15px;width: 29.871794871794865%\" valign=\"top\">170 (<strong><em>not S<\/em><\/strong>)<\/td>\r\n<td style=\"height: 15px;width: 17.564102564102566%\" valign=\"top\">200<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<\/div>\r\n<ol>\r\n \t<li>What is the probability that a randomly selected female suffers from breast cancer?<\/li>\r\n \t<li>What is the probability that a randomly selected female is a smoker?<\/li>\r\n \t<li>What is the probability that a randomly selected female has breast cancer and she is a smoker?<\/li>\r\n \t<li>What is the probability that a randomly selected female has breast cancer given that she is a smoker?<\/li>\r\n \t<li>Are the events \u201cBreast Cancer\u201d and \u201cSmoker\u201d independent? Explain your answer by calculation.<\/li>\r\n \t<li>Interpret the conditional probability calculated in part (4) in several ways.<\/li>\r\n<\/ol>\r\n<div>\r\n<div><\/div>\r\n<\/div>\r\n<details><summary>Show\/Hide Answer<\/summary>\r\n<div id=\"input02\">\r\n<div id=\"answer02\" class=\"hidden\">\r\n<ol>\r\n \t<li>What is the probability that a randomly selected female suffers from breast cancer?<\/li>\r\n<\/ol>\r\n<p style=\"padding-left: 40px\">It is very important to define the events in order to apply the probability rules. Let B = the event of suffering breast cancer, and S = the event of being a smoker. For this exercise, we want to compute [latex] P(B)[\/latex]. Since we randomly pick one female and each female has the same chance of being selected, we can use the f\/N rule.<\/p>\r\n<p style=\"text-align: center\" align=\"center\">[latex] P(B) = \\frac{f}{N} = \\frac{40}{200} = 0.2.[\/latex]<\/p>\r\n\r\n<ol start=\"2\">\r\n \t<li>What is the probability that a randomly selected female is a smoker?<\/li>\r\n<\/ol>\r\n<p style=\"text-align: center\" align=\"center\">[latex] P(S) = \\frac{f}{N} = \\frac{30}{200} = 0.15.[\/latex]<\/p>\r\n\r\n<ol start=\"3\">\r\n \t<li>What is the probability that a randomly selected female has breast cancer and she is a smoker?<\/li>\r\n<\/ol>\r\n<p style=\"text-align: center\" align=\"center\">[latex] P(B \\: \\&amp; \\: S) = \\frac{f}{N} = \\frac{10}{200} = 0.05.[\/latex]<\/p>\r\n\r\n<ol start=\"4\">\r\n \t<li>What is the probability that a randomly selected female has breast cancer given that she is a smoker?<\/li>\r\n<\/ol>\r\n<p style=\"padding-left: 40px\">We want to compute P(B|S). By the conditional probability rule<\/p>\r\n<p style=\"text-align: center\" align=\"center\">[latex] P(B|S) = \\frac{P(B \\: \\&amp; \\: S)}{P(S)} = \\frac{10\/200}{30\/200} = \\frac{1}{3} = 0.333.[\/latex]<\/p>\r\n\r\n<ol start=\"5\">\r\n \t<li>Are the events \u201cBreast Cancer\u201d and \u201cSmoker\u201d independent? Explain your answer by calculation.\r\nNo, since [latex] P(B|S) \\neq P(B)[\/latex]. The conditional probability of breast cancer given smoker is [latex] P(B|S) = 0.333[\/latex] and the unconditional probability of breast cancer [latex] P(B) = 0.2[\/latex], which implies there is an association between smoking and higher rates of breast cancer.<\/li>\r\n<\/ol>\r\n<p style=\"padding-left: 40px\">We can also check whether [latex] P(B \\:\u00a0 \\&amp;\u00a0 \\: S)=P(B) \\times P(S)[\/latex]. Since [latex] P(B \\:\u00a0 \\&amp;\u00a0 \\: S)=\\frac{10}{200} \\neq (\\frac{40}{200}) (\\frac{30}{200}) = P(B) \\times P(S)[\/latex], the two events are NOT independent.<\/p>\r\n\r\n<ol start=\"6\">\r\n \t<li>Interpret the conditional probability calculated in part (4) in several ways.<\/li>\r\n<\/ol>\r\nWe got [latex]P(B|S)=0.333[\/latex] in part (4), and this conditional probability can be interpreted in the following ways:\r\n<ul>\r\n \t<li style=\"list-style-type: none\">\r\n<ul>\r\n \t<li>If a randomly selected woman is a smoker, her probability of having breast cancer is 0.333.<\/li>\r\n \t<li>Given that a randomly selected woman smokes, she has a probability of 0.333 of having breast cancer.<\/li>\r\n \t<li>If you are a woman who smokes, then you have a probability of 0.333 of having breast cancer.<\/li>\r\n \t<li>33.3% of women who smoke have breast cancer.<\/li>\r\n<\/ul>\r\n<\/li>\r\n<\/ul>\r\n<\/div>\r\n<\/div>\r\n<\/details><\/div>\r\n<\/div>","rendered":"<p>We have learned the following probability rules so far:<\/p>\n<ul>\n<li><strong>Complement Rule<\/strong>: [latex]P(\\text{not }E) = 1 - P(E)[\/latex] or [latex]P(E) = 1 - P(\\text{not }E)[\/latex].<\/li>\n<li><strong>General Addition Rule<\/strong>: [latex]P(A \\text{ or } B) = P(A) + P(B) - P(A \\: \\& \\: B)[\/latex].<\/li>\n<li><strong>Special Addition Rule<\/strong>: <span style=\"text-align: initial;font-size: 1em\">[latex]P(A \\text{ or } B) = P(A) + P(B)[\/latex]\u00a0<\/span>if events A and B are <strong>mutually exclusive<\/strong>.<\/li>\n<li><strong>Conditional Probability Rule<\/strong>: [latex]P(A|B) = \\frac{P(A \\: \\& \\: B)}{P(B)}[\/latex] for [latex]P(B) > 0[\/latex].<\/li>\n<li><strong>General Multiplication Rule<\/strong>: [latex]P(A \\: \\& \\: B)=P(B) \\times P(A|B)[\/latex] or \u00a0[latex]P(A \\: \\& \\: B)=P(A) \\times P(B|A)[\/latex].<\/li>\n<li><strong>Special Multiplication Rule<\/strong>: [latex]P(A \\: \\& \\: B)=P(A) \\times P(B)[\/latex] if events A and B are<strong> independent<\/strong>.<\/li>\n<\/ul>\n<div style=\"height: 55px;margin-top: 2.1428571429em\">\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-99 alignleft\" src=\"https:\/\/openbooks.macewan.ca\/rcommander\/wp-content\/uploads\/sites\/8\/2020\/06\/activity.png\" alt=\"\" width=\"250\" height=\"50\" srcset=\"https:\/\/openbooks.macewan.ca\/introstats\/wp-content\/uploads\/sites\/8\/2020\/06\/activity.png 250w, https:\/\/openbooks.macewan.ca\/introstats\/wp-content\/uploads\/sites\/8\/2020\/06\/activity-65x13.png 65w, https:\/\/openbooks.macewan.ca\/introstats\/wp-content\/uploads\/sites\/8\/2020\/06\/activity-225x45.png 225w\" sizes=\"auto, (max-width: 250px) 100vw, 250px\" \/><\/p>\n<\/div>\n<div class=\"textbox textbox--exercises\">\n<header class=\"textbox__header\">\n<p class=\"textbox__title\">Exercise: Application of Probability Rules<\/p>\n<\/header>\n<div class=\"textbox__content\">\n<p>It is believed that there is an association between breast cancer and smoking. The following table summarizes results of an observational study of 200 females who are classified by their disease status and smoking status.<\/p>\n<div style=\"margin: auto;\">\n<table class=\"aligncenter first-col-border last-col-border\" style=\"width: 100%;height: 60px; border-spacing: 0px;\" cellpadding=\"2\">\n<thead>\n<tr class=\"border-bottom\" style=\"height: 15px\">\n<td style=\"height: 15px;width: 28.333333333333336%\" valign=\"top\"><\/td>\n<th style=\"height: 15px;width: 24.102564102564106%\" scope=\"col\" valign=\"top\"><strong>Smoker (S)<\/strong><\/th>\n<th style=\"height: 15px;width: 29.871794871794865%\" scope=\"col\" valign=\"top\"><strong>Non-smoker (not S)<\/strong><\/th>\n<th style=\"height: 15px;width: 17.564102564102566%\" scope=\"col\" valign=\"top\"><strong>Total<\/strong><\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr style=\"height: 15px\">\n<th style=\"height: 15px;width: 28.333333333333336%\" scope=\"row\" valign=\"top\"><strong>Breast Cancer (B)<\/strong><\/th>\n<td style=\"height: 15px;width: 24.102564102564106%\" valign=\"top\">10 (<strong class=\"redtext\">B &amp; S<\/strong>)<\/td>\n<td style=\"height: 15px;width: 29.871794871794865%\" valign=\"top\">30 (<strong><em>B &amp; not S<\/em><\/strong>)<\/td>\n<td style=\"height: 15px;width: 17.564102564102566%\" valign=\"top\">40\u00a0 (<strong><em>B<\/em><\/strong>)<\/td>\n<\/tr>\n<tr class=\"border-bottom\" style=\"height: 15px\">\n<th style=\"height: 15px;width: 28.333333333333336%\" scope=\"row\" valign=\"top\"><strong>Cancer Free (not B)<\/strong><\/th>\n<td style=\"height: 15px;width: 24.102564102564106%\" valign=\"top\">20 (<strong><em>not B &amp; S<\/em><\/strong>)<\/td>\n<td style=\"height: 15px;width: 29.871794871794865%\" valign=\"top\">140 (<strong><em>not B &amp; not S<\/em><\/strong>)<\/td>\n<td style=\"height: 15px;width: 17.564102564102566%\" valign=\"top\">160\u00a0 (<strong><em>not B<\/em><\/strong>)<\/td>\n<\/tr>\n<tr class=\"border\" style=\"height: 15px\">\n<th style=\"height: 15px;width: 28.333333333333336%\" scope=\"row\" valign=\"top\"><strong>Total<\/strong><\/th>\n<td style=\"height: 15px;width: 24.102564102564106%\" valign=\"top\">30 (<strong class=\"bluetext\"><em>S<\/em><\/strong>)<\/td>\n<td style=\"height: 15px;width: 29.871794871794865%\" valign=\"top\">170 (<strong><em>not S<\/em><\/strong>)<\/td>\n<td style=\"height: 15px;width: 17.564102564102566%\" valign=\"top\">200<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<ol>\n<li>What is the probability that a randomly selected female suffers from breast cancer?<\/li>\n<li>What is the probability that a randomly selected female is a smoker?<\/li>\n<li>What is the probability that a randomly selected female has breast cancer and she is a smoker?<\/li>\n<li>What is the probability that a randomly selected female has breast cancer given that she is a smoker?<\/li>\n<li>Are the events \u201cBreast Cancer\u201d and \u201cSmoker\u201d independent? Explain your answer by calculation.<\/li>\n<li>Interpret the conditional probability calculated in part (4) in several ways.<\/li>\n<\/ol>\n<div>\n<div><\/div>\n<\/div>\n<details>\n<summary>Show\/Hide Answer<\/summary>\n<div id=\"input02\">\n<div id=\"answer02\" class=\"hidden\">\n<ol>\n<li>What is the probability that a randomly selected female suffers from breast cancer?<\/li>\n<\/ol>\n<p style=\"padding-left: 40px\">It is very important to define the events in order to apply the probability rules. Let B = the event of suffering breast cancer, and S = the event of being a smoker. For this exercise, we want to compute [latex]P(B)[\/latex]. Since we randomly pick one female and each female has the same chance of being selected, we can use the f\/N rule.<\/p>\n<p style=\"text-align: center; text-align: center;\">[latex]P(B) = \\frac{f}{N} = \\frac{40}{200} = 0.2.[\/latex]<\/p>\n<ol start=\"2\">\n<li>What is the probability that a randomly selected female is a smoker?<\/li>\n<\/ol>\n<p style=\"text-align: center; text-align: center;\">[latex]P(S) = \\frac{f}{N} = \\frac{30}{200} = 0.15.[\/latex]<\/p>\n<ol start=\"3\">\n<li>What is the probability that a randomly selected female has breast cancer and she is a smoker?<\/li>\n<\/ol>\n<p style=\"text-align: center; text-align: center;\">[latex]P(B \\: \\& \\: S) = \\frac{f}{N} = \\frac{10}{200} = 0.05.[\/latex]<\/p>\n<ol start=\"4\">\n<li>What is the probability that a randomly selected female has breast cancer given that she is a smoker?<\/li>\n<\/ol>\n<p style=\"padding-left: 40px\">We want to compute P(B|S). By the conditional probability rule<\/p>\n<p style=\"text-align: center; text-align: center;\">[latex]P(B|S) = \\frac{P(B \\: \\& \\: S)}{P(S)} = \\frac{10\/200}{30\/200} = \\frac{1}{3} = 0.333.[\/latex]<\/p>\n<ol start=\"5\">\n<li>Are the events \u201cBreast Cancer\u201d and \u201cSmoker\u201d independent? Explain your answer by calculation.<br \/>\nNo, since [latex]P(B|S) \\neq P(B)[\/latex]. The conditional probability of breast cancer given smoker is [latex]P(B|S) = 0.333[\/latex] and the unconditional probability of breast cancer [latex]P(B) = 0.2[\/latex], which implies there is an association between smoking and higher rates of breast cancer.<\/li>\n<\/ol>\n<p style=\"padding-left: 40px\">We can also check whether [latex]P(B \\:\u00a0 \\&\u00a0 \\: S)=P(B) \\times P(S)[\/latex]. Since [latex]P(B \\:\u00a0 \\&\u00a0 \\: S)=\\frac{10}{200} \\neq (\\frac{40}{200}) (\\frac{30}{200}) = P(B) \\times P(S)[\/latex], the two events are NOT independent.<\/p>\n<ol start=\"6\">\n<li>Interpret the conditional probability calculated in part (4) in several ways.<\/li>\n<\/ol>\n<p>We got [latex]P(B|S)=0.333[\/latex] in part (4), and this conditional probability can be interpreted in the following ways:<\/p>\n<ul>\n<li style=\"list-style-type: none\">\n<ul>\n<li>If a randomly selected woman is a smoker, her probability of having breast cancer is 0.333.<\/li>\n<li>Given that a randomly selected woman smokes, she has a probability of 0.333 of having breast cancer.<\/li>\n<li>If you are a woman who smokes, then you have a probability of 0.333 of having breast cancer.<\/li>\n<li>33.3% of women who smoke have breast cancer.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/div>\n<\/div>\n<\/details>\n<\/div>\n<\/div>\n","protected":false},"author":19,"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-2094","chapter","type-chapter","status-publish","hentry"],"part":327,"_links":{"self":[{"href":"https:\/\/openbooks.macewan.ca\/introstats\/wp-json\/pressbooks\/v2\/chapters\/2094","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/openbooks.macewan.ca\/introstats\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/openbooks.macewan.ca\/introstats\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/openbooks.macewan.ca\/introstats\/wp-json\/wp\/v2\/users\/19"}],"version-history":[{"count":15,"href":"https:\/\/openbooks.macewan.ca\/introstats\/wp-json\/pressbooks\/v2\/chapters\/2094\/revisions"}],"predecessor-version":[{"id":5036,"href":"https:\/\/openbooks.macewan.ca\/introstats\/wp-json\/pressbooks\/v2\/chapters\/2094\/revisions\/5036"}],"part":[{"href":"https:\/\/openbooks.macewan.ca\/introstats\/wp-json\/pressbooks\/v2\/parts\/327"}],"metadata":[{"href":"https:\/\/openbooks.macewan.ca\/introstats\/wp-json\/pressbooks\/v2\/chapters\/2094\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/openbooks.macewan.ca\/introstats\/wp-json\/wp\/v2\/media?parent=2094"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/openbooks.macewan.ca\/introstats\/wp-json\/pressbooks\/v2\/chapter-type?post=2094"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/openbooks.macewan.ca\/introstats\/wp-json\/wp\/v2\/contributor?post=2094"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/openbooks.macewan.ca\/introstats\/wp-json\/wp\/v2\/license?post=2094"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}