MAS113 Introduction to Probability and Statistics

Size: px
Start display at page:

Download "MAS113 Introduction to Probability and Statistics"

Transcription

1 MAS113 Introduction to Probability and Statistics 1 Introduction 1.1 Studying probability theory There are (at least) two ways to think about the study of probability theory: 1. Probability theory is a branch of Pure Mathematics. We start with some axioms and investigate the implications of those axioms; what results are we able to prove? Probability theory is a subject in its own right, that we can study (and appreciate!) without concerning ourselves with any possible applications. We can also observe links to other areas of mathematics. 2. Probability theory gives us a mathematical model for explaining chance phenomena that we observe in the real world. As with any mathematical theory, it may not describe reality perfectly, but it can still be extremely useful. We must think carefully about when and how the theory can be applied in practice. We will be studying probability from both perspectives. Applications of probability theory are important and interesting, but as a mathematician, you should also develop an understanding and an appreciation of the theory in its own right. 1

2 1.2 Motivation We are often faced with making decisions in the presence of uncertainty. A doctor is treating a patient, and is considering whether to prescribe a particular drug. How likely is it that the drug will cure the patient? A probation board is considering whether to release a prisoner early on parole. How likely is the prisoner to re-offend? A bank is considering whether to approve a loan. How likely is it that the loan will be repaid? A government is considering a CO 2 emissions target. What would the effect of a 20% cut in emissions be on global mean temperatures in 20 years time? We often use verbal expressions of uncertainty ( possible, quite unlikely, very likely ), but these are often inadequate if we want to communicate with each other about uncertainty. Consider the following example. You are being screened for a particular disease. You are told that the disease is quite rare, and that the screening test is accurate but not perfect; if you have the disease, the test will almost certainly detect it, but if you don t have the disease, there is a small chance the test will mistakenly report that you have it anyway. The test result is positive. disease? How certain are you that you really have the Clearly, in this example and in many others, it would be useful if we could quantify our uncertainty. In other words, we would like to measure how likely 2

3 it is that something will happen, or how likely it is that some statement about the world turns out to be true. In this course we introduce a theory for measuring uncertainty: probability theory. We have two ingredients: set theory, which we will use to describe what sort of things we want to measure our uncertainty about, and, appropriately, measure theory, which sets out some basic rules for how to measure things in a sensible way. 1.3 Motivation - the need for set theory and measures If you have studied probability at GCSE or A-level, you may have seen a definition of probability like this: Suppose all the outcomes in an experiment are equally likely. The probability of an event A is defined to be P (A) := number of outcomes in which A occurs. (1) total number of possible outcomes Example 1. A deck of 52 playing cards is shuffled thoroughly. What is the probability that the top card is an ace? The definition can work for examples such as this (with a finite number of equally likely outcomes), but we soon run into difficulties: Example 2. Imagine generating a random angle between 0 and 2π radians, where any angle is equally likely. (For example, consider spinning a roulette wheel, and measuring the angle between the horizontal axis (viewing the wheel from above) and a line from the centre of the wheel that bisects the zero on the wheel). What is the probability that the angle is between 0 and 2 radians? 3

4 You might guess that the answer should be 2 2π, but the definition in (1) causes us problems! There are infinitely many possible angles that could be generated, and there are infinitely many angles between 0 and 2 radians. Clearly, we can t divide infinity by infinity and come up with 2 2π. It may not make much sense to think of outcomes as equally likely: Example 3. What is the probability that a team from Manchester will win the Premier League this season? We will resolve this by constructing a more general definition of probability, using the tools of set theory and a special type of function called a measure, and we ll show how choosing different types of measure will give us sensible answers in both the above examples. 2 Set theory Set theory is covered in more detail in MAS110, but we will review the main points here. 2.1 Sets Definition 1. A set is a collection of objects, with each object referred to as an element or a member of the set. Some examples: 4

5 1. S 1, a set of some colours: S 1 = {yellow, red, blue, green, purple}. 2. N, the natural numbers: N = {1, 2, 3, 4,...}. We say that S 1 is a finite set, as it has 5 members, and N is an infinite set, as there are infinitely many natural numbers. We use the notation red S 1, to mean that red is a member or element of the set S 1. You should be able to guess what is meant by 1 / N. 2 We represent some sets using interval notation. Definition 2. We define open, closed, and half-open intervals as follows. open interval : (a, b) := {x R; a < x < b}, closed interval : [a, b] := {x R; a x b}, half-open interval : (a, b] := {x R; a < x b}, or [a, b) := {x R; a x < b}, where you should read the semicolon to mean such that. Note that we may write, for example, (a, ), but we do not write (a, ]. Definition 3. For any two sets A and B we say that A is a subset of B if every element of A is also an element of B, and we write A B. 5

6 This does not rule out the possibility that A and B are the same set. If there is at least one element of B that is not in A, we write A B. In this case, we say that A is a proper subset of B. For example, if R = {2, 4, 6, 8, 10, 12,...} is the set of all even numbers, then R N. Note the difference between and. If S = {1, 2, 3}, we write 1 S, {1} S. Definition 4. We define the empty set to be the set that does not contain any elements. We denote the empty set by. 2.2 Operations on sets: unions, intersections, complements, and set differences We start with a universal set S, which lists all the elements we wish to consider for the situation at hand. (Note that, in spite of the word universal, the choice of S depends on context.) We can then perform operations on subsets of S. Definition 5. The union of two sets A and B, written A B is the set of all elements that are either in set A, or in set B, or in both. We write A B := {x S; x A or x B}. 6

7 We can visualise this using a Venn diagram (see Figure 1). The rectangle represents the universal set, the two circles represent the subsets A and B, and the shaded area represents the set A B. Figure 1: A Venn diagram, with the shaded region showing A B. Definition 6. The intersection of two sets A and B, written A B is the set of all elements that are both in the set A and in the set B. We write A B := {x S; x A and x B}. Figure 2: A Venn diagram, with the shaded region showing A B. 7

8 Definition 7. If there are no elements in S that are both in A and in B, we say that A and B are disjoint, and we write A B =. On a Venn diagram, you can think of disjoint sets as non-overlapping. Figure 3: A Venn diagram with disjoint A and B. Definition 8. The complement of a set A, written as elements that are in S, but not in A. We write Ā, is the set of all Ā = {x S; x / A}. Alternative notation: Ā is also written as A C and A. Note that = S. 8

9 Figure 4: A Venn diagram, with the shaded region showing Ā. Definition 9. The set difference, written as A\B, is the set of all elements that are in A, but are not in B. We write A \ B := {x S; x A and x / B}. Alternative notation: A \ B is also written as A B. Figure 5: A Venn diagram, with the shaded region showing A \ B. Note that A \ B = A B. Example 4. Suppose we have S = [0, 10] = {x R; 0 x 10}, A = (1, 5) = {x R; 1 < x < 5}, B = [3, 7] = {x R; 3 x 7}. 9

10 What are A B, A B, Ā and A \ B? Theorem 1. (De Morgan s Laws) For any two sets A and B, (A B) = Ā B, (A B) = Ā B. You will prove these results as an exercise in MAS Set theory and probability We now discuss the role of set theory in probability. We consider uncertainty in the context of an experiment, where we use the word experiment in a loose sense to mean observing something in the future, or discovering the true status of something that we are currently uncertain about. In an experiment, suppose we want to consider how likely some particular outcome is. We might start by considering what all the possible outcomes of the experiment are. We can use a set to list all the possible outcomes. Definition 10. A sample space is a set which lists all the possible outcomes of an experiment. In the context of probability, the sample space will play the role of the universal set S. Example 5. Examples of sample spaces Definition 11. An event is a subset of a sample space. If the outcome of the experiment is a member of the event, we say that the event has occurred. Example 6. Examples of events 10

11 Given a sample space S and two subsets/events A and B, the set operations union, intersection, complement and difference all define further events: Set notation A B A B A A \ B the event in words either A occurs or B occurs, or both occur both A and B occur A does not occur A occurs, but B does not Example 7. Combinations of events 3.1 The difference between an outcome and an event Let s clarify the difference between an outcome and an event. An outcome is an element of the sample space S, whereas an event is a subset of S. Consider the following example. Suppose Spain play Germany at football this evening. In a simple approach, the sample space is S = {Spain win, Germany win, draw}. Before the match, you can bet on an event, eg Either Spain win or draw. Tomorrow, a news reporter will tell you the outcome, eg Spain won. The news reporter would not report the event either Spain won or the match was drawn last night. 11

12 If the observed outcome belongs to the event either Spain win or draw, the event has occurred, and you have won your bet. An event could be a single outcome (you could bet on Spain win ). For a sample space S, outcome a and event A, we would use the notation a S and A S. Make sure you understand when to use the symbol and when to use the symbol or. 4 Measure 4.1 Set functions We can define set functions that take sets as their inputs and produce real numbers as outputs.!"#$%&'(')*%' )*%'0$"12+"' +$%#$%&'(',*(-'"$./*,' Not all set functions make sense for all possible sets, so when defining a set function, we ll first say what the sample space is, and then define set functions that operate on subsets of a sample space. Example 8. Examples of set functions 12

13 4.2 Measures We re close to being able to give a formal definition of probability: we re going to define probability as a special type of set function that we apply to a set. We first define a measure as a special type of set function. Definition 12. Given a sample space (or universal set) S, a (finite) measure is a set function that assigns a non-negative real number m(a) to every set A S, which satisfies the following condition: for any two disjoint subsets A and B of S (ie A B = ), m(a B) = m(a) + m(b). (2) Note: This is a simplified definition of measure which is sufficient for this module. There are further technical conditions in the full definition of measure, which we don t need to concern ourselves with here. For more details, see the supplementary online notes. Informally, the above definition can be put into words as follows. A measure is something which assigns a number to a set, produces a non-negative number as its output, and behaves additively : if we take two non-overlapping (disjoints) sets, we can either combine the sets and then apply the measure, or apply the measure to each set and then sum the results, and we will get the same value either way. We can extend the condition in (2) to finite unions of disjoint sets. If three sets A, B and C are all mutually disjoint (A B = A C = B C = ), if 13

14 we define D = B C, then m(a B C) = m(a D) = m(a) + m(d) = m(a) + m(b C) = m(a) + m(b) + m(c). Example 9. Examples of measures Theorem 2. (Properties of measures) Let m be a measure on for some set S, with A, B S. (M1) If B A, then (M2) If B A, then m(a \ B) = m(a) m(b). m(b) m(a). (M3) m( ) = 0 (M4) m(a B) = m(a) + m(b) m(a B). (M5) For any constant c > 0, the function g(a) = c m(a) is also a measure. (M6) If m and n are both measures, the function h(a) = m(a) + n(a) is also a measure. 4.3 Measures on partitions of sets Definition 13. A partition of a set S is a collection of sets E = {E 1, E 2,..., E n } such that 14

15 1. E i E j =, for all 1 i, j n with i j; 2. E 1 E 2... E n = S. We say that {E 1, E 2,..., E n } are mutually exclusive and exhaustive. If S is a sample space, one of the events in E must occur, but no two events can occur simultaneously. From (2), we have Figure 6: An example of a partition with 5 sets. m(s) = n m(e i ). i=1 5 Probability as measure Definition 14. Suppose S is a sample space and P a measure on S. We say that P is a probability (or probability measure) if P (S) = 1. Hence probability is defined to be a special case of measure: a measure that takes the value 1 on a sample space S. 15

16 To summarise, using the concept of measure, we have defined probability as follows. We start with a set S of all possible outcomes of the experiment. We call S the sample space. Probability is a function, a measure, that can be applied to a subset of S (including S itself). A probability must be non-negative: we must have P (A) 0 for any set A S. An event that is certain to happen must have probability 1, so that P (S) = 1. If two events A and B cannot both occur (so that A B = ), then the probability that either A occurs or B occurs is some of their two probabilities: P (A B) = P (A) + P (B). This is as far as the mathematical definition of probability goes. There is no general definition to say what value P (A) must take. Rather, in any practical setting, we will choose a particular probability measure that we feel gives a suitable model for the problem at hand. To see this in action, we return to Examples 1 and 2 (where we initially struggled to come up with a suitable definition of probability). Lemma 2 (M5) says that we can multiply or divide a measure by a positive constant to get another valid measure. We will now use the measures f 1 and f 2 given in Example 9, divided by suitable constants. Example 10. Examples of probability measures 16

17 5.1 Properties of probabilities We can apply what we know about measures to deduce various properties of probabilities. For a sample space S, and A, B S (P1) P (S) = 1. (P2) 0 P (A) 1. (P3) P ( ) = 0. (P4) P (Ā) = 1 P (A). (P5) P (A B) = P (A) + P (B) P (A B). (P6) If A B =, then P (A B) = P (A) + P (B). (P7) If B A then P (A \ B) = P (A) P (B) and P (B) P (A). (P8) If E = {E 1, E 2,..., E n } is partition of S, then P (S) = n i=1 P (E i). You should verify that each of these properties hold, by referring back to the properties of measures discussed earlier. 5.2 The law of large numbers: bridging the gap from theory to observation In Example 1, we said that the probability of the top card being an ace was 4/52. In one sense, all this statement is saying is that there are 52 possible outcomes in total, and for 4 of these outcomes, the event of the top card being an ace will occur. But does this probability value of 4/52 tell us anything 17

18 about what will actually happen if we do the experiment? Not really. We may see an ace, we may not, and it s not clear how we would relate what we would see to the value of 4/52. However, there is a result in probability theory that tells us what will actually happen over a large number of experiments. This result is the law of large numbers. We will study this result later on this module (and state it more precisely), but for now, we ll just give the following informal version. The law of large numbers (an informal version). Suppose we do a sequence of independent experiments, so that the outcome in one experiment has no effect on the outcome in another experiment. Now suppose in experiment i, there is an event E i that has a probability of p of occurring, for i = 1, 2,.... The proportion of events out of E 1, E 2,... that actually occur as we do the experiments will converge to p, as the number of experiments increase. The sequence of experiments could correspond to repeating the same activity lots of times under the same conditions: If we repeat a large number of times the process of shuffling a deck of cards and drawing the top card, we should expect to see the top card being an ace approximately 8% ( 4/52) of the time. Or the sequence of experiments could correspond to different activities: Let E 1 be the event of tossing a coin and observing a head, E 2 be the event of rolling a die an observing an even number, E 3 be the event of drawing a red playing card from a standard deck, E 4 be the event that a randomly selected new born baby is a boy and so on. Given a sufficiently long list of such events E 1, E 2,..., each with probability 0.5, we should see approximately half these events occur if we do the experiments. 18

19 This is a profound result for taming uncertainty! Although we can t predict what will happen in any one instance, we can make useful predictions about will happen overall. Suppose, for the same illness, the probability of a patient being cured by drug A is 0.1, and the probability of a patient being cured by drug B is 0.2. We cannot be certain whether any single patient will be cured by either drug. But we can predict confidently that in a large population of patients, 10% will be cured by drug A, and 20% will be cured by drug B. There remains a rather difficult philosophical question of whether a single experiment in the real world actually has a true probability attached to it, but we won t concern ourselves with this! We ll simply take the position that if we can justify our choice of probability values for some experiments in the real world, we can make useful predictions about what will happen in the world, and these predictions can be tested. 6 Assigning probabilities We have used measure theory to establish some basic rules that probabilities must follow, and the law of large numbers tells us what we should observe given a sequence of independent events, each with the same probability occurring. But for modelling any experiment in the real world, there is no theorem to tell us what the correct probabilities are! (Or even if there are correct probabilities!). There are three main methods for assigning probabilities: the classical approach based on symmetry, relative frequencies, and subjective judgements. Arguably, the first two methods are special cases of the third, because they also involve making subjective judgements. 19

20 6.1 Classical probability: assuming symmetry In the case of a finite sample space, in the classical approach we make the assumption that each outcome in the sample space is equally likely. If there are k outcomes in the sample space, then the probability of any single outcome is 1/k. The probability of any event is then calculated as the number of outcomes in which the event occurs, divided by the total number of possible outcomes. P (A) = A S. In effect, we have chosen P to be the counting measure, divided by the number of elements in the sample space. This is the approach that we used in in Example 1. One situation in which we are usually willing to assume equally likely outcomes is in gambling and games of chance. Example 11. On a European roulette wheel, the ball can land on one of the integers 0 to 36. A bet of one pound on odd returns one pound (plus the original stake) if the ball lands on any odd number from 1 to 35. Supposing you bet one pound a large number N times. According to the law of large numbers, who would you expect to make a profit: you or the casino? 6.2 Counting methods for classical probability The sample space may be very large, so writing out all the possible elements and counting directly may be laborious. Often, we can apply some standard results for permutations and combinations, together with a little logic. Definition 15. Let n P r denote the number of permutations, that is the number of ways of choosing r elements out of n, where the order matters. 20

21 Then n P r = n! (n r)!. Let ( n r) (also written n C r ) denote the number of combinations, that is the number of ways of choosing r elements out of n, where the order does not matter. Then ( ) n r = n! r!(n r)!. These results are proved in MAS110. For reference, more detail is given in the supplementary online notes. Example 12. Consider the National Lottery (under its new rules). On a single ticket, you must choose 6 integers between 1 and 59. A machine also selects 6 integers between 1 and 59, and it is reasonable to assume that each number is equally likely to be chosen. If I buy one ticket: 1. What is the probability that I match all 6 numbers? 2. What is the probability I match 3 numbers only? 6.3 Classical probability under random sampling We can design experiments in which equally likely outcomes can be assumed. We start with a population of people or items, and then pick a subset of the population, such that each member of the population is equally likely to be selected. This is called (simple) random sampling. (Some care is needed to make sure we are satisfied that each member really does have the same chance of being selected). This concept is important in Statistics, where we want to make inferences about a population based on what we have observed 21

22 in a random sample. We can use probability theory to understand how the characteristics of a random sample may differ from the characteristics of a population. Example 13. A factory has produced 50 items, some of which may be faulty. If an item is tested for a fault, it can no longer be used (testing is destructive ). To estimate the proportion of faulty items, a sample of 5 items are selected at random for testing. Suppose out of the 50 items, 10 are faulty. 1. What is the probability that none of the 5 items in the sample are faulty? 2. What is the probability that the proportion of faulty items in the sample is the same as the proportion of faulty items in the population? 6.4 Relative frequencies In some situations, we may judge that outcomes are not equally likely, so that the classical approach is not appropriate. However, we may be able to repeat the experiment, and under the assumption that the conditions of the experiment are the same for each repetition, we may assign a probability of an event A as follows. 1. Repeat the experiment a large number of times. 2. Set P (A) to be the proportion of experiments in which A occurs. Here, we are essentially appealing to the law of large numbers. The law of large numbers says that if in each experiment P (A) is the same value p, then the proportion of experiments in which A occurs will converge to p as the number of experiments tends to infinity. Hence, in practice, if we are satisfied 22

23 that the conditions of the experiment are the same each time, estimating P (A) by the proportion of occurrences in a finite number of experiments seems reasonable. In fact, there is a more formal theory of how to choose a probability based on a finite number of repetitions of the experiment. This is taught in a 3rd year module, Bayesian Statistics. Example 14. I have a backgammon game on my phone. I have played the computer in 73 matches, and have won 50 of them. Assuming my ability hasn t changed over this time, I may judge P ({I win}) = and P ({I lose}) = for a single match. If, for completeness, I also state that P ( ) = 0 and P (S) = 1, where S = {I win, I lose}, have I specified a valid probability measure? 6.5 Subjective probabilities and fair odds In some situations, we will not believe that the outcomes are equally likely, and the experiment is either not repeatable, or no past observations of the experiment exist. An example would be observing which party gets the most number of seats at the next UK election. If we write the sample space as S = {Conservative, Labour, Liberal Democrats, Other}, no-one with any knowledge of UK politics would judge the Liberal Democrats to have the same chance as Conservative or Labour, and we argue that previous elections were held under different circumstances, and so cannot be thought of as replications of the same experiment. Nevertheless, you can still choose your own probability values, based on your own opinion. Bookmakers do this regularly when setting their opening odds, and generally they are very good at it. In fact, the concept of fair odds can be a helpful way to decide what your probability should be. 23

24 Definition 16. For an event E, the odds on the event E are and the odds against the event E are P (E) 1 P (E), 1 P (E), P (E) so the odds against an event are 1 over the odds on an event. Odds may be quoted as ratios: if we say the odds on E are three to two (on), we mean the fraction P (E) 1 P (E), is equal to 3 2. The odds may be written in the form 3/2. Bookmakers usually quote odds against an event. If you bet 1 on the event E to occur at odds of x to y against (written as x/y), if E occurs, you get your 1 back, plus a further x y. If you bet 1 on England winning the next football world cup at odds of 19 to 1 against, if England win, you get your 1 back, plus a further 19. Definition 17. Informally, we define fair odds to mean odds that you think favour neither the bookmaker or the gambler. If you think the odds favour the gambler, you d expect the bookmaker to make a loss. If you think the odds favour the bookmaker, you d expect the bookmaker to make a profit. Example 15. Suppose I roll a fair six-sided die, and offer you odds of 3 to 1 against the outcome being a six. Do you think these odds are fair? If not, what would the fair odds be? Example 16. On a European roulette wheel (numbers from 0 to 36 inclusive, each number appears once), a casino offers odds of 2 to 1 against the result being from 1 to 12 inclusive. What probability of getting 1-12 would this imply? What is the classical probability? 24

25 You can decide on your fair odds for any event. Having chosen fair odds against an event E of x to y, the implied probability is P (E) = x. y Different people, depending on their knowledge, will judge different odds to be fair, and so will have different probabilities. Does this result in a valid probability measure? Under a rather more precise definition of fair odds, the answer is yes. Further details are given in the supplementary online notes. You can look at a bookmaker s quoted odds to give an indication of their subjective probability for an event in question, though their actual probabilities will be smaller, for reasons that we will explain later in the course. (If you calculate the probabilities for all the possible outcomes from a bookmaker s odds, the probabilities will sum to more than 1). A bookmaker s odds will also be influenced by how popular the bets are. For example, small odds against an event may be (partly) the result of lots of people betting on the event, and the bookmaker lowering the odds to protect against potential losses. At the time of writing (August 2015), here are some quoted odds from various bookmakers for some events. Event Odds Implied probability Lewis Hamilton wins 2015 F1 championship 1/ Chelsea win 2015/16 Premier League 3/ Sheffield Wednesday promoted in 2015/16 13/ Boris Johnson next Tory leader 4/ Jessica Ennis-Hill to win BBC Sports Personality 5/ Ireland to win next Cricket World Cup 100/ Hillary Clinton is the next US president 1/ Although it is impossible to state whether any single subjective probability is correct, we can still evaluate the performance of subjective probability 25

26 assessments in the long run. For example, some weather forecasters provide subjective probabilities, for example probabilities that it will rain the next day. If we look at all the occasions where the forecaster has said there is a 40% chance of rain tomorrow, we would hope to see that there was rain the following day on (approximately) 40% of these occasions. 7 Conditional probability 7.1 Introduction and definition Conditional probability is an important concept that we can use to change a measurement of uncertainty as our information changes. Example 17. For a randomly selected individual, suppose the probabilities of the four blood types are P (type O) = 0.45, P (type A) = 0.4, P (type B) = 0.1 and P (type AB) = A test is taken to determine the blood type, but the test is only able to declare that the blood type is either A or B. What is the probability that the blood type is A? Definition 18. We define P (E F ) to be the conditional probability of E given F, where P (E F ) := P (E F ), (3) P (F ) assuming P (F ) > 0. We can interpret this to mean If it is known that F has occurred, what is the probability that E has also occurred? If we know that the outcome belongs to the set F, then for E to occur also, the outcome must lie in the intersection E F. To get the conditional probability 26

27 of E F, we measure (using the probability measure P ) the fraction of the set F that is also in the set E. A comment on joint probabilitites Definition 18 gives us an intuitive way to think about joint probabilities P (E F ). Rearranging ((3)) we have and we can swap E and F and write P (E F ) = P (F )P (E F ), P (F E) = P (E F ) = P (E)P (F E). This means we can calculate the probability that both E and F occur by considering either 1. the probability that E occurs, and then the probability that F occurs given that E has occurred, or: 2. the probability that F occurs, and then the probability that E occurs given that F has occurred. Example 18. Visualising blood group example Specifying conditional probabilities directly Equation (3) tells us how to calculate P (E F ) if we already know P (E F ) and P (F ). But in some situations, we may be able to specify P (E F ) directly, given the information at hand. Example 19. A diagnostic test has been developed for a particular disease. In a group of patients known to be carrying the disease, the test successfully detected the disease for 95% of the patients. An individual is selected at 27

28 random from the population (and so may or may not be carrying the disease). Let D be the event that the individual has the disease, and T be the event that the test declares the individual has the disease. Using the frequency approach to specifying a probability and the information above, which of the following probabilities can we specify? P (D) P (D T ) P (T D) P (D T ) In some cases, the conditional probability will be obvious, and you should have the confidence just to write it down! Example A playing card is drawn at random from a standard deck of 52. Let A be the event that the card is a heart, and B be the event that the card is red. What are P (A B) and P (B A)? 2. On a National Lottery ticket (6 numbers chosen out of 59), let A be the event that 6th number matches the 6th number drawn, and B be the event that the first 5 numbers on the ticket match the first 5 numbers drawn. What is P (A B)? 7.2 Independence Definition 19. Two events E and F are said to be independent if P (E F ) = P (E)P (F ). 28

29 We can use the definition of conditional probability to give a more intuitive definition of independence. The events A and B are independent if P (E F ) = P (E). (4) (If (4) holds, then P (E F ) = P (E F )P (F ) = P (E)P (F )). We can read this to mean If E and F are independent, then learning that E has occurred does not change the probability that F will occur (and vice versa). Example 21. Suppose two pregnant women are chosen at random, and consider whether each gives birth to a boy or girl (assume there will be no twins, triplets etc.) We can write the sample space as S = {(boy, boy), (boy, girl), (girl, boy), (girl, girl)}, where, for example, element (boy, girl), is the outcome that the first woman gives birth to a boy, and the second woman gives birth to a girl. Define B i to be the event that the ith woman gives birth to a boy. 1. With regard to S, what are the subsets B 1, B 2 and B 1 B 2? 2. Suppose we assume that each outcome in the sample space is equally likely. What are the values of P (B 1 ), P (B 2 ) and P (B 1 B 2 )? 3. Are B 1 and B 2 independent? Example 22. Two playing cards are drawn at random from a standard 52 card deck. We observe the number of aces and the number of kings in the two cards drawn. We can write the sample space as S = {(0, 0), (0, 1), (0, 2), (1, 0), (1, 1), (2, 0)}, where, for example, (1, 0) corresponds to observing 1 ace and no kings. Let A be the event of at least one ace, and let K be the event of at least one king. 29

30 1. With regards to S, what are the subsets A, K and A K? 2. Assume that each card in the deck has the same chance of being selected. Calculate P (A), P (K) and P (A K). 3. Are A and K independent? 4. Compare P (A) with P (A K) and comment on the result. Calculating joint probabilities: a summary We have now seen various ways to calculate a joint probability P (A B). These are as follows. 1. Assume independence If we think that learning A has occurred will not change our probability of B occurring (and vice versa) then we have P (A B) = P (A)P (B). Example 23. If I buy a single National Lottery ticket, the probability I don t win any prize is 53/54. If I buy one ticket every week, what is the probability I win nothing in the first two weeks? What is the probability I win nothing in the first month? 2. Direct calculation using classical probability When using classical probability (assuming the elements of the sample space are equally likely), it may be straightforward to count in the number of outcomes in which both A and B occur, and hence calculate P (A B) directly. In a sense, we are saying that if we write C as the event A B, it is straightforward to calculate P (C). Example 24. One playing card is drawn at random from a standard deck of 52. Let A be the event that the card is a red face card (king, queen or jack). Let B be the event that the card is a king. 30

31 (a) Are A and B independent? (b) What is P (A B)? 3. Using conditional probability As has already been commented, we have P (A B) = P (A)P (B A) = P (B)P (A B). If we already know P (A) and P (B A), or P (B) and P (A B), we can calculate P (A B). Example 25. (Example 19 revisited). Suppose 1% of people in a population have a particular disease. A diagnostic test has a 95% chance of detecting the disease in a person carrying the disease. One person is selected at random. What is the probability that they have the disease and the diagnostic test detects it? Having three methods may seem confusing! In fact, the conditional probability method can be thought of as the way to calculate a joint probability (remembering that conditional probabilities can be specified directly), with the first two methods being short cuts or special cases. Example 26. Show how the conditional probability method can be used to calculate the joint probabilities in Examples 23 and The law of total probability In some situations, calculating a probability of an event is easiest if we first consider some appropriate conditional probabilities. 31

32 Example 27. Suppose the four teams in this year s Champions League semifinals are Manchester United, Barcelona, Milan, and Bayern Munich. Depending on their opponents, you judge Manchester United s probabilities of reaching the final to be P (reach final opponent is Barcelona) = 0.2, P (reach final opponent is Milan) = 0.4, P (reach final opponent is Bayern Munich) = 0.5. If the semi-final draw has yet to be made (with any two teams having the same probability of being drawn against each other), what is your probability of Manchester United reaching the final? Theorem 3. (The law of total probability) Suppose we have a partition E = {E 1,..., E n } of a sample space S. Then for any event F, n P (F ) = P (F E i ), or, equivalently, P (F ) = i=1 n P (F E i )P (E i ). i=1 7.4 Bayes theorem In example 19 we considered a diagnostic test, and the probability of the test detecting the disease in someone who has it. But diagnostic tests can sometimes produce false positives : a test may claim the presence of the disease in someone who does not have it. In these situations, we will want to know how likely it is someone has the disease, conditional on their test result. 32

33 S 0.7 E E 5 F E E 4 E 3 0 Figure 7: Given 0 a partition 0.2 E = {E 1 0.4,..., E n }, we0.6 can calculate0.8p (F ) by considering 1 in turn how likely each event E i is, and then how likely F is conditional on E i. Example 28. A new diagnostic test has been developed for a particular disease. It is known that 0.1% of people in the population have the disease. The test will detect the disease in 95% of all people who really do have the disease. However, there is also the possibility of a false positive ; out of all people who do not have the disease, the test will claim they do in 2% of cases. A person is chosen at random to take the test, and the result is positive. How likely is it that that person has the disease? Theorem 4. (Bayes theorem) Suppose we have a partition of E = {E 1,..., E n } of a sample space S. Then for any event F, P (E i F ) = P (E i)p (F E i ). P (F ) 33

34 Note that we can calculate P (F ) via the law of total probability: P (F ) = n P (F E j )P (E j ). j=1 Note that if E is a single event then {E, Ē} is a partition, so Bayes theorem gives us P (F E)P (E) P (E F ) = P (F E)P (E) + P (F Ē)P (Ē). In the context of Bayes theorem, we sometimes refer to P (E i ) as the prior probability of E i, and P (E i F ) as the posterior probability of E i given F. The prior probability states how likely we thought E i was before we knew that F had occurred, and the posterior probability states how likely we think E i is after we have learnt that F has occurred. 7.5 Conditional probabilities: deciding which formula to use Initially, it can seem confusing that we have two formulae for conditional probabilities: the definition in equation (3) and Bayes theorem (and we have also said that you can sometimes just write down a conditional probability directly). Firstly, you should note that these aren t really different formulae. To get Bayes theorem, we have just started with the conditional probability definition P (A B) P (A B) =, P (B) then rewritten the numerator using P (A B) = P (A)P (B A) and rewritten the denominator using the law of total probability. With practice, you will quickly learn to recognise what probabilities you already know, and so how 34

35 to calculate P (A B). However, to start with, you may find it helpful to use the following scheme. 1. Is it obvious? You may have the information you need to write down P (A B) directly. If not, carry on to Step Write down the conditional probability formula P (A B) = P (A B) P (B) 3. Consider the numerator P (A B) (a) Is it straightforward to write down or calculate P (A B)? If so, move on to Step 4. (b) Do you know P (A) and P (B A)? If so, you can calculate P (A B) P (A B) = P (A)P (B A). (In this case, you are now using Bayes Theorem). 4. Consider the denominator P (B) If you know this value already, you re done. If not, try the law of total probability: P (B) = P (A)P (B A) + P (Ā)P (B Ā). Try working through Examples 17, 20 and 28 again, following the scheme above. 35

Basic Probability. Probability: The part of Mathematics devoted to quantify uncertainty

Basic Probability. Probability: The part of Mathematics devoted to quantify uncertainty AMS 5 PROBABILITY Basic Probability Probability: The part of Mathematics devoted to quantify uncertainty Frequency Theory Bayesian Theory Game: Playing Backgammon. The chance of getting (6,6) is 1/36.

More information

In the situations that we will encounter, we may generally calculate the probability of an event

In the situations that we will encounter, we may generally calculate the probability of an event What does it mean for something to be random? An event is called random if the process which produces the outcome is sufficiently complicated that we are unable to predict the precise result and are instead

More information

Probability. Sample space: all the possible outcomes of a probability experiment, i.e., the population of outcomes

Probability. Sample space: all the possible outcomes of a probability experiment, i.e., the population of outcomes Probability Basic Concepts: Probability experiment: process that leads to welldefined results, called outcomes Outcome: result of a single trial of a probability experiment (a datum) Sample space: all

More information

Lecture Note 1 Set and Probability Theory. MIT 14.30 Spring 2006 Herman Bennett

Lecture Note 1 Set and Probability Theory. MIT 14.30 Spring 2006 Herman Bennett Lecture Note 1 Set and Probability Theory MIT 14.30 Spring 2006 Herman Bennett 1 Set Theory 1.1 Definitions and Theorems 1. Experiment: any action or process whose outcome is subject to uncertainty. 2.

More information

6.3 Conditional Probability and Independence

6.3 Conditional Probability and Independence 222 CHAPTER 6. PROBABILITY 6.3 Conditional Probability and Independence Conditional Probability Two cubical dice each have a triangle painted on one side, a circle painted on two sides and a square painted

More information

36 Odds, Expected Value, and Conditional Probability

36 Odds, Expected Value, and Conditional Probability 36 Odds, Expected Value, and Conditional Probability What s the difference between probabilities and odds? To answer this question, let s consider a game that involves rolling a die. If one gets the face

More information

AMS 5 CHANCE VARIABILITY

AMS 5 CHANCE VARIABILITY AMS 5 CHANCE VARIABILITY The Law of Averages When tossing a fair coin the chances of tails and heads are the same: 50% and 50%. So if the coin is tossed a large number of times, the number of heads and

More information

Week 2: Conditional Probability and Bayes formula

Week 2: Conditional Probability and Bayes formula Week 2: Conditional Probability and Bayes formula We ask the following question: suppose we know that a certain event B has occurred. How does this impact the probability of some other A. This question

More information

IAM 530 ELEMENTS OF PROBABILITY AND STATISTICS INTRODUCTION

IAM 530 ELEMENTS OF PROBABILITY AND STATISTICS INTRODUCTION IAM 530 ELEMENTS OF PROBABILITY AND STATISTICS INTRODUCTION 1 WHAT IS STATISTICS? Statistics is a science of collecting data, organizing and describing it and drawing conclusions from it. That is, statistics

More information

Ch. 13.3: More about Probability

Ch. 13.3: More about Probability Ch. 13.3: More about Probability Complementary Probabilities Given any event, E, of some sample space, U, of a random experiment, we can always talk about the complement, E, of that event: this is the

More information

AP Stats - Probability Review

AP Stats - Probability Review AP Stats - Probability Review Multiple Choice Identify the choice that best completes the statement or answers the question. 1. I toss a penny and observe whether it lands heads up or tails up. Suppose

More information

Lecture 13. Understanding Probability and Long-Term Expectations

Lecture 13. Understanding Probability and Long-Term Expectations Lecture 13 Understanding Probability and Long-Term Expectations Thinking Challenge What s the probability of getting a head on the toss of a single fair coin? Use a scale from 0 (no way) to 1 (sure thing).

More information

Chapter 5 A Survey of Probability Concepts

Chapter 5 A Survey of Probability Concepts Chapter 5 A Survey of Probability Concepts True/False 1. Based on a classical approach, the probability of an event is defined as the number of favorable outcomes divided by the total number of possible

More information

Math/Stats 425 Introduction to Probability. 1. Uncertainty and the axioms of probability

Math/Stats 425 Introduction to Probability. 1. Uncertainty and the axioms of probability Math/Stats 425 Introduction to Probability 1. Uncertainty and the axioms of probability Processes in the real world are random if outcomes cannot be predicted with certainty. Example: coin tossing, stock

More information

Probability, statistics and football Franka Miriam Bru ckler Paris, 2015.

Probability, statistics and football Franka Miriam Bru ckler Paris, 2015. Probability, statistics and football Franka Miriam Bru ckler Paris, 2015 Please read this before starting! Although each activity can be performed by one person only, it is suggested that you work in groups

More information

E3: PROBABILITY AND STATISTICS lecture notes

E3: PROBABILITY AND STATISTICS lecture notes E3: PROBABILITY AND STATISTICS lecture notes 2 Contents 1 PROBABILITY THEORY 7 1.1 Experiments and random events............................ 7 1.2 Certain event. Impossible event............................

More information

Probability and Expected Value

Probability and Expected Value Probability and Expected Value This handout provides an introduction to probability and expected value. Some of you may already be familiar with some of these topics. Probability and expected value are

More information

Conditional Probability, Independence and Bayes Theorem Class 3, 18.05, Spring 2014 Jeremy Orloff and Jonathan Bloom

Conditional Probability, Independence and Bayes Theorem Class 3, 18.05, Spring 2014 Jeremy Orloff and Jonathan Bloom Conditional Probability, Independence and Bayes Theorem Class 3, 18.05, Spring 2014 Jeremy Orloff and Jonathan Bloom 1 Learning Goals 1. Know the definitions of conditional probability and independence

More information

Elementary Statistics and Inference. Elementary Statistics and Inference. 16 The Law of Averages (cont.) 22S:025 or 7P:025.

Elementary Statistics and Inference. Elementary Statistics and Inference. 16 The Law of Averages (cont.) 22S:025 or 7P:025. Elementary Statistics and Inference 22S:025 or 7P:025 Lecture 20 1 Elementary Statistics and Inference 22S:025 or 7P:025 Chapter 16 (cont.) 2 D. Making a Box Model Key Questions regarding box What numbers

More information

MA 1125 Lecture 14 - Expected Values. Friday, February 28, 2014. Objectives: Introduce expected values.

MA 1125 Lecture 14 - Expected Values. Friday, February 28, 2014. Objectives: Introduce expected values. MA 5 Lecture 4 - Expected Values Friday, February 2, 24. Objectives: Introduce expected values.. Means, Variances, and Standard Deviations of Probability Distributions Two classes ago, we computed the

More information

If, under a given assumption, the of a particular observed is extremely. , we conclude that the is probably not

If, under a given assumption, the of a particular observed is extremely. , we conclude that the is probably not 4.1 REVIEW AND PREVIEW RARE EVENT RULE FOR INFERENTIAL STATISTICS If, under a given assumption, the of a particular observed is extremely, we conclude that the is probably not. 4.2 BASIC CONCEPTS OF PROBABILITY

More information

Basic Probability Theory II

Basic Probability Theory II RECAP Basic Probability heory II Dr. om Ilvento FREC 408 We said the approach to establishing probabilities for events is to Define the experiment List the sample points Assign probabilities to the sample

More information

Section 7C: The Law of Large Numbers

Section 7C: The Law of Large Numbers Section 7C: The Law of Large Numbers Example. You flip a coin 00 times. Suppose the coin is fair. How many times would you expect to get heads? tails? One would expect a fair coin to come up heads half

More information

6.042/18.062J Mathematics for Computer Science. Expected Value I

6.042/18.062J Mathematics for Computer Science. Expected Value I 6.42/8.62J Mathematics for Computer Science Srini Devadas and Eric Lehman May 3, 25 Lecture otes Expected Value I The expectation or expected value of a random variable is a single number that tells you

More information

calculating probabilities

calculating probabilities 4 calculating probabilities Taking Chances What s the probability he s remembered I m allergic to non-precious metals? Life is full of uncertainty. Sometimes it can be impossible to say what will happen

More information

EXAM. Exam #3. Math 1430, Spring 2002. April 21, 2001 ANSWERS

EXAM. Exam #3. Math 1430, Spring 2002. April 21, 2001 ANSWERS EXAM Exam #3 Math 1430, Spring 2002 April 21, 2001 ANSWERS i 60 pts. Problem 1. A city has two newspapers, the Gazette and the Journal. In a survey of 1, 200 residents, 500 read the Journal, 700 read the

More information

Introduction to Discrete Probability. Terminology. Probability definition. 22c:19, section 6.x Hantao Zhang

Introduction to Discrete Probability. Terminology. Probability definition. 22c:19, section 6.x Hantao Zhang Introduction to Discrete Probability 22c:19, section 6.x Hantao Zhang 1 Terminology Experiment A repeatable procedure that yields one of a given set of outcomes Rolling a die, for example Sample space

More information

Fundamentals of Probability

Fundamentals of Probability Fundamentals of Probability Introduction Probability is the likelihood that an event will occur under a set of given conditions. The probability of an event occurring has a value between 0 and 1. An impossible

More information

Chapter 4 & 5 practice set. The actual exam is not multiple choice nor does it contain like questions.

Chapter 4 & 5 practice set. The actual exam is not multiple choice nor does it contain like questions. Chapter 4 & 5 practice set. The actual exam is not multiple choice nor does it contain like questions. MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.

More information

STA 371G: Statistics and Modeling

STA 371G: Statistics and Modeling STA 371G: Statistics and Modeling Decision Making Under Uncertainty: Probability, Betting Odds and Bayes Theorem Mingyuan Zhou McCombs School of Business The University of Texas at Austin http://mingyuanzhou.github.io/sta371g

More information

Unit 19: Probability Models

Unit 19: Probability Models Unit 19: Probability Models Summary of Video Probability is the language of uncertainty. Using statistics, we can better predict the outcomes of random phenomena over the long term from the very complex,

More information

Basic Probability Concepts

Basic Probability Concepts page 1 Chapter 1 Basic Probability Concepts 1.1 Sample and Event Spaces 1.1.1 Sample Space A probabilistic (or statistical) experiment has the following characteristics: (a) the set of all possible outcomes

More information

Math 141. Lecture 2: More Probability! Albyn Jones 1. [email protected] www.people.reed.edu/ jones/courses/141. 1 Library 304. Albyn Jones Math 141

Math 141. Lecture 2: More Probability! Albyn Jones 1. jones@reed.edu www.people.reed.edu/ jones/courses/141. 1 Library 304. Albyn Jones Math 141 Math 141 Lecture 2: More Probability! Albyn Jones 1 1 Library 304 [email protected] www.people.reed.edu/ jones/courses/141 Outline Law of total probability Bayes Theorem the Multiplication Rule, again Recall

More information

A Few Basics of Probability

A Few Basics of Probability A Few Basics of Probability Philosophy 57 Spring, 2004 1 Introduction This handout distinguishes between inductive and deductive logic, and then introduces probability, a concept essential to the study

More information

Probability: The Study of Randomness Randomness and Probability Models. IPS Chapters 4 Sections 4.1 4.2

Probability: The Study of Randomness Randomness and Probability Models. IPS Chapters 4 Sections 4.1 4.2 Probability: The Study of Randomness Randomness and Probability Models IPS Chapters 4 Sections 4.1 4.2 Chapter 4 Overview Key Concepts Random Experiment/Process Sample Space Events Probability Models Probability

More information

Lecture 1 Introduction Properties of Probability Methods of Enumeration Asrat Temesgen Stockholm University

Lecture 1 Introduction Properties of Probability Methods of Enumeration Asrat Temesgen Stockholm University Lecture 1 Introduction Properties of Probability Methods of Enumeration Asrat Temesgen Stockholm University 1 Chapter 1 Probability 1.1 Basic Concepts In the study of statistics, we consider experiments

More information

Worksheet for Teaching Module Probability (Lesson 1)

Worksheet for Teaching Module Probability (Lesson 1) Worksheet for Teaching Module Probability (Lesson 1) Topic: Basic Concepts and Definitions Equipment needed for each student 1 computer with internet connection Introduction In the regular lectures in

More information

Standard 12: The student will explain and evaluate the financial impact and consequences of gambling.

Standard 12: The student will explain and evaluate the financial impact and consequences of gambling. STUDENT MODULE 12.1 GAMBLING PAGE 1 Standard 12: The student will explain and evaluate the financial impact and consequences of gambling. Risky Business Simone, Paula, and Randy meet in the library every

More information

Week 7 - Game Theory and Industrial Organisation

Week 7 - Game Theory and Industrial Organisation Week 7 - Game Theory and Industrial Organisation The Cournot and Bertrand models are the two basic templates for models of oligopoly; industry structures with a small number of firms. There are a number

More information

2. How many ways can the letters in PHOENIX be rearranged? 7! = 5,040 ways.

2. How many ways can the letters in PHOENIX be rearranged? 7! = 5,040 ways. Math 142 September 27, 2011 1. How many ways can 9 people be arranged in order? 9! = 362,880 ways 2. How many ways can the letters in PHOENIX be rearranged? 7! = 5,040 ways. 3. The letters in MATH are

More information

TOPIC P2: SAMPLE SPACE AND ASSIGNING PROBABILITIES SPOTLIGHT: THE CASINO GAME OF ROULETTE. Topic P2: Sample Space and Assigning Probabilities

TOPIC P2: SAMPLE SPACE AND ASSIGNING PROBABILITIES SPOTLIGHT: THE CASINO GAME OF ROULETTE. Topic P2: Sample Space and Assigning Probabilities TOPIC P2: SAMPLE SPACE AND ASSIGNING PROBABILITIES SPOTLIGHT: THE CASINO GAME OF ROULETTE Roulette is one of the most popular casino games. The name roulette is derived from the French word meaning small

More information

$2 4 40 + ( $1) = 40

$2 4 40 + ( $1) = 40 THE EXPECTED VALUE FOR THE SUM OF THE DRAWS In the game of Keno there are 80 balls, numbered 1 through 80. On each play, the casino chooses 20 balls at random without replacement. Suppose you bet on the

More information

The overall size of these chance errors is measured by their RMS HALF THE NUMBER OF TOSSES NUMBER OF HEADS MINUS 0 400 800 1200 1600 NUMBER OF TOSSES

The overall size of these chance errors is measured by their RMS HALF THE NUMBER OF TOSSES NUMBER OF HEADS MINUS 0 400 800 1200 1600 NUMBER OF TOSSES INTRODUCTION TO CHANCE VARIABILITY WHAT DOES THE LAW OF AVERAGES SAY? 4 coins were tossed 1600 times each, and the chance error number of heads half the number of tosses was plotted against the number

More information

Statistics 100A Homework 2 Solutions

Statistics 100A Homework 2 Solutions Statistics Homework Solutions Ryan Rosario Chapter 9. retail establishment accepts either the merican Express or the VIS credit card. total of percent of its customers carry an merican Express card, 6

More information

Betting on Excel to enliven the teaching of probability

Betting on Excel to enliven the teaching of probability Betting on Excel to enliven the teaching of probability Stephen R. Clarke School of Mathematical Sciences Swinburne University of Technology Abstract The study of probability has its roots in gambling

More information

The study of probability has increased in popularity over the years because of its wide range of practical applications.

The study of probability has increased in popularity over the years because of its wide range of practical applications. 6.7. Probability. The study of probability has increased in popularity over the years because of its wide range of practical applications. In probability, each repetition of an experiment is called a trial,

More information

MTH6120 Further Topics in Mathematical Finance Lesson 2

MTH6120 Further Topics in Mathematical Finance Lesson 2 MTH6120 Further Topics in Mathematical Finance Lesson 2 Contents 1.2.3 Non-constant interest rates....................... 15 1.3 Arbitrage and Black-Scholes Theory....................... 16 1.3.1 Informal

More information

Discrete Mathematics and Probability Theory Fall 2009 Satish Rao, David Tse Note 13. Random Variables: Distribution and Expectation

Discrete Mathematics and Probability Theory Fall 2009 Satish Rao, David Tse Note 13. Random Variables: Distribution and Expectation CS 70 Discrete Mathematics and Probability Theory Fall 2009 Satish Rao, David Tse Note 3 Random Variables: Distribution and Expectation Random Variables Question: The homeworks of 20 students are collected

More information

Responsible Gambling Education Unit: Mathematics A & B

Responsible Gambling Education Unit: Mathematics A & B The Queensland Responsible Gambling Strategy Responsible Gambling Education Unit: Mathematics A & B Outline of the Unit This document is a guide for teachers to the Responsible Gambling Education Unit:

More information

If A is divided by B the result is 2/3. If B is divided by C the result is 4/7. What is the result if A is divided by C?

If A is divided by B the result is 2/3. If B is divided by C the result is 4/7. What is the result if A is divided by C? Problem 3 If A is divided by B the result is 2/3. If B is divided by C the result is 4/7. What is the result if A is divided by C? Suggested Questions to ask students about Problem 3 The key to this question

More information

Lotto Master Formula (v1.3) The Formula Used By Lottery Winners

Lotto Master Formula (v1.3) The Formula Used By Lottery Winners Lotto Master Formula (v.) The Formula Used By Lottery Winners I. Introduction This book is designed to provide you with all of the knowledge that you will need to be a consistent winner in your local lottery

More information

Chapter 4 Lecture Notes

Chapter 4 Lecture Notes Chapter 4 Lecture Notes Random Variables October 27, 2015 1 Section 4.1 Random Variables A random variable is typically a real-valued function defined on the sample space of some experiment. For instance,

More information

Statistics 100A Homework 4 Solutions

Statistics 100A Homework 4 Solutions Chapter 4 Statistics 00A Homework 4 Solutions Ryan Rosario 39. A ball is drawn from an urn containing 3 white and 3 black balls. After the ball is drawn, it is then replaced and another ball is drawn.

More information

A probability experiment is a chance process that leads to well-defined outcomes. 3) What is the difference between an outcome and an event?

A probability experiment is a chance process that leads to well-defined outcomes. 3) What is the difference between an outcome and an event? Ch 4.2 pg.191~(1-10 all), 12 (a, c, e, g), 13, 14, (a, b, c, d, e, h, i, j), 17, 21, 25, 31, 32. 1) What is a probability experiment? A probability experiment is a chance process that leads to well-defined

More information

STATISTICS 8: CHAPTERS 7 TO 10, SAMPLE MULTIPLE CHOICE QUESTIONS

STATISTICS 8: CHAPTERS 7 TO 10, SAMPLE MULTIPLE CHOICE QUESTIONS STATISTICS 8: CHAPTERS 7 TO 10, SAMPLE MULTIPLE CHOICE QUESTIONS 1. If two events (both with probability greater than 0) are mutually exclusive, then: A. They also must be independent. B. They also could

More information

Chapter 7 Probability. Example of a random circumstance. Random Circumstance. What does probability mean?? Goals in this chapter

Chapter 7 Probability. Example of a random circumstance. Random Circumstance. What does probability mean?? Goals in this chapter Homework (due Wed, Oct 27) Chapter 7: #17, 27, 28 Announcements: Midterm exams keys on web. (For a few hours the answer to MC#1 was incorrect on Version A.) No grade disputes now. Will have a chance to

More information

Complement. If A is an event, then the complement of A, written A c, means all the possible outcomes that are not in A.

Complement. If A is an event, then the complement of A, written A c, means all the possible outcomes that are not in A. Complement If A is an event, then the complement of A, written A c, means all the possible outcomes that are not in A. For example, if A is the event UNC wins at least 5 football games, then A c is the

More information

What Is Probability?

What Is Probability? 1 What Is Probability? The idea: Uncertainty can often be "quantified" i.e., we can talk about degrees of certainty or uncertainty. This is the idea of probability: a higher probability expresses a higher

More information

Math 58. Rumbos Fall 2008 1. Solutions to Review Problems for Exam 2

Math 58. Rumbos Fall 2008 1. Solutions to Review Problems for Exam 2 Math 58. Rumbos Fall 2008 1 Solutions to Review Problems for Exam 2 1. For each of the following scenarios, determine whether the binomial distribution is the appropriate distribution for the random variable

More information

STATISTICS 230 COURSE NOTES. Chris Springer, revised by Jerry Lawless and Don McLeish

STATISTICS 230 COURSE NOTES. Chris Springer, revised by Jerry Lawless and Don McLeish STATISTICS 230 COURSE NOTES Chris Springer, revised by Jerry Lawless and Don McLeish JANUARY 2006 Contents 1. Introduction to Probability 1 2. Mathematical Probability Models 5 2.1 SampleSpacesandProbability...

More information

Expected Value. 24 February 2014. Expected Value 24 February 2014 1/19

Expected Value. 24 February 2014. Expected Value 24 February 2014 1/19 Expected Value 24 February 2014 Expected Value 24 February 2014 1/19 This week we discuss the notion of expected value and how it applies to probability situations, including the various New Mexico Lottery

More information

Bayesian Tutorial (Sheet Updated 20 March)

Bayesian Tutorial (Sheet Updated 20 March) Bayesian Tutorial (Sheet Updated 20 March) Practice Questions (for discussing in Class) Week starting 21 March 2016 1. What is the probability that the total of two dice will be greater than 8, given that

More information

ECE302 Spring 2006 HW1 Solutions January 16, 2006 1

ECE302 Spring 2006 HW1 Solutions January 16, 2006 1 ECE302 Spring 2006 HW1 Solutions January 16, 2006 1 Solutions to HW1 Note: These solutions were generated by R. D. Yates and D. J. Goodman, the authors of our textbook. I have added comments in italics

More information

Elementary Statistics and Inference. Elementary Statistics and Inference. 17 Expected Value and Standard Error. 22S:025 or 7P:025.

Elementary Statistics and Inference. Elementary Statistics and Inference. 17 Expected Value and Standard Error. 22S:025 or 7P:025. Elementary Statistics and Inference S:05 or 7P:05 Lecture Elementary Statistics and Inference S:05 or 7P:05 Chapter 7 A. The Expected Value In a chance process (probability experiment) the outcomes of

More information

13.0 Central Limit Theorem

13.0 Central Limit Theorem 13.0 Central Limit Theorem Discuss Midterm/Answer Questions Box Models Expected Value and Standard Error Central Limit Theorem 1 13.1 Box Models A Box Model describes a process in terms of making repeated

More information

Chapter 13 & 14 - Probability PART

Chapter 13 & 14 - Probability PART Chapter 13 & 14 - Probability PART IV : PROBABILITY Dr. Joseph Brennan Math 148, BU Dr. Joseph Brennan (Math 148, BU) Chapter 13 & 14 - Probability 1 / 91 Why Should We Learn Probability Theory? Dr. Joseph

More information

Session 8 Probability

Session 8 Probability Key Terms for This Session Session 8 Probability Previously Introduced frequency New in This Session binomial experiment binomial probability model experimental probability mathematical probability outcome

More information

3.2 Roulette and Markov Chains

3.2 Roulette and Markov Chains 238 CHAPTER 3. DISCRETE DYNAMICAL SYSTEMS WITH MANY VARIABLES 3.2 Roulette and Markov Chains In this section we will be discussing an application of systems of recursion equations called Markov Chains.

More information

Discrete Mathematics and Probability Theory Fall 2009 Satish Rao, David Tse Note 10

Discrete Mathematics and Probability Theory Fall 2009 Satish Rao, David Tse Note 10 CS 70 Discrete Mathematics and Probability Theory Fall 2009 Satish Rao, David Tse Note 10 Introduction to Discrete Probability Probability theory has its origins in gambling analyzing card games, dice,

More information

Math Review. for the Quantitative Reasoning Measure of the GRE revised General Test

Math Review. for the Quantitative Reasoning Measure of the GRE revised General Test Math Review for the Quantitative Reasoning Measure of the GRE revised General Test www.ets.org Overview This Math Review will familiarize you with the mathematical skills and concepts that are important

More information

V. RANDOM VARIABLES, PROBABILITY DISTRIBUTIONS, EXPECTED VALUE

V. RANDOM VARIABLES, PROBABILITY DISTRIBUTIONS, EXPECTED VALUE V. RANDOM VARIABLES, PROBABILITY DISTRIBUTIONS, EXPETED VALUE A game of chance featured at an amusement park is played as follows: You pay $ to play. A penny and a nickel are flipped. You win $ if either

More information

Probability. a number between 0 and 1 that indicates how likely it is that a specific event or set of events will occur.

Probability. a number between 0 and 1 that indicates how likely it is that a specific event or set of events will occur. Probability Probability Simple experiment Sample space Sample point, or elementary event Event, or event class Mutually exclusive outcomes Independent events a number between 0 and 1 that indicates how

More information

Find the indicated probability. 1) If a single fair die is rolled, find the probability of a 4 given that the number rolled is odd.

Find the indicated probability. 1) If a single fair die is rolled, find the probability of a 4 given that the number rolled is odd. Math 0 Practice Test 3 Fall 2009 Covers 7.5, 8.-8.3 MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question. Find the indicated probability. ) If a single

More information

Mathematics for Computer Science/Software Engineering. Notes for the course MSM1F3 Dr. R. A. Wilson

Mathematics for Computer Science/Software Engineering. Notes for the course MSM1F3 Dr. R. A. Wilson Mathematics for Computer Science/Software Engineering Notes for the course MSM1F3 Dr. R. A. Wilson October 1996 Chapter 1 Logic Lecture no. 1. We introduce the concept of a proposition, which is a statement

More information

The Math. P (x) = 5! = 1 2 3 4 5 = 120.

The Math. P (x) = 5! = 1 2 3 4 5 = 120. The Math Suppose there are n experiments, and the probability that someone gets the right answer on any given experiment is p. So in the first example above, n = 5 and p = 0.2. Let X be the number of correct

More information

6 EXTENDING ALGEBRA. 6.0 Introduction. 6.1 The cubic equation. Objectives

6 EXTENDING ALGEBRA. 6.0 Introduction. 6.1 The cubic equation. Objectives 6 EXTENDING ALGEBRA Chapter 6 Extending Algebra Objectives After studying this chapter you should understand techniques whereby equations of cubic degree and higher can be solved; be able to factorise

More information

Chapter 4. Probability and Probability Distributions

Chapter 4. Probability and Probability Distributions Chapter 4. robability and robability Distributions Importance of Knowing robability To know whether a sample is not identical to the population from which it was selected, it is necessary to assess the

More information

Law of Large Numbers. Alexandra Barbato and Craig O Connell. Honors 391A Mathematical Gems Jenia Tevelev

Law of Large Numbers. Alexandra Barbato and Craig O Connell. Honors 391A Mathematical Gems Jenia Tevelev Law of Large Numbers Alexandra Barbato and Craig O Connell Honors 391A Mathematical Gems Jenia Tevelev Jacob Bernoulli Life of Jacob Bernoulli Born into a family of important citizens in Basel, Switzerland

More information

Introductory Probability. MATH 107: Finite Mathematics University of Louisville. March 5, 2014

Introductory Probability. MATH 107: Finite Mathematics University of Louisville. March 5, 2014 Introductory Probability MATH 07: Finite Mathematics University of Louisville March 5, 204 What is probability? Counting and probability 2 / 3 Probability in our daily lives We see chances, odds, and probabilities

More information

A natural introduction to probability theory. Ronald Meester

A natural introduction to probability theory. Ronald Meester A natural introduction to probability theory Ronald Meester ii Contents Preface v 1 Experiments 1 1.1 Definitions and examples........................ 1 1.2 Counting and combinatorics......................

More information

MAT 155. Key Concept. February 03, 2011. 155S4.1 2_3 Review & Preview; Basic Concepts of Probability. Review. Chapter 4 Probability

MAT 155. Key Concept. February 03, 2011. 155S4.1 2_3 Review & Preview; Basic Concepts of Probability. Review. Chapter 4 Probability MAT 155 Dr. Claude Moore Cape Fear Community College Chapter 4 Probability 4 1 Review and Preview 4 2 Basic Concepts of Probability 4 3 Addition Rule 4 4 Multiplication Rule: Basics 4 7 Counting To find

More information

Ch. 13.2: Mathematical Expectation

Ch. 13.2: Mathematical Expectation Ch. 13.2: Mathematical Expectation Random Variables Very often, we are interested in sample spaces in which the outcomes are distinct real numbers. For example, in the experiment of rolling two dice, we

More information

Practical Probability:

Practical Probability: Practical Probability: Casino Odds and Sucker Bets Tom Davis [email protected] April 2, 2011 Abstract Gambling casinos are there to make money, so in almost every instance, the games you can bet

More information

WHAT ARE MATHEMATICAL PROOFS AND WHY THEY ARE IMPORTANT?

WHAT ARE MATHEMATICAL PROOFS AND WHY THEY ARE IMPORTANT? WHAT ARE MATHEMATICAL PROOFS AND WHY THEY ARE IMPORTANT? introduction Many students seem to have trouble with the notion of a mathematical proof. People that come to a course like Math 216, who certainly

More information

STAT 319 Probability and Statistics For Engineers PROBABILITY. Engineering College, Hail University, Saudi Arabia

STAT 319 Probability and Statistics For Engineers PROBABILITY. Engineering College, Hail University, Saudi Arabia STAT 319 robability and Statistics For Engineers LECTURE 03 ROAILITY Engineering College, Hail University, Saudi Arabia Overview robability is the study of random events. The probability, or chance, that

More information

Pascal is here expressing a kind of skepticism about the ability of human reason to deliver an answer to this question.

Pascal is here expressing a kind of skepticism about the ability of human reason to deliver an answer to this question. Pascal s wager So far we have discussed a number of arguments for or against the existence of God. In the reading for today, Pascal asks not Does God exist? but Should we believe in God? What is distinctive

More information

Lecture 14. Chapter 7: Probability. Rule 1: Rule 2: Rule 3: Nancy Pfenning Stats 1000

Lecture 14. Chapter 7: Probability. Rule 1: Rule 2: Rule 3: Nancy Pfenning Stats 1000 Lecture 4 Nancy Pfenning Stats 000 Chapter 7: Probability Last time we established some basic definitions and rules of probability: Rule : P (A C ) = P (A). Rule 2: In general, the probability of one event

More information

The result of the bayesian analysis is the probability distribution of every possible hypothesis H, given one real data set D. This prestatistical approach to our problem was the standard approach of Laplace

More information

How To Find The Sample Space Of A Random Experiment In R (Programming)

How To Find The Sample Space Of A Random Experiment In R (Programming) Probability 4.1 Sample Spaces For a random experiment E, the set of all possible outcomes of E is called the sample space and is denoted by the letter S. For the coin-toss experiment, S would be the results

More information

Statistics 100A Homework 3 Solutions

Statistics 100A Homework 3 Solutions Chapter Statistics 00A Homework Solutions Ryan Rosario. Two balls are chosen randomly from an urn containing 8 white, black, and orange balls. Suppose that we win $ for each black ball selected and we

More information

The game of roulette is played by throwing a small ball onto a rotating wheel with thirty seven numbered sectors.

The game of roulette is played by throwing a small ball onto a rotating wheel with thirty seven numbered sectors. LIVE ROULETTE The game of roulette is played by throwing a small ball onto a rotating wheel with thirty seven numbered sectors. The ball stops on one of these sectors. The aim of roulette is to predict

More information

Answer Key for California State Standards: Algebra I

Answer Key for California State Standards: Algebra I Algebra I: Symbolic reasoning and calculations with symbols are central in algebra. Through the study of algebra, a student develops an understanding of the symbolic language of mathematics and the sciences.

More information

Lesson 1. Basics of Probability. Principles of Mathematics 12: Explained! www.math12.com 314

Lesson 1. Basics of Probability. Principles of Mathematics 12: Explained! www.math12.com 314 Lesson 1 Basics of Probability www.math12.com 314 Sample Spaces: Probability Lesson 1 Part I: Basic Elements of Probability Consider the following situation: A six sided die is rolled The sample space

More information

1. Probabilities lie between 0 and 1 inclusive. 2. Certainty implies unity probability. 3. Probabilities of exclusive events add. 4. Bayes s rule.

1. Probabilities lie between 0 and 1 inclusive. 2. Certainty implies unity probability. 3. Probabilities of exclusive events add. 4. Bayes s rule. Probabilities as betting odds and the Dutch book Carlton M. Caves 2000 June 24 Substantially modified 2001 September 6 Minor modifications 2001 November 30 Material on the lottery-ticket approach added

More information

Sample Space and Probability

Sample Space and Probability 1 Sample Space and Probability Contents 1.1. Sets........................... p. 3 1.2. Probabilistic Models.................... p. 6 1.3. Conditional Probability................. p. 18 1.4. Total Probability

More information

Sample Term Test 2A. 1. A variable X has a distribution which is described by the density curve shown below:

Sample Term Test 2A. 1. A variable X has a distribution which is described by the density curve shown below: Sample Term Test 2A 1. A variable X has a distribution which is described by the density curve shown below: What proportion of values of X fall between 1 and 6? (A) 0.550 (B) 0.575 (C) 0.600 (D) 0.625

More information

Statistics 100A Homework 1 Solutions

Statistics 100A Homework 1 Solutions Chapter 1 tatistics 100A Homework 1 olutions Ryan Rosario 1. (a) How many different 7-place license plates are possible if the first 2 places are for letters and the other 5 for numbers? The first two

More information

Chapter 5 Section 2 day 1 2014f.notebook. November 17, 2014. Honors Statistics

Chapter 5 Section 2 day 1 2014f.notebook. November 17, 2014. Honors Statistics Chapter 5 Section 2 day 1 2014f.notebook November 17, 2014 Honors Statistics Monday November 17, 2014 1 1. Welcome to class Daily Agenda 2. Please find folder and take your seat. 3. Review Homework C5#3

More information