{"id":49,"date":"2021-01-12T22:19:31","date_gmt":"2021-01-12T22:19:31","guid":{"rendered":"https:\/\/textbooks.jaykesler.net\/introstats\/chapter\/mean-or-expected-value-and-standard-deviation\/"},"modified":"2021-09-07T21:14:18","modified_gmt":"2021-09-07T21:14:18","slug":"mean-or-expected-value-and-standard-deviation","status":"publish","type":"chapter","link":"https:\/\/textbooks.jaykesler.net\/introstats\/chapter\/mean-or-expected-value-and-standard-deviation\/","title":{"rendered":"Mean or Expected Value and Standard Deviation"},"content":{"raw":"<span style=\"display: none;\">\r\n[latexpage]\r\n<\/span>\r\n<div id=\"2779d41f-ca46-4a9d-8e8d-c2aeb13b92d1\" class=\"chapter-content-module\" data-type=\"page\" data-cnxml-to-html-ver=\"2.1.0\">\r\n<p id=\"delete_me\">The <span id=\"term101\" data-type=\"term\">expected value<\/span> is often referred to as the <strong>\"long-term\" average or mean<\/strong>. This means that over the long term of doing an experiment over and over, you would <strong>expect<\/strong> this average.<\/p>\r\n<p id=\"fs-idm122105344\">You toss a coin and record the result. What is the probability that the result is heads? If you flip a coin two times, does probability tell you that these flips will result in one heads and one tail? You might toss a fair coin ten times and record nine heads. As you learned in our <a href=\"https:\/\/textbooks.jaykesler.net\/introstats\/part\/probability\/\">Introduction to Probability<\/a>, probability does not describe the short-term results of an experiment. It gives information about what can be expected in the long term. To demonstrate this, Karl Pearson once tossed a fair coin 24,000 times! He recorded the results of each toss, obtaining heads 12,012 times. <strong data-effect=\"bold\">In his experiment, Pearson illustrated the Law of Large Numbers<\/strong>.<\/p>\r\n<p id=\"fs-idm32245968\"><strong data-effect=\"bold\">The Law of Large Numbers<\/strong> states that, as the number of trials in a probability experiment increases, the difference between the theoretical probability of an event and the relative frequency approaches zero <strong data-effect=\"bold\">(the theoretical probability and the relative frequency get closer and closer together)<\/strong>. When evaluating the long-term results of statistical experiments, we often want to know the \u201caverage\u201d outcome. This \u201clong-term average\u201d is known as the <span id=\"term102\" data-type=\"term\">mean<\/span> or <span id=\"term103\" data-type=\"term\">expected value<\/span> of the experiment and is denoted by the Greek letter <em data-effect=\"italics\">\u03bc<\/em>. In other words, after conducting many trials of an experiment, you would expect this average value.<\/p>\r\n\r\n<div id=\"id8737934\" class=\"ui-has-child-title\" data-type=\"note\" data-has-label=\"true\" data-label=\"\"><header>\r\n<h3 class=\"os-title\" data-type=\"title\"><span id=\"1\" class=\"os-title-label\" data-type=\"\">NOTE<\/span><\/h3>\r\n<\/header><section>\r\n<div class=\"os-note-body\">\r\n<p id=\"eip-idp95250624\">To find the expected value or long term average, <em data-effect=\"italics\">\u03bc<\/em>, simply multiply each value of the random variable by its probability and add the products.<\/p>\r\n\r\n<\/div>\r\n<\/section><\/div>\r\n<div id=\"fs-idp56252608\" class=\"ui-has-child-title\" data-type=\"example\"><header>\r\n<h3 class=\"os-title\"><span class=\"os-title-label\">Example <\/span><span class=\"os-number\">4.3<\/span><\/h3>\r\n<\/header><section>\r\n<div class=\"body\">\r\n<p id=\"fs-idm190895152\">A men's soccer team plays soccer zero, one, or two days a week. The probability that they play zero days is 0.2, the probability that they play one day is 0.5, and the probability that they play two days is 0.3. Find the long-term average or expected value, <em data-effect=\"italics\">\u03bc<\/em>, of the number of days per week the men's soccer team plays soccer.<\/p>\r\n<p id=\"element-126\">To do the problem, first let the random variable <em data-effect=\"italics\">X<\/em> = the number of days the men's soccer team plays soccer per week. <em data-effect=\"italics\">X<\/em> takes on the values 0, 1, 2. Construct a PDF table adding a column <em data-effect=\"italics\">x<\/em>*<em data-effect=\"italics\">P<\/em>(<em data-effect=\"italics\">x<\/em>). In this column, you will multiply each <em data-effect=\"italics\">x<\/em> value by its probability.<\/p>\r\n\r\n<div id=\"element-749\" class=\"os-table \">\r\n<table class=\"probdist\" summary=\"Table 4.5 Expected Value Table This table is called an expected value table. The table helps you calculate the expected value or long-term average. \" data-id=\"element-749\">\r\n<thead>\r\n<tr>\r\n<th scope=\"col\"><em data-effect=\"italics\">x<\/em><\/th>\r\n<th scope=\"col\"><em data-effect=\"italics\">P<\/em>(<em data-effect=\"italics\">x<\/em>)<\/th>\r\n<th scope=\"col\"><em data-effect=\"italics\">x<\/em>*<em data-effect=\"italics\">P<\/em>(<em data-effect=\"italics\">x<\/em>)<\/th>\r\n<\/tr>\r\n<\/thead>\r\n<tbody>\r\n<tr>\r\n<td>0<\/td>\r\n<td>0.2<\/td>\r\n<td>(0)(0.2) = 0<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>1<\/td>\r\n<td>0.5<\/td>\r\n<td>(1)(0.5) = 0.5<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>2<\/td>\r\n<td>0.3<\/td>\r\n<td>(2)(0.3) = 0.6<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<div class=\"os-caption-container\"><span class=\"os-title-label\">Table <\/span><span class=\"os-number\">4.5<\/span> <span class=\"os-title\" data-type=\"title\">Expected Value Table This table is called an expected value table. The table helps you calculate the expected value or long-term average.<\/span><\/div>\r\n<\/div>\r\n<p id=\"fs-idm87467792\">Add the last column <em data-effect=\"italics\">x<\/em>*<em data-effect=\"italics\">P<\/em>(<em data-effect=\"italics\">x<\/em>) to find the long term average or expected value: (0)(0.2) + (1)(0.5) + (2)(0.3) = 0 + 0.5 + 0.6 = 1.1.<\/p>\r\n<p id=\"element-353\">The expected value is 1.1. The men's soccer team would, on the average, expect to play soccer 1.1 days per week. The number 1.1 is the long-term average or expected value if the men's soccer team plays soccer week after week after week. We say <em data-effect=\"italics\">\u03bc<\/em> = 1.1.<\/p>\r\n\r\n<\/div>\r\n<\/section><\/div>\r\n<div id=\"fs-idm82770544\" class=\"ui-has-child-title\" data-type=\"example\"><header>\r\n<h3 class=\"os-title\"><span class=\"os-title-label\">Example <\/span><span class=\"os-number\">4.4<\/span><\/h3>\r\n<\/header><section>\r\n<div class=\"body\">\r\n<p id=\"fs-idm122112\">Find the expected value of the number of times a newborn baby's crying wakes its mother after midnight. The expected value is the expected number of times per week a newborn baby's crying wakes its mother after midnight. Calculate the standard deviation of the variable as well.<\/p>\r\n\r\n<div id=\"element-740\" class=\"os-table \">\r\n<table class=\"probdist\" summary=\"Table 4.6 You expect a newborn to wake its mother after midnight 2.1 times per week, on the average. \" data-id=\"element-740\">\r\n<thead>\r\n<tr>\r\n<th scope=\"col\"><em data-effect=\"italics\">x<\/em><\/th>\r\n<th scope=\"col\"><em data-effect=\"italics\">P<\/em>(<em data-effect=\"italics\">x<\/em>)<\/th>\r\n<th scope=\"col\"><em data-effect=\"italics\">x<\/em>*<em data-effect=\"italics\">P<\/em>(<em data-effect=\"italics\">x<\/em>)<\/th>\r\n<th scope=\"col\">(<em data-effect=\"italics\">x<\/em> \u2013 <em data-effect=\"italics\">\u03bc<\/em>)<sup>2<\/sup> \u22c5 <em data-effect=\"italics\">P<\/em>(<em data-effect=\"italics\">x<\/em>)<\/th>\r\n<\/tr>\r\n<\/thead>\r\n<tbody>\r\n<tr>\r\n<td>0<\/td>\r\n<td>$\\frac{2}{50}$<\/td>\r\n<td>$(0)\\left(\\frac{2}{50}\\right)=0$<\/td>\r\n<td>$(0-2.1)^2\\cdot 0.04 = 0.1764$<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>1<\/td>\r\n<td>$\\frac{11}{50}$<\/td>\r\n<td>$(1)\\left(\\frac{11}{50}\\right)=\\frac{11}{50}$<\/td>\r\n<td>$(1-2.1)^2\\cdot 0.22 = 0.2662$<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>2<\/td>\r\n<td>$\\frac{23}{50}$<\/td>\r\n<td>$(2)\\left(\\frac{23}{50}\\right)=\\frac{46}{50}$<\/td>\r\n<td>$(2-2.1)^2\\cdot 0.46 = 0.0046$<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>3<\/td>\r\n<td>$\\frac{9}{50}$<\/td>\r\n<td>$(3)\\left(\\frac{9}{50}\\right)=\\frac{27}{50}$<\/td>\r\n<td>$(3-2.1)^2\\cdot 0.18 = 0.1458$<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>4<\/td>\r\n<td>$\\frac{4}{50}$<\/td>\r\n<td>$(4)\\left(\\frac{4}{50}\\right)=\\frac{16}{50}$<\/td>\r\n<td>$(4-2.1)^2\\cdot 0.08 = 0.2888$<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>5<\/td>\r\n<td>$\\frac{1}{50}$<\/td>\r\n<td>$(5)\\left(\\frac{1}{50}\\right)=\\frac{5}{50}$<\/td>\r\n<td>$(5-2.1)^2\\cdot 0.02 = 0.1682$<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<div class=\"os-caption-container\"><span class=\"os-title-label\">Table <\/span><span class=\"os-number\">4.6<\/span> <span class=\"os-title\" data-type=\"title\">You expect a newborn to wake its mother after midnight 2.1 times per week, on the average.<\/span><\/div>\r\n<\/div>\r\n<p id=\"fs-idp11618480\">Add the values in the third column of the table to find the expected value of <em data-effect=\"italics\">X<\/em>: <span data-type=\"newline\" data-count=\"1\">\r\n<\/span><em data-effect=\"italics\">\u03bc<\/em> = Expected Value =$\\frac{105}{50}= 2.1$<\/p>\r\n<p id=\"fs-idm128391792\">Use <em data-effect=\"italics\">\u03bc<\/em> to complete the table. The fourth column of this table will provide the values you need to calculate the standard deviation. For each value <em data-effect=\"italics\">x<\/em>, multiply the square of its deviation by its probability. (Each deviation has the format <em data-effect=\"italics\">x<\/em> \u2013 <em data-effect=\"italics\">\u03bc<\/em>).<\/p>\r\n<p id=\"fs-idm66531168\">Add the values in the fourth column of the table:<\/p>\r\n<p id=\"fs-idm70422448\">0.1764 + 0.2662 + 0.0046 + 0.1458 + 0.2888 + 0.1682 = 1.05<\/p>\r\n<p id=\"fs-idm146103552\">The standard deviation of <em data-effect=\"italics\">X<\/em> is the square root of this sum: <em data-effect=\"italics\">$\\sigma =\\sqrt{1.05} = 1.0247$<\/em><\/p>\r\n<p id=\"eip-332\">The mean, <em data-effect=\"italics\">\u03bc<\/em>, of a discrete probability function is the expected value.<\/p>\r\n$$\\mu = \\sum \\left( x \\cdot P(x)\\right)$$\r\n\r\nThe standard deviation, $\\sigma$, of the PDF is the square root of the variance.\r\n\r\n$$\\sigma = \\sqrt{\\sum\\left[ (x-\\mu)^2 \\cdot P(x) \\right]}$$\r\n\r\nWhen all outcomes in the probability distribution are equally likely, these formulas coincide with the mean and standard deviation of the set of possible outcomes.\r\n\r\n<\/div>\r\n<\/section><\/div>\r\n<div id=\"fs-idm80414512\" class=\"statistics try ui-has-child-title\" data-type=\"note\" data-has-label=\"true\" data-label=\"\"><header>\r\n<h3 class=\"os-title\"><span class=\"os-title-label\">Try It <\/span><span class=\"os-number\">4.4\r\n<\/span><\/h3>\r\n<\/header><section>\r\n<div id=\"fs-idm131173600\" class=\" unnumbered\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"fs-idm112686784\" data-type=\"problem\">\r\n<div class=\"os-problem-container \">\r\n<p id=\"fs-idm86997008\">A hospital researcher is interested in the number of times the average post-op patient will ring the nurse during a 12-hour shift. For a random sample of 50 patients, the following information was obtained. What is the expected value?<\/p>\r\n\r\n<div id=\"fs-idm56815952\" class=\"os-table \">\r\n<table class=\"probdist\" summary=\"Table 4.7 \" data-id=\"fs-idm56815952\">\r\n<thead>\r\n<tr>\r\n<th scope=\"col\"><em data-effect=\"italics\">x<\/em><\/th>\r\n<th scope=\"col\"><em data-effect=\"italics\">P<\/em>(<em data-effect=\"italics\">x<\/em>)<\/th>\r\n<\/tr>\r\n<\/thead>\r\n<tbody>\r\n<tr>\r\n<td>0<\/td>\r\n<td>$\\frac{4}{50}$<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>1<\/td>\r\n<td>$\\frac{8}{50}$<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>2<\/td>\r\n<td>$\\frac{16}{50}$<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>3<\/td>\r\n<td>$\\frac{14}{50}$<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>4<\/td>\r\n<td>$\\frac{6}{50}$<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>5<\/td>\r\n<td>$\\frac{2}{50}$<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<div class=\"os-caption-container\"><span class=\"os-title-label\">Table <\/span><span class=\"os-number\">4.7<\/span><\/div>\r\n<\/div>\r\n<\/div>\r\n<\/div>\r\n<\/section><\/div>\r\n<\/section><\/div>\r\n<div id=\"element-116\" class=\"ui-has-child-title\" data-type=\"example\"><header>\r\n<h3 class=\"os-title\"><span class=\"os-title-label\">Example <\/span><span class=\"os-number\">4.5<\/span><\/h3>\r\n<\/header><section>\r\n<div class=\"body\">\r\n<p id=\"element-117\">Suppose you play a game of chance in which five numbers are chosen from 0, 1, 2, 3, 4, 5, 6, 7, 8, 9. A computer randomly selects five numbers from zero to nine with replacement. You pay \\$2 to play and could profit \\$100,000 if you match all five numbers in order (you get your \\$2 back plus \\$100,000). Over the long term, what is your <strong>expected<\/strong> profit of playing the game?<\/p>\r\n<p id=\"element-481\">To do this problem, set up an expected value table for the amount of money you can profit.<\/p>\r\n<p id=\"element-382\">Let <em data-effect=\"italics\">X<\/em> = the amount of money you profit. The values of <em data-effect=\"italics\">x<\/em> are not 0, 1, 2, 3, 4, 5, 6, 7, 8, 9. Since you are interested in your profit (or loss), the values of <em data-effect=\"italics\">x<\/em> are 100,000 dollars and \u22122 dollars.<\/p>\r\n<p id=\"element-996\">To win, you must get all five numbers correct, in order. The probability of choosing one correct number is $\\frac{1}{10}$ because there are ten numbers. You may choose a number more than once. The probability of choosing all five numbers correctly and in order is<\/p>\r\n$$\\left( \\frac{1}{10}\\right)\\left( \\frac{1}{10}\\right)\\left( \\frac{1}{10}\\right)\\left( \\frac{1}{10}\\right)\\left( \\frac{1}{10}\\right) = \\left( \\frac{1}{10}\\right)^5 = 0.00001$$\r\n\r\nTherefore, the probability of winning is 0.00001 and the probability of losing is\r\n\r\n$$1-0.00001 = 0.99999$$\r\n\r\nThe expected value table is as follows:\r\n<div id=\"element-480\" class=\"os-table \">\r\n<table class=\"probdist\" summary=\"Table 4.8 \u0391dd the last column. \u20131.99998 + 1 = \u20130.99998 \" data-id=\"element-480\">\r\n<thead>\r\n<tr>\r\n<th scope=\"col\"><\/th>\r\n<th scope=\"col\"><em data-effect=\"italics\">x<\/em><\/th>\r\n<th scope=\"col\"><em data-effect=\"italics\">P<\/em>(<em data-effect=\"italics\">x<\/em>)<\/th>\r\n<th scope=\"col\"><em data-effect=\"italics\">x<\/em>*<em data-effect=\"italics\">P<\/em>(<em data-effect=\"italics\">x<\/em>)<\/th>\r\n<\/tr>\r\n<\/thead>\r\n<tbody>\r\n<tr>\r\n<td>Loss<\/td>\r\n<td>\u20132<\/td>\r\n<td>0.99999<\/td>\r\n<td>(\u20132)(0.99999) = \u20131.99998<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>Profit<\/td>\r\n<td>100,000<\/td>\r\n<td>0.00001<\/td>\r\n<td>(100000)(0.00001) = 1<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<div class=\"os-caption-container\"><span class=\"os-title-label\">Table <\/span><span class=\"os-number\">4.8<\/span> <span class=\"os-title\" data-type=\"title\">\u0391dd the last column. \u20131.99998 + 1 = \u20130.99998<\/span><\/div>\r\n<\/div>\r\n<p id=\"element-406\">Since \u20130.99998 is about \u20131, you would, on average, expect to lose approximately \\$1 for each game you play. However, each time you play, you either lose \\$2 or profit \\$100,000. The \\$1 is the average or expected LOSS per game after playing this game over and over.<\/p>\r\n\r\n<\/div>\r\n<\/section><\/div>\r\n<div id=\"fs-idm7487840\" class=\"statistics try ui-has-child-title\" data-type=\"note\" data-has-label=\"true\" data-label=\"\"><header>\r\n<h3 class=\"os-title\"><span class=\"os-title-label\">Try It <\/span><span class=\"os-number\">4.5<\/span><\/h3>\r\n<\/header><section>\r\n<div id=\"fs-idm58858880\" class=\" unnumbered\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"fs-idm58346384\" data-type=\"problem\">\r\n<div class=\"os-problem-container \">\r\n<p id=\"fs-idm147804448\">You are playing a game of chance in which four cards are drawn from a standard deck of 52 cards. You guess the suit of each card before it is drawn. The cards are replaced in the deck on each draw. You pay \\$1 to play. If you guess the right suit every time, you get your money back and \\$256. What is your expected profit of playing the game over the long term?<\/p>\r\n\r\n<\/div>\r\n<\/div>\r\n<\/section><\/div>\r\n<\/section><\/div>\r\n<div id=\"element-341\" class=\"ui-has-child-title\" data-type=\"example\"><header>\r\n<h3 class=\"os-title\"><span class=\"os-title-label\">Example <\/span><span class=\"os-number\">4.6<\/span><\/h3>\r\n<\/header><section>\r\n<div class=\"body\">\r\n\r\nSuppose you play a game with a biased coin. You play each game by tossing the coin once. <em data-effect=\"italics\">P<\/em>(heads) =$\\frac{2}{3}$ and <em data-effect=\"italics\">P<\/em>(tails) = $\\frac{1}{3}$. If you toss a head, you pay \\$6. If you toss a tail, you win \\$10. If you play this game many times, will you come out ahead?\r\n\r\n&nbsp;\r\n<div id=\"element-193\" class=\" unnumbered\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"id14631763\" data-type=\"problem\">\r\n<div class=\"os-problem-container \">\r\n<ol>\r\n \t<li id=\"element-597\">Define a random variable <em data-effect=\"italics\">X<\/em>.<\/li>\r\n \t<li>Complete the following expected value table.\r\n<table class=\"probdist\" style=\"border-collapse: collapse; width: 100%;\" border=\"0\">\r\n<thead>\r\n<tr>\r\n<th style=\"width: 25%;\"><\/th>\r\n<th style=\"width: 25%;\">$x$<\/th>\r\n<th style=\"width: 25%;\">_______<\/th>\r\n<th style=\"width: 25%;\">_______<\/th>\r\n<\/tr>\r\n<\/thead>\r\n<tbody>\r\n<tr>\r\n<td style=\"width: 25%;\"><strong>Win<\/strong><\/td>\r\n<td style=\"width: 25%;\">10<\/td>\r\n<td style=\"width: 25%;\">$\\frac{1}{3}$<\/td>\r\n<td style=\"width: 25%;\">_______<\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"width: 25%;\"><strong>Lose<\/strong><\/td>\r\n<td style=\"width: 25%;\">_______<\/td>\r\n<td style=\"width: 25%;\">_______<\/td>\r\n<td style=\"width: 25%;\">$\\frac{-12}{3}$<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<\/li>\r\n \t<li>What is the expected value of $\\mu$? Do you come out ahead?<\/li>\r\n<\/ol>\r\n<h4>Solution 4.6<\/h4>\r\n<ol>\r\n \t<li><em data-effect=\"italics\">X<\/em> = amount of profit<span data-type=\"newline\" data-count=\"2\">\r\n<\/span><\/li>\r\n \t<li>\r\n<table class=\"probdist\" style=\"border-collapse: collapse; width: 100%;\" border=\"0\">\r\n<thead>\r\n<tr>\r\n<th style=\"width: 25%;\"><\/th>\r\n<th style=\"width: 25%;\">$x$<\/th>\r\n<th style=\"width: 25%;\">$P(x)$<\/th>\r\n<th style=\"width: 25%;\">$x\\cdot P(x)$<\/th>\r\n<\/tr>\r\n<\/thead>\r\n<tbody>\r\n<tr>\r\n<td style=\"width: 25%;\"><strong>Win<\/strong><\/td>\r\n<td style=\"width: 25%;\">10<\/td>\r\n<td style=\"width: 25%;\">$\\frac{1}{3}$<\/td>\r\n<td style=\"width: 25%;\">$\\frac{10}{3}$<\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"width: 25%;\"><strong>Lose<\/strong><\/td>\r\n<td style=\"width: 25%;\">-6<\/td>\r\n<td style=\"width: 25%;\">$\\frac{2}{3}$<\/td>\r\n<td style=\"width: 25%;\">$\\frac{-12}{3}$<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<\/li>\r\n \t<li>Add the last column of the table. The expected value $\\mu = \\frac{-2}{3}$. You lose, on average, about 67 cents each time you play the game so you do not come out ahead.<\/li>\r\n<\/ol>\r\n<\/div>\r\n<\/div>\r\n<\/section><\/div>\r\n<\/div>\r\n<\/section><\/div>\r\n<div id=\"fs-idp157498240\" class=\"statistics try ui-has-child-title\" data-type=\"note\" data-has-label=\"true\" data-label=\"\"><header>\r\n<h3 class=\"os-title\"><span class=\"os-title-label\">Try It <\/span><span class=\"os-number\">4.6<\/span><\/h3>\r\n<div><\/div>\r\n<\/header><section>\r\n<div id=\"fs-idm123810544\" class=\" unnumbered\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"fs-idm43455984\" data-type=\"problem\">\r\n<div class=\"os-problem-container \">\r\n\r\nSuppose you play a game with a spinner. You play each game by spinning the spinner once. <em data-effect=\"italics\">P<\/em>(red) =$\\frac{2}{5}$, <em data-effect=\"italics\">P<\/em>(blue) =$\\frac{2}{5}$, and <em data-effect=\"italics\">P<\/em>(green) =$\\frac{1}{5}$. If you land on red, you pay \\$10. If you land on blue, you don't pay or win anything. If you land on green, you win \\$10. Complete the following expected value table.\r\n<div id=\"fs-idm71508016\" class=\"os-table \">\r\n<table class=\"probdist\" summary=\"Table 4.11 \" data-id=\"fs-idm71508016\">\r\n<thead>\r\n<tr>\r\n<th scope=\"col\"><\/th>\r\n<th scope=\"col\"><em data-effect=\"italics\">x<\/em><\/th>\r\n<th scope=\"col\"><em data-effect=\"italics\">P<\/em>(<em data-effect=\"italics\">x<\/em>)<\/th>\r\n<th scope=\"col\">_______<\/th>\r\n<\/tr>\r\n<\/thead>\r\n<tbody>\r\n<tr>\r\n<td>Red<\/td>\r\n<td><\/td>\r\n<td><\/td>\r\n<td>$-\\frac{20}{5}$<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>Blue<\/td>\r\n<td><\/td>\r\n<td>$\\frac{2}{5}$<\/td>\r\n<td><\/td>\r\n<\/tr>\r\n<tr>\r\n<td>Green<\/td>\r\n<td>10<\/td>\r\n<td><\/td>\r\n<td><\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<div class=\"os-caption-container\"><span class=\"os-title-label\">Table <\/span><span class=\"os-number\">4.11<\/span><\/div>\r\n<\/div>\r\n<\/div>\r\n<\/div>\r\n<\/section><\/div>\r\n<\/section><\/div>\r\n<p id=\"element-903\">Like data, probability distributions have standard deviations. To calculate the standard deviation (<em data-effect=\"italics\">\u03c3<\/em>) of a probability distribution, find each deviation from its expected value, square it, multiply it by its probability, add the products, and take the square root. To understand how to do the calculation, look at the table for the number of days per week a men's soccer team plays soccer. To find the standard deviation, add the entries in the column labeled (<em data-effect=\"italics\">x<\/em> \u2013 <em data-effect=\"italics\">\u03bc<\/em>)<sup>2<\/sup><em data-effect=\"italics\">P<\/em>(<em data-effect=\"italics\">x<\/em>) and take the square root.<\/p>\r\n\r\n<div id=\"element-226\" class=\"os-table \">\r\n<table class=\"probdist\" summary=\"Table 4.12 \" data-id=\"element-226\">\r\n<thead>\r\n<tr>\r\n<th scope=\"col\"><em data-effect=\"italics\">x<\/em><\/th>\r\n<th scope=\"col\"><em data-effect=\"italics\">P<\/em>(<em data-effect=\"italics\">x<\/em>)<\/th>\r\n<th scope=\"col\"><em data-effect=\"italics\">x<\/em>*<em data-effect=\"italics\">P<\/em>(<em data-effect=\"italics\">x<\/em>)<\/th>\r\n<th scope=\"col\">(<em data-effect=\"italics\">x<\/em> \u2013 <em data-effect=\"italics\">\u03bc<\/em>)<sup>2<\/sup><em data-effect=\"italics\">P<\/em>(<em data-effect=\"italics\">x<\/em>)<\/th>\r\n<\/tr>\r\n<\/thead>\r\n<tbody>\r\n<tr>\r\n<td>0<\/td>\r\n<td>0.2<\/td>\r\n<td>(0)(0.2) = 0<\/td>\r\n<td>(0 \u2013 1.1)<sup>2<\/sup>(0.2) = 0.242<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>1<\/td>\r\n<td>0.5<\/td>\r\n<td>(1)(0.5) = 0.5<\/td>\r\n<td>(1 \u2013 1.1)<sup>2<\/sup>(0.5) = 0.005<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>2<\/td>\r\n<td>0.3<\/td>\r\n<td>(2)(0.3) = 0.6<\/td>\r\n<td>(2 \u2013 1.1)<sup>2<\/sup>(0.3) = 0.243<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<div class=\"os-caption-container\"><span class=\"os-title-label\">Table <\/span><span class=\"os-number\">4.12<\/span><\/div>\r\n<\/div>\r\n<p id=\"eip-127\">Add the last column in the table. 0.242 + 0.005 + 0.243 = 0.490. The standard deviation is the square root of 0.49, or $\\sigma=\\sqrt{0.49}=0.7$<\/p>\r\n<p id=\"element-873\" class=\"finger\">Generally for probability distributions, we use a calculator or a computer to calculate <em data-effect=\"italics\">\u03bc<\/em> and <em data-effect=\"italics\">\u03c3<\/em> to reduce roundoff error. For some probability distributions, there are short-cut formulas for calculating <em data-effect=\"italics\">\u03bc<\/em> and <em data-effect=\"italics\">\u03c3<\/em>.<\/p>\r\n\r\n<div id=\"fs-idp4384592\" class=\"ui-has-child-title\" data-type=\"example\"><header>\r\n<h3 class=\"os-title\"><span class=\"os-title-label\">Example <\/span><span class=\"os-number\">4.7<\/span><\/h3>\r\n<\/header><section>\r\n<div class=\"body\">\r\n<div id=\"fs-idm87291728\" class=\" unnumbered\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"fs-idm69882560\" data-type=\"problem\">\r\n<div class=\"os-problem-container \">\r\n<p id=\"fs-idm82328592\">Toss a fair, six-sided die twice. Let <em data-effect=\"italics\">X<\/em> = the number of faces that show an even number. Construct a table like <a class=\"autogenerated-content\" href=\"#fs-idm71508016\">Table 4.11<\/a> and calculate the mean <em data-effect=\"italics\">\u03bc<\/em> and standard deviation <em data-effect=\"italics\">\u03c3<\/em> of <em data-effect=\"italics\">X<\/em>.<\/p>\r\n\r\n<h4>Solution 4.7<\/h4>\r\nTossing one fair six-sided die twice has the same sample space as tossing two fair six-sided dice. The sample space has 36 outcomes:\r\n<table summary=\"Table 4.13 \" data-id=\"fs-idm21999584\" id=\"fs-idm21999584\">\r\n<tbody>\r\n<tr>\r\n<td>(1, 1)<\/td>\r\n<td>(1, 2)<\/td>\r\n<td>(1, 3)<\/td>\r\n<td>(1, 4)<\/td>\r\n<td>(1, 5)<\/td>\r\n<td>(1, 6)<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>(2, 1)<\/td>\r\n<td>(2, 2)<\/td>\r\n<td>(2, 3)<\/td>\r\n<td>(2, 4)<\/td>\r\n<td>(2, 5)<\/td>\r\n<td>(2, 6)<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>(3, 1)<\/td>\r\n<td>(3, 2)<\/td>\r\n<td>(3, 3)<\/td>\r\n<td>(3, 4)<\/td>\r\n<td>(3, 5)<\/td>\r\n<td>(3, 6)<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>(4, 1)<\/td>\r\n<td>(4, 2)<\/td>\r\n<td>(4, 3)<\/td>\r\n<td>(4, 4)<\/td>\r\n<td>(4, 5)<\/td>\r\n<td>(4, 6)<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>(5, 1)<\/td>\r\n<td>(5, 2)<\/td>\r\n<td>(5, 3)<\/td>\r\n<td>(5, 4)<\/td>\r\n<td>(5, 5)<\/td>\r\n<td>(5, 6)<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>(6, 1)<\/td>\r\n<td>(6, 2)<\/td>\r\n<td>(6, 3)<\/td>\r\n<td>(6, 4)<\/td>\r\n<td>(6, 5)<\/td>\r\n<td>(6, 6)<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<div class=\"os-caption-container\"><span class=\"os-title-label\">Table <\/span><span class=\"os-number\">4.13<\/span><\/div>\r\n<div>Use the sample space to complete the following table:<\/div>\r\n<table class=\"probdist\" style=\"width: 438px;\" summary=\"Table 4.14 Calculating \u03bc and \u03c3. \" data-id=\"fs-idp385088\">\r\n<thead>\r\n<tr>\r\n<th style=\"width: 39px;\" scope=\"col\">$x$<\/th>\r\n<th style=\"width: 113px;\" scope=\"col\">$P(x)$<\/th>\r\n<th style=\"width: 113px;\" scope=\"col\">$x\\cdot P(x)$<\/th>\r\n<th style=\"width: 173px;\" scope=\"col\">$(x-\\mu)^2\\cdot P(x)$<\/th>\r\n<\/tr>\r\n<\/thead>\r\n<tbody>\r\n<tr>\r\n<td style=\"width: 39px;\">0<\/td>\r\n<td style=\"width: 113px;\">$\\frac{9}{36}$<\/td>\r\n<td style=\"width: 113px;\">0<\/td>\r\n<td style=\"width: 173px;\">$(0-1)^2\\cdot\\frac{9}{36}=\\frac{9}{36}$<\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"width: 39px;\">1<\/td>\r\n<td style=\"width: 113px;\">$\\frac{18}{36}$<\/td>\r\n<td style=\"width: 113px;\">$\\frac{18}{36}$<\/td>\r\n<td style=\"width: 173px;\">$(1-1)^2\\cdot\\frac{18}{36}=0$<\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"width: 39px;\">2<\/td>\r\n<td style=\"width: 113px;\">$\\frac{9}{36}$<\/td>\r\n<td style=\"width: 113px;\">$\\frac{18}{36}$<\/td>\r\n<td style=\"width: 173px;\">$(2-1)^2\\cdot\\frac{9}{36}=\\frac{9}{36}$<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<div class=\"os-caption-container\"><span class=\"os-title-label\">Table <\/span><span class=\"os-number\">4.14<\/span> <span class=\"os-title\" data-type=\"title\">Calculating <em data-effect=\"italics\">\u03bc<\/em> and <em data-effect=\"italics\">\u03c3<\/em>.<\/span><\/div>\r\n<div>\r\n<p id=\"fs-idm8206048\">Add the values in the third column to find the expected value: $\\mu=\\frac{36}{36}=1$. Use this value to complete the fourth column.<\/p>\r\n<p id=\"fs-idm151081888\">Add the values in the fourth column and take the square root of the sum: $\\sigma = \\sqrt{\\frac{18}{36}}=0.7071$<\/p>\r\n\r\n<\/div>\r\n<\/div>\r\n<\/div>\r\n<\/section><\/div>\r\n<\/div>\r\n<\/section><\/div>\r\n<div id=\"example1.8\" class=\"ui-has-child-title\" data-type=\"example\"><header>\r\n<h3 class=\"os-title\"><span class=\"os-title-label\">Example <\/span><span class=\"os-number\">4.8<\/span><\/h3>\r\n<\/header><section>\r\n<div class=\"body\">\r\n<div id=\"fs-idm71286192\" class=\" unnumbered\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"fs-idm79685344\" data-type=\"problem\">\r\n<div class=\"os-problem-container \">\r\n<p id=\"fs-idm64926544\">On May 11, 2013 at 9:30 PM, the probability that moderate seismic activity (one moderate earthquake) would occur in the next 48 hours in Iran was about 21.42%. Suppose you make a bet that a moderate earthquake will occur in Iran during this period. If you win the bet, you win \\$50. If you lose the bet, you pay \\$20. Let <em data-effect=\"italics\">X<\/em> = the amount of profit from a bet.<\/p>\r\n<p id=\"fs-idm74848144\"><em data-effect=\"italics\">P<\/em>(win) = <em data-effect=\"italics\">P<\/em>(one moderate earthquake will occur) = 21.42%<\/p>\r\n<p id=\"fs-idm122921568\"><em data-effect=\"italics\">P<\/em>(loss) = <em data-effect=\"italics\">P<\/em>(one moderate earthquake will <em data-effect=\"italics\">not<\/em> occur) = 100% \u2013 21.42%<\/p>\r\n<p id=\"fs-idm135341424\">If you bet many times, will you come out ahead? Explain your answer in a complete sentence using numbers. What is the standard deviation of <em data-effect=\"italics\">X<\/em>? Construct a table similar to <a class=\"autogenerated-content\" href=\"#element-226\">Table 4.12<\/a> and <a class=\"autogenerated-content\" href=\"#fs-idm21999584\">Table 4.13<\/a> to help you answer these questions.<\/p>\r\n\r\n<\/div>\r\n<\/div>\r\n<div id=\"fs-idm128877280\" data-type=\"solution\" aria-label=\"show solution\" aria-expanded=\"false\">\r\n<div class=\"ui-toggle-wrapper\"><\/div>\r\n<section class=\"ui-body\" style=\"display: block; overflow: hidden;\" role=\"alert\">\r\n<h4 data-type=\"solution-title\"><span class=\"os-title-label\">Solution <\/span><span class=\"os-number\">4.8<\/span><\/h4>\r\n<div class=\"os-solution-container\">\r\n<div id=\"fs-idm70673696\" class=\"os-table \">\r\n<table class=\"probdist\" summary=\"Table 4.15 \" data-id=\"fs-idm70673696\">\r\n<thead>\r\n<tr>\r\n<th scope=\"col\"><\/th>\r\n<th scope=\"col\"><em data-effect=\"italics\">x<\/em><\/th>\r\n<th scope=\"col\"><em data-effect=\"italics\">P(x)<\/em><\/th>\r\n<th scope=\"col\"><em data-effect=\"italics\">x<\/em><em data-effect=\"italics\">(Px)<\/em><\/th>\r\n<th scope=\"col\">(<em data-effect=\"italics\">x<\/em> \u2013 <em data-effect=\"italics\">\u03bc<\/em>)<sup>2<\/sup><em data-effect=\"italics\">P<\/em>(<em data-effect=\"italics\">x<\/em>)<\/th>\r\n<\/tr>\r\n<\/thead>\r\n<tbody>\r\n<tr>\r\n<td>win<\/td>\r\n<td>50<\/td>\r\n<td>0.2142<\/td>\r\n<td>10.71<\/td>\r\n<td>[50 \u2013 (\u20135.006)]<sup>2<\/sup>(0.2142) = 648.0964<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>loss<\/td>\r\n<td>\u201320<\/td>\r\n<td>0.7858<\/td>\r\n<td>\u201315.716<\/td>\r\n<td>[\u201320 \u2013 (\u20135.006)]<sup>2<\/sup>(0.7858) = 176.6636<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<div class=\"os-caption-container\"><span class=\"os-title-label\">Table <\/span><span class=\"os-number\">4.15<\/span><\/div>\r\n<\/div>\r\n<p id=\"fs-idm111908496\">Mean = Expected Value = 10.71 + (\u201315.716) = \u20135.006.<\/p>\r\n<p id=\"fs-idm85218944\">If you make this bet many times under the same conditions, your long term outcome will be an average <em data-effect=\"italics\">loss<\/em> of \\$5.01 per bet.<\/p>\r\n$$\\sigma = \\sqrt{648.0964+176.6636} = 28.7186$$\r\n\r\n<\/div>\r\n<\/section><\/div>\r\n<\/section><\/div>\r\n<\/div>\r\n<\/section><\/div>\r\n<div id=\"fs-idp152488176\" class=\"statistics try ui-has-child-title\" data-type=\"note\" data-has-label=\"true\" data-label=\"\"><header>\r\n<h3 class=\"os-title\"><span class=\"os-title-label\">Try It <\/span><span class=\"os-number\">4.8<\/span><\/h3>\r\n<\/header><section>\r\n<div id=\"fs-idm88593344\" class=\" unnumbered\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"eip-idp52574576\" data-type=\"problem\">\r\n<div class=\"os-problem-container \">\r\n<p id=\"eip-idp52574832\">On May 11, 2013 at 9:30 PM, the probability that moderate seismic activity (one moderate earthquake) would occur in the next 48 hours in Japan was about 1.08%. As in <a class=\"autogenerated-content\" href=\"#example1.8\">Example 4.8<\/a>, you bet that a moderate earthquake will occur in Japan during this period. If you win the bet, you win \\$100. If you lose the bet, you pay \\$10. Let <em data-effect=\"italics\">X<\/em> = the amount of profit from a bet. Find the mean and standard deviation of <em data-effect=\"italics\">X<\/em>.<\/p>\r\n\r\n<\/div>\r\n<\/div>\r\n<\/section><\/div>\r\n<\/section><\/div>\r\n<p id=\"element-1\">Some of the more common discrete probability functions are binomial, geometric, hypergeometric, and Poisson. Most elementary courses do not cover the geometric, hypergeometric, and Poisson. Your instructor will let you know if he or she wishes to cover these distributions.<\/p>\r\n<p id=\"element-428\">A probability distribution function is a pattern. You try to fit a probability problem into a <strong>pattern<\/strong> or distribution in order to perform the necessary calculations. These distributions are tools to make solving probability problems easier. Each distribution has its own special characteristics. Learning the characteristics enables you to distinguish among the different distributions.<\/p>\r\n\r\n<\/div>","rendered":"<p><span style=\"display: none;\"><br \/>\n[latexpage]<br \/>\n<\/span><\/p>\n<div id=\"2779d41f-ca46-4a9d-8e8d-c2aeb13b92d1\" class=\"chapter-content-module\" data-type=\"page\" data-cnxml-to-html-ver=\"2.1.0\">\n<p id=\"delete_me\">The <span id=\"term101\" data-type=\"term\">expected value<\/span> is often referred to as the <strong>&#8220;long-term&#8221; average or mean<\/strong>. This means that over the long term of doing an experiment over and over, you would <strong>expect<\/strong> this average.<\/p>\n<p id=\"fs-idm122105344\">You toss a coin and record the result. What is the probability that the result is heads? If you flip a coin two times, does probability tell you that these flips will result in one heads and one tail? You might toss a fair coin ten times and record nine heads. As you learned in our <a href=\"https:\/\/textbooks.jaykesler.net\/introstats\/part\/probability\/\">Introduction to Probability<\/a>, probability does not describe the short-term results of an experiment. It gives information about what can be expected in the long term. To demonstrate this, Karl Pearson once tossed a fair coin 24,000 times! He recorded the results of each toss, obtaining heads 12,012 times. <strong data-effect=\"bold\">In his experiment, Pearson illustrated the Law of Large Numbers<\/strong>.<\/p>\n<p id=\"fs-idm32245968\"><strong data-effect=\"bold\">The Law of Large Numbers<\/strong> states that, as the number of trials in a probability experiment increases, the difference between the theoretical probability of an event and the relative frequency approaches zero <strong data-effect=\"bold\">(the theoretical probability and the relative frequency get closer and closer together)<\/strong>. When evaluating the long-term results of statistical experiments, we often want to know the \u201caverage\u201d outcome. This \u201clong-term average\u201d is known as the <span id=\"term102\" data-type=\"term\">mean<\/span> or <span id=\"term103\" data-type=\"term\">expected value<\/span> of the experiment and is denoted by the Greek letter <em data-effect=\"italics\">\u03bc<\/em>. In other words, after conducting many trials of an experiment, you would expect this average value.<\/p>\n<div id=\"id8737934\" class=\"ui-has-child-title\" data-type=\"note\" data-has-label=\"true\" data-label=\"\">\n<header>\n<h3 class=\"os-title\" data-type=\"title\"><span id=\"1\" class=\"os-title-label\" data-type=\"\">NOTE<\/span><\/h3>\n<\/header>\n<section>\n<div class=\"os-note-body\">\n<p id=\"eip-idp95250624\">To find the expected value or long term average, <em data-effect=\"italics\">\u03bc<\/em>, simply multiply each value of the random variable by its probability and add the products.<\/p>\n<\/div>\n<\/section>\n<\/div>\n<div id=\"fs-idp56252608\" class=\"ui-has-child-title\" data-type=\"example\">\n<header>\n<h3 class=\"os-title\"><span class=\"os-title-label\">Example <\/span><span class=\"os-number\">4.3<\/span><\/h3>\n<\/header>\n<section>\n<div class=\"body\">\n<p id=\"fs-idm190895152\">A men&#8217;s soccer team plays soccer zero, one, or two days a week. The probability that they play zero days is 0.2, the probability that they play one day is 0.5, and the probability that they play two days is 0.3. Find the long-term average or expected value, <em data-effect=\"italics\">\u03bc<\/em>, of the number of days per week the men&#8217;s soccer team plays soccer.<\/p>\n<p id=\"element-126\">To do the problem, first let the random variable <em data-effect=\"italics\">X<\/em> = the number of days the men&#8217;s soccer team plays soccer per week. <em data-effect=\"italics\">X<\/em> takes on the values 0, 1, 2. Construct a PDF table adding a column <em data-effect=\"italics\">x<\/em>*<em data-effect=\"italics\">P<\/em>(<em data-effect=\"italics\">x<\/em>). In this column, you will multiply each <em data-effect=\"italics\">x<\/em> value by its probability.<\/p>\n<div id=\"element-749\" class=\"os-table\">\n<table class=\"probdist\" summary=\"Table 4.5 Expected Value Table This table is called an expected value table. The table helps you calculate the expected value or long-term average.\" data-id=\"element-749\">\n<thead>\n<tr>\n<th scope=\"col\"><em data-effect=\"italics\">x<\/em><\/th>\n<th scope=\"col\"><em data-effect=\"italics\">P<\/em>(<em data-effect=\"italics\">x<\/em>)<\/th>\n<th scope=\"col\"><em data-effect=\"italics\">x<\/em>*<em data-effect=\"italics\">P<\/em>(<em data-effect=\"italics\">x<\/em>)<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>0<\/td>\n<td>0.2<\/td>\n<td>(0)(0.2) = 0<\/td>\n<\/tr>\n<tr>\n<td>1<\/td>\n<td>0.5<\/td>\n<td>(1)(0.5) = 0.5<\/td>\n<\/tr>\n<tr>\n<td>2<\/td>\n<td>0.3<\/td>\n<td>(2)(0.3) = 0.6<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<div class=\"os-caption-container\"><span class=\"os-title-label\">Table <\/span><span class=\"os-number\">4.5<\/span> <span class=\"os-title\" data-type=\"title\">Expected Value Table This table is called an expected value table. The table helps you calculate the expected value or long-term average.<\/span><\/div>\n<\/div>\n<p id=\"fs-idm87467792\">Add the last column <em data-effect=\"italics\">x<\/em>*<em data-effect=\"italics\">P<\/em>(<em data-effect=\"italics\">x<\/em>) to find the long term average or expected value: (0)(0.2) + (1)(0.5) + (2)(0.3) = 0 + 0.5 + 0.6 = 1.1.<\/p>\n<p id=\"element-353\">The expected value is 1.1. The men&#8217;s soccer team would, on the average, expect to play soccer 1.1 days per week. The number 1.1 is the long-term average or expected value if the men&#8217;s soccer team plays soccer week after week after week. We say <em data-effect=\"italics\">\u03bc<\/em> = 1.1.<\/p>\n<\/div>\n<\/section>\n<\/div>\n<div id=\"fs-idm82770544\" class=\"ui-has-child-title\" data-type=\"example\">\n<header>\n<h3 class=\"os-title\"><span class=\"os-title-label\">Example <\/span><span class=\"os-number\">4.4<\/span><\/h3>\n<\/header>\n<section>\n<div class=\"body\">\n<p id=\"fs-idm122112\">Find the expected value of the number of times a newborn baby&#8217;s crying wakes its mother after midnight. The expected value is the expected number of times per week a newborn baby&#8217;s crying wakes its mother after midnight. Calculate the standard deviation of the variable as well.<\/p>\n<div id=\"element-740\" class=\"os-table\">\n<table class=\"probdist\" summary=\"Table 4.6 You expect a newborn to wake its mother after midnight 2.1 times per week, on the average.\" data-id=\"element-740\">\n<thead>\n<tr>\n<th scope=\"col\"><em data-effect=\"italics\">x<\/em><\/th>\n<th scope=\"col\"><em data-effect=\"italics\">P<\/em>(<em data-effect=\"italics\">x<\/em>)<\/th>\n<th scope=\"col\"><em data-effect=\"italics\">x<\/em>*<em data-effect=\"italics\">P<\/em>(<em data-effect=\"italics\">x<\/em>)<\/th>\n<th scope=\"col\">(<em data-effect=\"italics\">x<\/em> \u2013 <em data-effect=\"italics\">\u03bc<\/em>)<sup>2<\/sup> \u22c5 <em data-effect=\"italics\">P<\/em>(<em data-effect=\"italics\">x<\/em>)<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>0<\/td>\n<td>$\\frac{2}{50}$<\/td>\n<td>$(0)\\left(\\frac{2}{50}\\right)=0$<\/td>\n<td>$(0-2.1)^2\\cdot 0.04 = 0.1764$<\/td>\n<\/tr>\n<tr>\n<td>1<\/td>\n<td>$\\frac{11}{50}$<\/td>\n<td>$(1)\\left(\\frac{11}{50}\\right)=\\frac{11}{50}$<\/td>\n<td>$(1-2.1)^2\\cdot 0.22 = 0.2662$<\/td>\n<\/tr>\n<tr>\n<td>2<\/td>\n<td>$\\frac{23}{50}$<\/td>\n<td>$(2)\\left(\\frac{23}{50}\\right)=\\frac{46}{50}$<\/td>\n<td>$(2-2.1)^2\\cdot 0.46 = 0.0046$<\/td>\n<\/tr>\n<tr>\n<td>3<\/td>\n<td>$\\frac{9}{50}$<\/td>\n<td>$(3)\\left(\\frac{9}{50}\\right)=\\frac{27}{50}$<\/td>\n<td>$(3-2.1)^2\\cdot 0.18 = 0.1458$<\/td>\n<\/tr>\n<tr>\n<td>4<\/td>\n<td>$\\frac{4}{50}$<\/td>\n<td>$(4)\\left(\\frac{4}{50}\\right)=\\frac{16}{50}$<\/td>\n<td>$(4-2.1)^2\\cdot 0.08 = 0.2888$<\/td>\n<\/tr>\n<tr>\n<td>5<\/td>\n<td>$\\frac{1}{50}$<\/td>\n<td>$(5)\\left(\\frac{1}{50}\\right)=\\frac{5}{50}$<\/td>\n<td>$(5-2.1)^2\\cdot 0.02 = 0.1682$<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<div class=\"os-caption-container\"><span class=\"os-title-label\">Table <\/span><span class=\"os-number\">4.6<\/span> <span class=\"os-title\" data-type=\"title\">You expect a newborn to wake its mother after midnight 2.1 times per week, on the average.<\/span><\/div>\n<\/div>\n<p id=\"fs-idp11618480\">Add the values in the third column of the table to find the expected value of <em data-effect=\"italics\">X<\/em>: <span data-type=\"newline\" data-count=\"1\"><br \/>\n<\/span><em data-effect=\"italics\">\u03bc<\/em> = Expected Value =$\\frac{105}{50}= 2.1$<\/p>\n<p id=\"fs-idm128391792\">Use <em data-effect=\"italics\">\u03bc<\/em> to complete the table. The fourth column of this table will provide the values you need to calculate the standard deviation. For each value <em data-effect=\"italics\">x<\/em>, multiply the square of its deviation by its probability. (Each deviation has the format <em data-effect=\"italics\">x<\/em> \u2013 <em data-effect=\"italics\">\u03bc<\/em>).<\/p>\n<p id=\"fs-idm66531168\">Add the values in the fourth column of the table:<\/p>\n<p id=\"fs-idm70422448\">0.1764 + 0.2662 + 0.0046 + 0.1458 + 0.2888 + 0.1682 = 1.05<\/p>\n<p id=\"fs-idm146103552\">The standard deviation of <em data-effect=\"italics\">X<\/em> is the square root of this sum: <em data-effect=\"italics\">$\\sigma =\\sqrt{1.05} = 1.0247$<\/em><\/p>\n<p id=\"eip-332\">The mean, <em data-effect=\"italics\">\u03bc<\/em>, of a discrete probability function is the expected value.<\/p>\n<p>$$\\mu = \\sum \\left( x \\cdot P(x)\\right)$$<\/p>\n<p>The standard deviation, $\\sigma$, of the PDF is the square root of the variance.<\/p>\n<p>$$\\sigma = \\sqrt{\\sum\\left[ (x-\\mu)^2 \\cdot P(x) \\right]}$$<\/p>\n<p>When all outcomes in the probability distribution are equally likely, these formulas coincide with the mean and standard deviation of the set of possible outcomes.<\/p>\n<\/div>\n<\/section>\n<\/div>\n<div id=\"fs-idm80414512\" class=\"statistics try ui-has-child-title\" data-type=\"note\" data-has-label=\"true\" data-label=\"\">\n<header>\n<h3 class=\"os-title\"><span class=\"os-title-label\">Try It <\/span><span class=\"os-number\">4.4<br \/>\n<\/span><\/h3>\n<\/header>\n<section>\n<div id=\"fs-idm131173600\" class=\"unnumbered\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"fs-idm112686784\" data-type=\"problem\">\n<div class=\"os-problem-container\">\n<p id=\"fs-idm86997008\">A hospital researcher is interested in the number of times the average post-op patient will ring the nurse during a 12-hour shift. For a random sample of 50 patients, the following information was obtained. What is the expected value?<\/p>\n<div id=\"fs-idm56815952\" class=\"os-table\">\n<table class=\"probdist\" summary=\"Table 4.7\" data-id=\"fs-idm56815952\">\n<thead>\n<tr>\n<th scope=\"col\"><em data-effect=\"italics\">x<\/em><\/th>\n<th scope=\"col\"><em data-effect=\"italics\">P<\/em>(<em data-effect=\"italics\">x<\/em>)<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>0<\/td>\n<td>$\\frac{4}{50}$<\/td>\n<\/tr>\n<tr>\n<td>1<\/td>\n<td>$\\frac{8}{50}$<\/td>\n<\/tr>\n<tr>\n<td>2<\/td>\n<td>$\\frac{16}{50}$<\/td>\n<\/tr>\n<tr>\n<td>3<\/td>\n<td>$\\frac{14}{50}$<\/td>\n<\/tr>\n<tr>\n<td>4<\/td>\n<td>$\\frac{6}{50}$<\/td>\n<\/tr>\n<tr>\n<td>5<\/td>\n<td>$\\frac{2}{50}$<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<div class=\"os-caption-container\"><span class=\"os-title-label\">Table <\/span><span class=\"os-number\">4.7<\/span><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/section>\n<\/div>\n<\/section>\n<\/div>\n<div id=\"element-116\" class=\"ui-has-child-title\" data-type=\"example\">\n<header>\n<h3 class=\"os-title\"><span class=\"os-title-label\">Example <\/span><span class=\"os-number\">4.5<\/span><\/h3>\n<\/header>\n<section>\n<div class=\"body\">\n<p id=\"element-117\">Suppose you play a game of chance in which five numbers are chosen from 0, 1, 2, 3, 4, 5, 6, 7, 8, 9. A computer randomly selects five numbers from zero to nine with replacement. You pay \\$2 to play and could profit \\$100,000 if you match all five numbers in order (you get your \\$2 back plus \\$100,000). Over the long term, what is your <strong>expected<\/strong> profit of playing the game?<\/p>\n<p id=\"element-481\">To do this problem, set up an expected value table for the amount of money you can profit.<\/p>\n<p id=\"element-382\">Let <em data-effect=\"italics\">X<\/em> = the amount of money you profit. The values of <em data-effect=\"italics\">x<\/em> are not 0, 1, 2, 3, 4, 5, 6, 7, 8, 9. Since you are interested in your profit (or loss), the values of <em data-effect=\"italics\">x<\/em> are 100,000 dollars and \u22122 dollars.<\/p>\n<p id=\"element-996\">To win, you must get all five numbers correct, in order. The probability of choosing one correct number is $\\frac{1}{10}$ because there are ten numbers. You may choose a number more than once. The probability of choosing all five numbers correctly and in order is<\/p>\n<p>$$\\left( \\frac{1}{10}\\right)\\left( \\frac{1}{10}\\right)\\left( \\frac{1}{10}\\right)\\left( \\frac{1}{10}\\right)\\left( \\frac{1}{10}\\right) = \\left( \\frac{1}{10}\\right)^5 = 0.00001$$<\/p>\n<p>Therefore, the probability of winning is 0.00001 and the probability of losing is<\/p>\n<p>$$1-0.00001 = 0.99999$$<\/p>\n<p>The expected value table is as follows:<\/p>\n<div id=\"element-480\" class=\"os-table\">\n<table class=\"probdist\" summary=\"Table 4.8 \u0391dd the last column. \u20131.99998 + 1 = \u20130.99998\" data-id=\"element-480\">\n<thead>\n<tr>\n<th scope=\"col\"><\/th>\n<th scope=\"col\"><em data-effect=\"italics\">x<\/em><\/th>\n<th scope=\"col\"><em data-effect=\"italics\">P<\/em>(<em data-effect=\"italics\">x<\/em>)<\/th>\n<th scope=\"col\"><em data-effect=\"italics\">x<\/em>*<em data-effect=\"italics\">P<\/em>(<em data-effect=\"italics\">x<\/em>)<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Loss<\/td>\n<td>\u20132<\/td>\n<td>0.99999<\/td>\n<td>(\u20132)(0.99999) = \u20131.99998<\/td>\n<\/tr>\n<tr>\n<td>Profit<\/td>\n<td>100,000<\/td>\n<td>0.00001<\/td>\n<td>(100000)(0.00001) = 1<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<div class=\"os-caption-container\"><span class=\"os-title-label\">Table <\/span><span class=\"os-number\">4.8<\/span> <span class=\"os-title\" data-type=\"title\">\u0391dd the last column. \u20131.99998 + 1 = \u20130.99998<\/span><\/div>\n<\/div>\n<p id=\"element-406\">Since \u20130.99998 is about \u20131, you would, on average, expect to lose approximately \\$1 for each game you play. However, each time you play, you either lose \\$2 or profit \\$100,000. The \\$1 is the average or expected LOSS per game after playing this game over and over.<\/p>\n<\/div>\n<\/section>\n<\/div>\n<div id=\"fs-idm7487840\" class=\"statistics try ui-has-child-title\" data-type=\"note\" data-has-label=\"true\" data-label=\"\">\n<header>\n<h3 class=\"os-title\"><span class=\"os-title-label\">Try It <\/span><span class=\"os-number\">4.5<\/span><\/h3>\n<\/header>\n<section>\n<div id=\"fs-idm58858880\" class=\"unnumbered\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"fs-idm58346384\" data-type=\"problem\">\n<div class=\"os-problem-container\">\n<p id=\"fs-idm147804448\">You are playing a game of chance in which four cards are drawn from a standard deck of 52 cards. You guess the suit of each card before it is drawn. The cards are replaced in the deck on each draw. You pay \\$1 to play. If you guess the right suit every time, you get your money back and \\$256. What is your expected profit of playing the game over the long term?<\/p>\n<\/div>\n<\/div>\n<\/section>\n<\/div>\n<\/section>\n<\/div>\n<div id=\"element-341\" class=\"ui-has-child-title\" data-type=\"example\">\n<header>\n<h3 class=\"os-title\"><span class=\"os-title-label\">Example <\/span><span class=\"os-number\">4.6<\/span><\/h3>\n<\/header>\n<section>\n<div class=\"body\">\n<p>Suppose you play a game with a biased coin. You play each game by tossing the coin once. <em data-effect=\"italics\">P<\/em>(heads) =$\\frac{2}{3}$ and <em data-effect=\"italics\">P<\/em>(tails) = $\\frac{1}{3}$. If you toss a head, you pay \\$6. If you toss a tail, you win \\$10. If you play this game many times, will you come out ahead?<\/p>\n<p>&nbsp;<\/p>\n<div id=\"element-193\" class=\"unnumbered\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"id14631763\" data-type=\"problem\">\n<div class=\"os-problem-container\">\n<ol>\n<li id=\"element-597\">Define a random variable <em data-effect=\"italics\">X<\/em>.<\/li>\n<li>Complete the following expected value table.<br \/>\n<table class=\"probdist\" style=\"border-collapse: collapse; width: 100%;\">\n<thead>\n<tr>\n<th style=\"width: 25%;\"><\/th>\n<th style=\"width: 25%;\">$x$<\/th>\n<th style=\"width: 25%;\">_______<\/th>\n<th style=\"width: 25%;\">_______<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"width: 25%;\"><strong>Win<\/strong><\/td>\n<td style=\"width: 25%;\">10<\/td>\n<td style=\"width: 25%;\">$\\frac{1}{3}$<\/td>\n<td style=\"width: 25%;\">_______<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 25%;\"><strong>Lose<\/strong><\/td>\n<td style=\"width: 25%;\">_______<\/td>\n<td style=\"width: 25%;\">_______<\/td>\n<td style=\"width: 25%;\">$\\frac{-12}{3}$<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/li>\n<li>What is the expected value of $\\mu$? Do you come out ahead?<\/li>\n<\/ol>\n<h4>Solution 4.6<\/h4>\n<ol>\n<li><em data-effect=\"italics\">X<\/em> = amount of profit<span data-type=\"newline\" data-count=\"2\"><br \/>\n<\/span><\/li>\n<li>\n<table class=\"probdist\" style=\"border-collapse: collapse; width: 100%;\">\n<thead>\n<tr>\n<th style=\"width: 25%;\"><\/th>\n<th style=\"width: 25%;\">$x$<\/th>\n<th style=\"width: 25%;\">$P(x)$<\/th>\n<th style=\"width: 25%;\">$x\\cdot P(x)$<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"width: 25%;\"><strong>Win<\/strong><\/td>\n<td style=\"width: 25%;\">10<\/td>\n<td style=\"width: 25%;\">$\\frac{1}{3}$<\/td>\n<td style=\"width: 25%;\">$\\frac{10}{3}$<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 25%;\"><strong>Lose<\/strong><\/td>\n<td style=\"width: 25%;\">-6<\/td>\n<td style=\"width: 25%;\">$\\frac{2}{3}$<\/td>\n<td style=\"width: 25%;\">$\\frac{-12}{3}$<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/li>\n<li>Add the last column of the table. The expected value $\\mu = \\frac{-2}{3}$. You lose, on average, about 67 cents each time you play the game so you do not come out ahead.<\/li>\n<\/ol>\n<\/div>\n<\/div>\n<\/section>\n<\/div>\n<\/div>\n<\/section>\n<\/div>\n<div id=\"fs-idp157498240\" class=\"statistics try ui-has-child-title\" data-type=\"note\" data-has-label=\"true\" data-label=\"\">\n<header>\n<h3 class=\"os-title\"><span class=\"os-title-label\">Try It <\/span><span class=\"os-number\">4.6<\/span><\/h3>\n<div><\/div>\n<\/header>\n<section>\n<div id=\"fs-idm123810544\" class=\"unnumbered\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"fs-idm43455984\" data-type=\"problem\">\n<div class=\"os-problem-container\">\n<p>Suppose you play a game with a spinner. You play each game by spinning the spinner once. <em data-effect=\"italics\">P<\/em>(red) =$\\frac{2}{5}$, <em data-effect=\"italics\">P<\/em>(blue) =$\\frac{2}{5}$, and <em data-effect=\"italics\">P<\/em>(green) =$\\frac{1}{5}$. If you land on red, you pay \\$10. If you land on blue, you don&#8217;t pay or win anything. If you land on green, you win \\$10. Complete the following expected value table.<\/p>\n<div id=\"fs-idm71508016\" class=\"os-table\">\n<table class=\"probdist\" summary=\"Table 4.11\" data-id=\"fs-idm71508016\">\n<thead>\n<tr>\n<th scope=\"col\"><\/th>\n<th scope=\"col\"><em data-effect=\"italics\">x<\/em><\/th>\n<th scope=\"col\"><em data-effect=\"italics\">P<\/em>(<em data-effect=\"italics\">x<\/em>)<\/th>\n<th scope=\"col\">_______<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Red<\/td>\n<td><\/td>\n<td><\/td>\n<td>$-\\frac{20}{5}$<\/td>\n<\/tr>\n<tr>\n<td>Blue<\/td>\n<td><\/td>\n<td>$\\frac{2}{5}$<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>Green<\/td>\n<td>10<\/td>\n<td><\/td>\n<td><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<div class=\"os-caption-container\"><span class=\"os-title-label\">Table <\/span><span class=\"os-number\">4.11<\/span><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/section>\n<\/div>\n<\/section>\n<\/div>\n<p id=\"element-903\">Like data, probability distributions have standard deviations. To calculate the standard deviation (<em data-effect=\"italics\">\u03c3<\/em>) of a probability distribution, find each deviation from its expected value, square it, multiply it by its probability, add the products, and take the square root. To understand how to do the calculation, look at the table for the number of days per week a men&#8217;s soccer team plays soccer. To find the standard deviation, add the entries in the column labeled (<em data-effect=\"italics\">x<\/em> \u2013 <em data-effect=\"italics\">\u03bc<\/em>)<sup>2<\/sup><em data-effect=\"italics\">P<\/em>(<em data-effect=\"italics\">x<\/em>) and take the square root.<\/p>\n<div id=\"element-226\" class=\"os-table\">\n<table class=\"probdist\" summary=\"Table 4.12\" data-id=\"element-226\">\n<thead>\n<tr>\n<th scope=\"col\"><em data-effect=\"italics\">x<\/em><\/th>\n<th scope=\"col\"><em data-effect=\"italics\">P<\/em>(<em data-effect=\"italics\">x<\/em>)<\/th>\n<th scope=\"col\"><em data-effect=\"italics\">x<\/em>*<em data-effect=\"italics\">P<\/em>(<em data-effect=\"italics\">x<\/em>)<\/th>\n<th scope=\"col\">(<em data-effect=\"italics\">x<\/em> \u2013 <em data-effect=\"italics\">\u03bc<\/em>)<sup>2<\/sup><em data-effect=\"italics\">P<\/em>(<em data-effect=\"italics\">x<\/em>)<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>0<\/td>\n<td>0.2<\/td>\n<td>(0)(0.2) = 0<\/td>\n<td>(0 \u2013 1.1)<sup>2<\/sup>(0.2) = 0.242<\/td>\n<\/tr>\n<tr>\n<td>1<\/td>\n<td>0.5<\/td>\n<td>(1)(0.5) = 0.5<\/td>\n<td>(1 \u2013 1.1)<sup>2<\/sup>(0.5) = 0.005<\/td>\n<\/tr>\n<tr>\n<td>2<\/td>\n<td>0.3<\/td>\n<td>(2)(0.3) = 0.6<\/td>\n<td>(2 \u2013 1.1)<sup>2<\/sup>(0.3) = 0.243<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<div class=\"os-caption-container\"><span class=\"os-title-label\">Table <\/span><span class=\"os-number\">4.12<\/span><\/div>\n<\/div>\n<p id=\"eip-127\">Add the last column in the table. 0.242 + 0.005 + 0.243 = 0.490. The standard deviation is the square root of 0.49, or $\\sigma=\\sqrt{0.49}=0.7$<\/p>\n<p id=\"element-873\" class=\"finger\">Generally for probability distributions, we use a calculator or a computer to calculate <em data-effect=\"italics\">\u03bc<\/em> and <em data-effect=\"italics\">\u03c3<\/em> to reduce roundoff error. For some probability distributions, there are short-cut formulas for calculating <em data-effect=\"italics\">\u03bc<\/em> and <em data-effect=\"italics\">\u03c3<\/em>.<\/p>\n<div id=\"fs-idp4384592\" class=\"ui-has-child-title\" data-type=\"example\">\n<header>\n<h3 class=\"os-title\"><span class=\"os-title-label\">Example <\/span><span class=\"os-number\">4.7<\/span><\/h3>\n<\/header>\n<section>\n<div class=\"body\">\n<div id=\"fs-idm87291728\" class=\"unnumbered\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"fs-idm69882560\" data-type=\"problem\">\n<div class=\"os-problem-container\">\n<p id=\"fs-idm82328592\">Toss a fair, six-sided die twice. Let <em data-effect=\"italics\">X<\/em> = the number of faces that show an even number. Construct a table like <a class=\"autogenerated-content\" href=\"#fs-idm71508016\">Table 4.11<\/a> and calculate the mean <em data-effect=\"italics\">\u03bc<\/em> and standard deviation <em data-effect=\"italics\">\u03c3<\/em> of <em data-effect=\"italics\">X<\/em>.<\/p>\n<h4>Solution 4.7<\/h4>\n<p>Tossing one fair six-sided die twice has the same sample space as tossing two fair six-sided dice. The sample space has 36 outcomes:<\/p>\n<table summary=\"Table 4.13\" data-id=\"fs-idm21999584\" id=\"fs-idm21999584\">\n<tbody>\n<tr>\n<td>(1, 1)<\/td>\n<td>(1, 2)<\/td>\n<td>(1, 3)<\/td>\n<td>(1, 4)<\/td>\n<td>(1, 5)<\/td>\n<td>(1, 6)<\/td>\n<\/tr>\n<tr>\n<td>(2, 1)<\/td>\n<td>(2, 2)<\/td>\n<td>(2, 3)<\/td>\n<td>(2, 4)<\/td>\n<td>(2, 5)<\/td>\n<td>(2, 6)<\/td>\n<\/tr>\n<tr>\n<td>(3, 1)<\/td>\n<td>(3, 2)<\/td>\n<td>(3, 3)<\/td>\n<td>(3, 4)<\/td>\n<td>(3, 5)<\/td>\n<td>(3, 6)<\/td>\n<\/tr>\n<tr>\n<td>(4, 1)<\/td>\n<td>(4, 2)<\/td>\n<td>(4, 3)<\/td>\n<td>(4, 4)<\/td>\n<td>(4, 5)<\/td>\n<td>(4, 6)<\/td>\n<\/tr>\n<tr>\n<td>(5, 1)<\/td>\n<td>(5, 2)<\/td>\n<td>(5, 3)<\/td>\n<td>(5, 4)<\/td>\n<td>(5, 5)<\/td>\n<td>(5, 6)<\/td>\n<\/tr>\n<tr>\n<td>(6, 1)<\/td>\n<td>(6, 2)<\/td>\n<td>(6, 3)<\/td>\n<td>(6, 4)<\/td>\n<td>(6, 5)<\/td>\n<td>(6, 6)<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<div class=\"os-caption-container\"><span class=\"os-title-label\">Table <\/span><span class=\"os-number\">4.13<\/span><\/div>\n<div>Use the sample space to complete the following table:<\/div>\n<table class=\"probdist\" style=\"width: 438px;\" summary=\"Table 4.14 Calculating \u03bc and \u03c3.\" data-id=\"fs-idp385088\">\n<thead>\n<tr>\n<th style=\"width: 39px;\" scope=\"col\">$x$<\/th>\n<th style=\"width: 113px;\" scope=\"col\">$P(x)$<\/th>\n<th style=\"width: 113px;\" scope=\"col\">$x\\cdot P(x)$<\/th>\n<th style=\"width: 173px;\" scope=\"col\">$(x-\\mu)^2\\cdot P(x)$<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"width: 39px;\">0<\/td>\n<td style=\"width: 113px;\">$\\frac{9}{36}$<\/td>\n<td style=\"width: 113px;\">0<\/td>\n<td style=\"width: 173px;\">$(0-1)^2\\cdot\\frac{9}{36}=\\frac{9}{36}$<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 39px;\">1<\/td>\n<td style=\"width: 113px;\">$\\frac{18}{36}$<\/td>\n<td style=\"width: 113px;\">$\\frac{18}{36}$<\/td>\n<td style=\"width: 173px;\">$(1-1)^2\\cdot\\frac{18}{36}=0$<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 39px;\">2<\/td>\n<td style=\"width: 113px;\">$\\frac{9}{36}$<\/td>\n<td style=\"width: 113px;\">$\\frac{18}{36}$<\/td>\n<td style=\"width: 173px;\">$(2-1)^2\\cdot\\frac{9}{36}=\\frac{9}{36}$<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<div class=\"os-caption-container\"><span class=\"os-title-label\">Table <\/span><span class=\"os-number\">4.14<\/span> <span class=\"os-title\" data-type=\"title\">Calculating <em data-effect=\"italics\">\u03bc<\/em> and <em data-effect=\"italics\">\u03c3<\/em>.<\/span><\/div>\n<div>\n<p id=\"fs-idm8206048\">Add the values in the third column to find the expected value: $\\mu=\\frac{36}{36}=1$. Use this value to complete the fourth column.<\/p>\n<p id=\"fs-idm151081888\">Add the values in the fourth column and take the square root of the sum: $\\sigma = \\sqrt{\\frac{18}{36}}=0.7071$<\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/section>\n<\/div>\n<\/div>\n<\/section>\n<\/div>\n<div id=\"example1.8\" class=\"ui-has-child-title\" data-type=\"example\">\n<header>\n<h3 class=\"os-title\"><span class=\"os-title-label\">Example <\/span><span class=\"os-number\">4.8<\/span><\/h3>\n<\/header>\n<section>\n<div class=\"body\">\n<div id=\"fs-idm71286192\" class=\"unnumbered\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"fs-idm79685344\" data-type=\"problem\">\n<div class=\"os-problem-container\">\n<p id=\"fs-idm64926544\">On May 11, 2013 at 9:30 PM, the probability that moderate seismic activity (one moderate earthquake) would occur in the next 48 hours in Iran was about 21.42%. Suppose you make a bet that a moderate earthquake will occur in Iran during this period. If you win the bet, you win \\$50. If you lose the bet, you pay \\$20. Let <em data-effect=\"italics\">X<\/em> = the amount of profit from a bet.<\/p>\n<p id=\"fs-idm74848144\"><em data-effect=\"italics\">P<\/em>(win) = <em data-effect=\"italics\">P<\/em>(one moderate earthquake will occur) = 21.42%<\/p>\n<p id=\"fs-idm122921568\"><em data-effect=\"italics\">P<\/em>(loss) = <em data-effect=\"italics\">P<\/em>(one moderate earthquake will <em data-effect=\"italics\">not<\/em> occur) = 100% \u2013 21.42%<\/p>\n<p id=\"fs-idm135341424\">If you bet many times, will you come out ahead? Explain your answer in a complete sentence using numbers. What is the standard deviation of <em data-effect=\"italics\">X<\/em>? Construct a table similar to <a class=\"autogenerated-content\" href=\"#element-226\">Table 4.12<\/a> and <a class=\"autogenerated-content\" href=\"#fs-idm21999584\">Table 4.13<\/a> to help you answer these questions.<\/p>\n<\/div>\n<\/div>\n<div id=\"fs-idm128877280\" data-type=\"solution\" aria-label=\"show solution\" aria-expanded=\"false\">\n<div class=\"ui-toggle-wrapper\"><\/div>\n<section class=\"ui-body\" style=\"display: block; overflow: hidden;\" role=\"alert\">\n<h4 data-type=\"solution-title\"><span class=\"os-title-label\">Solution <\/span><span class=\"os-number\">4.8<\/span><\/h4>\n<div class=\"os-solution-container\">\n<div id=\"fs-idm70673696\" class=\"os-table\">\n<table class=\"probdist\" summary=\"Table 4.15\" data-id=\"fs-idm70673696\">\n<thead>\n<tr>\n<th scope=\"col\"><\/th>\n<th scope=\"col\"><em data-effect=\"italics\">x<\/em><\/th>\n<th scope=\"col\"><em data-effect=\"italics\">P(x)<\/em><\/th>\n<th scope=\"col\"><em data-effect=\"italics\">x<\/em><em data-effect=\"italics\">(Px)<\/em><\/th>\n<th scope=\"col\">(<em data-effect=\"italics\">x<\/em> \u2013 <em data-effect=\"italics\">\u03bc<\/em>)<sup>2<\/sup><em data-effect=\"italics\">P<\/em>(<em data-effect=\"italics\">x<\/em>)<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>win<\/td>\n<td>50<\/td>\n<td>0.2142<\/td>\n<td>10.71<\/td>\n<td>[50 \u2013 (\u20135.006)]<sup>2<\/sup>(0.2142) = 648.0964<\/td>\n<\/tr>\n<tr>\n<td>loss<\/td>\n<td>\u201320<\/td>\n<td>0.7858<\/td>\n<td>\u201315.716<\/td>\n<td>[\u201320 \u2013 (\u20135.006)]<sup>2<\/sup>(0.7858) = 176.6636<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<div class=\"os-caption-container\"><span class=\"os-title-label\">Table <\/span><span class=\"os-number\">4.15<\/span><\/div>\n<\/div>\n<p id=\"fs-idm111908496\">Mean = Expected Value = 10.71 + (\u201315.716) = \u20135.006.<\/p>\n<p id=\"fs-idm85218944\">If you make this bet many times under the same conditions, your long term outcome will be an average <em data-effect=\"italics\">loss<\/em> of \\$5.01 per bet.<\/p>\n<p>$$\\sigma = \\sqrt{648.0964+176.6636} = 28.7186$$<\/p>\n<\/div>\n<\/section>\n<\/div>\n<\/section>\n<\/div>\n<\/div>\n<\/section>\n<\/div>\n<div id=\"fs-idp152488176\" class=\"statistics try ui-has-child-title\" data-type=\"note\" data-has-label=\"true\" data-label=\"\">\n<header>\n<h3 class=\"os-title\"><span class=\"os-title-label\">Try It <\/span><span class=\"os-number\">4.8<\/span><\/h3>\n<\/header>\n<section>\n<div id=\"fs-idm88593344\" class=\"unnumbered\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"eip-idp52574576\" data-type=\"problem\">\n<div class=\"os-problem-container\">\n<p id=\"eip-idp52574832\">On May 11, 2013 at 9:30 PM, the probability that moderate seismic activity (one moderate earthquake) would occur in the next 48 hours in Japan was about 1.08%. As in <a class=\"autogenerated-content\" href=\"#example1.8\">Example 4.8<\/a>, you bet that a moderate earthquake will occur in Japan during this period. If you win the bet, you win \\$100. If you lose the bet, you pay \\$10. Let <em data-effect=\"italics\">X<\/em> = the amount of profit from a bet. Find the mean and standard deviation of <em data-effect=\"italics\">X<\/em>.<\/p>\n<\/div>\n<\/div>\n<\/section>\n<\/div>\n<\/section>\n<\/div>\n<p id=\"element-1\">Some of the more common discrete probability functions are binomial, geometric, hypergeometric, and Poisson. Most elementary courses do not cover the geometric, hypergeometric, and Poisson. Your instructor will let you know if he or she wishes to cover these distributions.<\/p>\n<p id=\"element-428\">A probability distribution function is a pattern. You try to fit a probability problem into a <strong>pattern<\/strong> or distribution in order to perform the necessary calculations. These distributions are tools to make solving probability problems easier. Each distribution has its own special characteristics. Learning the characteristics enables you to distinguish among the different distributions.<\/p>\n<\/div>\n","protected":false},"author":1,"menu_order":2,"template":"","meta":{"pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":""},"chapter-type":[],"contributor":[],"license":[],"class_list":["post-49","chapter","type-chapter","status-publish","hentry"],"part":47,"_links":{"self":[{"href":"https:\/\/textbooks.jaykesler.net\/introstats\/wp-json\/pressbooks\/v2\/chapters\/49","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/textbooks.jaykesler.net\/introstats\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/textbooks.jaykesler.net\/introstats\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/textbooks.jaykesler.net\/introstats\/wp-json\/wp\/v2\/users\/1"}],"version-history":[{"count":4,"href":"https:\/\/textbooks.jaykesler.net\/introstats\/wp-json\/pressbooks\/v2\/chapters\/49\/revisions"}],"predecessor-version":[{"id":458,"href":"https:\/\/textbooks.jaykesler.net\/introstats\/wp-json\/pressbooks\/v2\/chapters\/49\/revisions\/458"}],"part":[{"href":"https:\/\/textbooks.jaykesler.net\/introstats\/wp-json\/pressbooks\/v2\/parts\/47"}],"metadata":[{"href":"https:\/\/textbooks.jaykesler.net\/introstats\/wp-json\/pressbooks\/v2\/chapters\/49\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/textbooks.jaykesler.net\/introstats\/wp-json\/wp\/v2\/media?parent=49"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/textbooks.jaykesler.net\/introstats\/wp-json\/pressbooks\/v2\/chapter-type?post=49"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/textbooks.jaykesler.net\/introstats\/wp-json\/wp\/v2\/contributor?post=49"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/textbooks.jaykesler.net\/introstats\/wp-json\/wp\/v2\/license?post=49"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}