Survey
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
Elementary Statistics Triola, Elementary Statistics 11/e Unit 2 Probability Basics Continued The Law of Large Numbers Even though the probability of getting a heads on a flip of the coin is 0.5, you would not expect to get exactly 5 heads were you to flip a coin ten times. According to the law of large numbers, the more times you flip coin, the more times the number of heads will approach one half of the total number of flips. If you were to flip a coin 10 times, you might for example get 6 heads, the ration being 0.60. However, if you were to flip the same coin 1000 times, you might get 540 heads, the ratio being 0.54. 0.54 is closer to the theoretical ration of 0.5 than 0.6 is. The Complement The complement of event π΄, denoted π΄Μ , is the set of all events in the sample space other than the event π΄ itself. For example, consider the experiment of flipping a coin twice. Let the event π΄ represent getting two heads in a row, i.e. π΄ = {π»π»}. Question #1 What is the set corresponding to π΄Μ ? Remember to include all the elements of the sample space other than HH. We say that π΄ and its complement, π΄Μ , are mutually exclusive or disjoint, because as sets, they do not contain any elements in common, i.e. there is no overlap between the two sets. Also, it is not possible for two mutually exclusive events to occur at the same time. Later on we will be able to easily show the following relationship between an event and its complement, Μ ) = π. π β π·(π¨) π·(π¨ Question #2 Letβs verify the formula, π(π΄Μ ) = 1.0 β π(π΄). a. What is the probability of getting two heads in a row, P(HH)? b. What is the probability of getting either a TH, HT, or TT which is the complement of HH? c. Now, if we let π΄ = {π»π»} πππ π(π΄Μ ) = {π»π, ππ», ππ} verify that π(π΄Μ ) = 1.0 β π(π΄). The Probability of βAt Least Oneβ Letβs suppose that a family is planning to have three children, and they wish to know the probability of getting at least one girl. The sample space of all possibilities looks like, {GGG, GGB, GBG, GBB, BBB, BBG, BGB, BGG} From this you can see that the probability of having at least one girl is 7 out of 8 or 7/8. Typically, however it can be difficult to enumerate all the cases of at least one, but it is much easier to enumerate 2 Copyright © RHarrow 2013 Unit 2 Probability Basics Continued the cases involving βnoneβ. For example, there is only case that does not include any girls, BBB. This is the complement of βat least oneβ. Therefore, the complement of βat least oneβ is βnoneβ. In this case the probability of βnoneβ is 1/8 and so the probability of βat least oneβ is π(π΄Μ ) = 1.0 β π(π΄) = 1.0 β 1 7 = 8 8 Expected Value If you were to flip a coin ten times, how many heads would you expect to get? The probability of getting a heads on any one flip is ½ so ten flips should result in half that number or five heads. We define Expected Value of an event to be π¬ = ππ where n is the number of trials and p is the probability of the event occurring. Question #3 The probability of rolling a seven in dice is 1/6. Therefore, how many times would you expect a seven to occur if you were to roll the dice 36 times. Thereβs another very useful way to use expected value. Letβs say that your chances of winning a bet is 90%, and if you win you get $200, but if you lose, you lose $1000. Would you take this bet? The expected return is given by the following formula, π¬ = ππΎ β ππ³ where p is the probability of winning, q is 1 β p, the probability of losing, W is the amount you win and L is the amount you lose? The expected return in this case is πΈ = (. 90)(200) β (. 10)(1000) = 80 The expected return is positive, so this is a good bet, at least mathematically, but would you take this bet? Many people would be reluctant to do so, because even a 10% chance of losing $1000 would be too much for them. Suppose however, you were given enough seed money to cover 100 trials. Now would you take the bet? This case is similar to speculating in the stock market. If you have a system that has a winning edge, and if you have the resources to cover any losses early on, then as long as you get many chances to repeat the bet on a mathematically winning game, many people will play the game. This is the end of Unit 2. Turn now to your MyMathLab homework to get more practice with these concepts. 3 Copyright © RHarrow 2013