You are on page 1of 18

Conditional Probability

STA281 Fall 2005

Denition

Often we are only interested in particular rows or columns of the table. Consider the newspaper example, and the question Of those that receive the morning paper, what proportion receive the afternoon paper? This question does not concern the entire population of households, it only concerns those who receive a morning paper. Probabilities that refer only to subsets of the population are called conditional probabilities. Recall the probability table we constructed M 0.10 0.50 0.60 Mc 0.20 0.20 0.40

A Ac

0.30 0.70 1.00

The question asked concerns only those who receive a morning paper, which is 60% of the entire population. We want to know, out of that 60%, what proportion receive the afternoon paper. To provide an intuitive feel for how this question is answered, suppose we sampled 100 people from the population. On average 60 of those people would receive the morning paper. Looking at the M column of the table, we see that of those 60, on average 50 receive only the morning paper while 10 receive the morning and afternoon paper. So 10 of the 60 people who receive the morning paper also receive the afternoon paper, so the conditional probability is 10/60 = 1/6. Usually we dont go through the argument concerning sampling a set of people and just divide the probabilities directly. There are 60% of the people who receive a morning paper, with 50% receiving only the morning paper and 10% receiving the afternoon paper. So 0.10/0.60 = 1/6 is the conditional probability of receiving an afternoon paper given one receives a morning paper. Mathematically, a conditional probability has two parts. First, a conditional probability only asks about a subset of the population, not the entire population. Second, a conditional probability asks some property of that subset. In our example question, the subset of interest was those who receive the morning paper, while the property we are interested in was receiving an afternoon paper. In general, we have a question of those who are in subset A, what is the probability they are in B. This question is translated into mathematical symbols as P (B |A), which is read the probability of B given A. Notice how we solved the problem. First, we found which of the individuals were in the subset of interest. This involved nding P (A), the unconditional probability of the subset. Then, within that subset, we found how many individuals had the property we were interested in. The result was P (B |A) = people in subset A that have property B people in subset A 1

Instead of writing this fraction in words, we can just use symbols. For the denominator, the people in subset A refers to P (A). For the numerator, the people must be subset A, but they must also have property B. Since both criteria must be satised (in subset A and have property B), the numerator is P (A B ), resulting in the formula P (B |A) = P (B A) P (A)

Mathematically, this formula is often used as the denition of conditional probability.

Recognizing Conditional Probabilities

Remember the key point about conditional probability is that we are only interested in a subset of the population. The rst step in evaluating a conditional probability is determining which outcomes we are interested in. In our example we were interested in people who received a morning paper. The second step is to identify the property of interest (in our example it was receiving an afternoon paper). After that you use the denition of conditional probability P (B |A) = P (B A)/P (A). In our example, the subset was receiving a morning paper while the property was receiving an afternoon paper. Thus, we were interested in nding P (A|M ). Whenever you see a probability stated or are asked for a probability, ask yourself two questions. First, Who is this statement about. In a conditional probability we are only interested in a subset of the population. It is important to determine which subset as soon as possible so we can proceed. Second, What are they asking about. That is, what property of the subset is the question or statement about. For example, suppose our population is all registered voters. Constrast the two questions What proportion of women are Democrats? and What proportion of voters are women Democrats. The rst statement does not ask about all registered voters, it only asks about women. Therefore it is a conditional probability. After deciding it only asks about women, we must that determine what exactly it wants to know about women. In this example, the property of interest is being Democratic. If W is the event voter is female and D is the event voter is a Democrat, the rst question asks for P (D|W ). The second question does not place any restriction on the population since it asks for the proportion of voters, not the proportion of any particular subset. The property it is interested in is whether a voter is a Democratic women. To be a democratic woman, a voter must be both a woman AND a democrat. Thus, the second question is asking for P (W D). These are separate questions, so you must recognize which one you are being asked. Of course, in any language there are multiple ways to ask the same question. The following questions are equivalent, all ask for the probability of receiving an afternoon paper in the set of outcomes where a morning paper was received. What proportion of those that receive a morning paper receive an afternoon paper? Given a person receives a morning paper, what is the probability they receive an afternoon paper. If someone receives a morning paper, what is the probability they receive an afternoon paper?

There are a number of ways to report the result P (A|M ) = 1/6 as well, such as 1/6 of those that receive a morning paper receive an afternoon paper. Given someone receives a morning paper, there is a 1/6 probability of receiving an afternoon paper. If someone receives a morning paper there is a 1/6 probability of receiving an afternoon paper. The probability table allows us to compute conditional probabilities such as P (A|M ) fairly easily, since we are just involved with one row or column of the table. More complicated conditional probabilities may be computed as well. For example, given that someone receives at least one of the papers, what is the probability they receive at most one of the papers? This is a conditional probability since we are interested only in those who receive at least one paper, not everyone. This subset of individuals includes 3 cells of our table, since receiving at least one paper involves the cells P (M A) = 0.10, P (M Ac ) = 0.50 and P (M c A) = 0.20 for a total of 80% of the population. Within that subset, we are interested in the property receive both papers. As with all conditional probabilities, we look at the individuals within the subset and try to determine which obey the property. Just looking at the cells which compose the subset, we nd only the cells P (M Ac ) and P (M c A) satisfy the property receive at most on the papers. These two boxes total 70% of the overall probability. The conditional probability is thus 0.70/0.80 = 7/8.

Using Conditional Probabilities

The denition of conditional probability is that P (B |A) = P (B A)/P (A). With some algebra, we nd P (B A) = P (B |A)P (A). This formula allows us to take conditional probabilities as given information and complete a probability table. Suppose in a small university, students work in either the dorms or the library. 70% of the students do some work in the library while 10% do work only in the dorms. Of those who work in the library, 30% also do work in the dorms. Use this information to construct a probability table. Students may either work in dorms or the library. Since they may either work or not work in the library and work or not work in dorms, we may construct a probability table L D Dc 1.00 We are given the information that 70% of the students do some work in library. Since this information was given without any reference to whether or not those students work in the dorms, it is the overall proportion of students that work in library, including students who work in both and students who work only in the library. It is therefore placed in the margins of the table. We are also given that 10% work only in the dorms. This is one of the 4 core cells of the table, since it involves students who work in the dorms and also do not work in the library. We ll those values in the table. Lc

L D Dc 0.70

Lc 0.10 1.00

Before working with the conditional probability, we may use some arithmetic to ll in some cells of the table. If 70% work in the library, then the other 30% do not work in library. We may also conclude that the proportion who work in neither is 20%. L D Dc 0.70 Lc 0.10 0.20 0.30

1.00

To complete the table, we must use the conditional probability given in the problem. We are given the information that of those who work in the library, 30% do work in the dorms. This is the conditional probability, not the probability of those that work in both. It is a conditional probability because it only discusses those who work in the library, not everyone. We are conditioning on people who work in the library (70% of the students). We are given that 30% of those 70% also work in the dorm. 30% of 70% may be found by multiplying the probabilities, so (0.30)(0.70) = 0.21 work in the dorm and the library. Mathematically, we have been given P (D|L) = 0.3, and we have found P (D L) = P (D|L)P (L) = (0.30)(0.70) = 0.21. We may complete the table. L 0.21 0.49 0.70 Lc 0.10 0.20 0.30

D Dc

0.31 0.69 1.00

Since we have computed the probabilities of all the outcomes, we may compute any probabilities from the table. What is the probability a student works only in the library? 0.49 What is the probability a student works in the dorms? 0.31 What is the probability a student works either in the dorms or the library? (Remember that in probability or means one or the other or both) 0.21 + 0.49 + 0.10 = 0.80 What is the probability a student works in neither the library nor the dorms? 0.20 What is the probability a student that does not work in the library works in the dorms? 0.10/0.30 = 1/3

More dicult problems

In the dorm and library example, the conditional probability provided allowed the direct computation of a cell probability. Problems involving conditional probability may be more dicult.

4.1

Applicants Example

Suppose a company is looking at applicants for a position. The position requires (A) experience and (B) a masters degree. Suppose that 90% of the applicants have at least one of (A) or (B). Suppose further that, of those applicants with a least one of (A) or (B), 50% have both. Of those applicants with exactly one of (A) or (B), 2/3 have (A). We can construct a probability table and ll in one of the cells directly. Since 90% of the applicants have at least one of (A) or (B), we may determine by the complement rule that 10% have neither. This results in the table A B Bc Ac 0.10 1.00 To ll in the remainder of the table, we have to use the conditional probabilities. We are given that 50% of the people with at least one have both. That is, 50% of the 90% that have at least one. We can therefore solve 50% of 90% is (0.5)(0.9) = 0.45 is the probability an individual has both. A 0.45 Ac 0.10 1.00 The remaining cell must be found be utilizing that 2/3 of the applicants with exactly one of (A) or (B) have (A). Although we are not given the proportion of individuals with exactly one directly, we can derive it to be 1 0.45 0.10 = 0.45 (the four core cells must sum to 1, and we have been given all cells except those corresponding to exactly one). Since 2/3 of those 0.45% have (A), we conclude P (A B c ) = 0.30 (A B c is the only cell in exactly one that has A) and complete the table through arithmetic. A 0.45 0.30 0.75 Ac 0.15 0.10 0.25

B Bc

B Bc

0.60 0.40 1.00

4.2

Professors and their Stories Example

Here is another example. Suppose that 10% of professors can think of decent stories to go with their exam problems. Of those that can, 60% can think of funny stories. Suppose also that, of those professors whose stories are at least one of funny/decent, 75% of the professors write funny stories. Construct a probability table. The rst two probabilities allow us to complete part of the table. D 0.06 0.04 0.10 Dc

F Fc

0.90

1.00

To ll in the remaining entries, we must use the information that of those professors whose stories are at least one of funny/decent, 75% of the professors write funny stories. Unfortunately, with the table so far we cannot compute the probability being at least one of funny or decent, because we are missing the cell P (Dc F ). Lets just ll in this unknown quantity with x and see if we can make progress in solving for x. D 0.06 0.04 0.10 Dc x 0.90 1.00

F Fc

In terms of the unknown x, the proportion of professors whose stories are at least one of funny or decent is 0.06 + 0.04 + x = 0.10 + x. We are given P (F |at least one) = P (F at least one) 0.06 + x = = 0.75 P (at least one) 0.10 + x

Solving for x, we nd x = 0.06, so we may complete the table. D 0.06 0.04 0.10 Dc 0.06 0.84 0.90

F Fc

0.12 0.88 1.00

As with all probability tables, once the table is completed we may compute any probability. What proportion of professors write both decent and funny stories? 0.06 Of the professors with funny stories, what proportion write decent stories? 0.06/0.12 = 0.5 Of those professors whose stories are exactly one of funny or decent, what proportion write funny stories? 0.06/0.10 = 0.6 6

Independence

If P (A|B ) is dierent than P (A|B c ), than A and B are related. Return the newspaper example. We nd P (A|M ) = 1/6 while P (A|M c ) = 1/3. People who receive the morning paper are less likely to receive the afternoon people than people who do not receive the morning paper. Since the probability the event A occurs depends on whether or not M occurred, we call these events dependent. There are many events of this form. Any events with a causal relationship, for example, will be of this form. Individuals with a Ph.D. are much more likely to get a faculty position at a research university than individuals who do not have a Ph.D., the simple reason being a Ph.D. is a requirement for such a faculty position. Indirect links between variables also create dependence. An elementary school student with large feet is more likely to read well. Foot size and reading ability have no causal link, but children with big feet tend to be older, and older children tend to read better than younger children. All these types of relationships between variables result in dependent events. Much of science is concerned with dependence. In medicine, for example, we could like to know whether administering a treatment to a patient increases the patients chance of recovery. Occasionally two variables are unrelated. If you ip a fair coin twice, the coin has no memory. Getting a head on the rst ip has no eect on whether a head appears in the second ip. Furthermore, the probability of heads is always 0.5. If H1 is the event heads on the rst ip and H2 c ) = 0.5. They are the is the event heads on the second ip, then P (H2 |H1 ) = 0.5 and P (H2 |H1 same probability. The result of the rst ip is not aecting the probability of heads on the second ip. Events A and B where P (A|B ) = P (A|B c ) are called independent events. Essentially, whether or not B occurred does not aect the probability A occurred. The purpose of this section is to derive some special properties of independent events. With the information P (A|B ) = P (A|B c ), we can derive some equivalent denitions of independence. Recall the Law of Total Probability P (A) = P (A Using the rule for intersections P (A) = P (A|B )P (B ) + P (A|B c )P (B c ) Now using the assumed information P (A|B ) = P (A|B c ) P (A) = P (A|B )P (B ) + P (A|B )P (B c ) P (A) = P (A|B ) [P (B ) + P (B c )] B ) + P (A Bc)

P (A) = P (A|B ) This equivalent denition of independence states that the overall probability of A, P (A), is the same as the conditional probability of A given B , P (A|B ) (one could also show P (A) = P (A|B c ). If you know the overall probability A, knowing whether or not B occurred does not change that probability. Another equivalent denition may be found by using the rule for intersections 7

P (A

B ) = P (A|B )P (B ) = P (A)P (B )

This third denition is the one used for mathematical purposes. The reason is that the conditional probability is a fraction, and thus there is the possibility of dividing by zero. The equation above present no such problems. If P (A) and P (B ) are both greater than 0, then all three denitions are equivalent. However, if P (A) = 0 or P (B ) = 0, then the rst two denitions (P (A|B ) = P (A|B c ) and P (A|B ) = P (A)) might result in division by zero problems. To verify independence in this course, you must show the third denition, that P (A B ) = P (A)P (B ). For an example, reconsider the newspaper example. If you were asked are the events M and A independent?, you should check 0.10 = P (M A) = P (M )P (A) = (0.6)(0.3) = 0.18

Since the equality required for independence does not hold, the events are dependent, not independent. Alternatively, suppose a probability table has A 0.08 0.32 0.40 Ac 0.12 0.48 0.60

B Bc

0.20 0.80 1.00

In this example, 0.08 = P (A and thus the events are independent. P (A|M c ) are largely unrelated. B ) = P (A)P (B ) = (0.40)(0.20) = 0.08

The Relationship between Disjoint and Independent

The short answer is that there is no relationship between two disjoint events and two independent events. They are separate denitions, and they are useful in dierent scenarios. Disjoint events are dened as events A and B such that A B = . Disjoint events are useful in that they simplify the rule for unions. In general the rule for unions states P (A If A and B are disjoint, then P (A B ) = P (A) + P (B ) P (A B)

B ) = P () = 0 and thus the union rule simplies to P (A B ) = P (A) + P (B )

Remember, you need the disjoint assumption to make the simplication (technically you only need P (A B ) = 0, which you can derive from the disjoint assumption). 8

Independence is dened as P (A rule for intersections. In general,

B ) = P (A)P (B ), and thus results in a simplication of the

P (A

B ) = P (A|B )P (B )

If A and B are independent, this simplies to P (A B ) = P (A)P (B )

Remember you have to have to have the independence assumption to make this simplication. Independent events are sometimes disjoint and sometimes not, while disjoint events are sometimes independent and sometimes not. You have to know your purpose and check the appropriate denition.

Sample Questions

The following questions are divided into three levels of diculty (all relative). The easiest problems contain no conditional probabilities in the given information, but do ask you to compute conditional probabilities from the table. The medium problems have conditional probabilities in the given information as well, so you must use the conditional probabilities to construct the table. The hardest problems often require some type of algebra to construct the probability table. 1. (Easiest) In a study of 3756 court cases, Kalven and Zeisell (1966) recorded the jury panels decision. In addition, they separately asked the judge how he or she would have decided the same case if there were no jury panel. They found that the judge would not have convicted in 17% of the cases both the judge and the jury would have convicted in 64% of the cases the judge and jury disagreed on whether to convict in 22% of the cases. a) Construct a probability table. b) What is the probability that neither the judge nor the jury would convict? c) Given the panel convicts, what is the probability the judge would also convict? d) Are the events Judge convicts and Jury Panel convicts disjoint? Why or why not? 2. (Easiest) Suppose in a particular company, employees either use workstations or PCs (could be both or neither). The probability an employee uses a PC is 0.95 and the probability an employee uses a workstation is 0.20. The probability an employee uses both is 0.19. a) Construct a probability table b) What is the probability an employee who does not use a PC uses a workstation? c) What is the probability an employee uses exactly one of the machines? d) Given an employee uses at least of the machines, what is the probability they use a workstation? e) Are the events use a PC and use a workstation disjoint? Why or why not? 9

3. (Easiest) Suppose in a certain county 30% of the voters are Democrat (the remainder are Republican). Suppose further that 50% of the voters are male, and that 40% of the voters are male Republicans. a) Construct a probability table b) Given a voter is male, what is the probability they are a Republican? c) Given a voter is female, what is the probability they are a Republican? d) Given a voter is Republican, what is the probability they are male? 4. (Easiest) A clinical trial explores the eect of two drugs, A and B. 50% of the patients in the study are assigned to drug A. 20% of the patients are assigned to drug B and are not cured. 10% of the patients are assigned to drug A and are cured. a) Construct a probability table. b) What proportion of people in the study are cured? c) Of those assigned to drug B, what proportion of patients are cured? 5. (Easiest) A muscle cell has 2 sites where electricity can conduct into the cell. Every time the body intends to stimulate the muscle cell, an attempt is made to channel electricity through each of the 2 sites. The probability both sites conduct electricity is 0.4. The probability that exactly one site conducts electricity is 0.4. Finally, the probability site 1 conducts electricity is 0.7. a) Construct a probability table. b) What is the probability site 2 conducts electricity? c) Given at least one of the sites conducts electricity, what is the probability both sites conduct electricity? 6. (Medium) Suppose a professor only writes two types of exams, easy or hard. Suppose that 90% of the exams are hard. There is a 80% chance that the rst question on a hard exam will be dicult, and a 15% chance that the rst question on an easy exam will be dicult. a) Construct a probability table. b) On a given exam, what is the probability it is a hard exam that contains a non-dicult rst question? c) On a given exam, what is the probability that the rst question will be non-dicult? d) Suppose the rst question on a given exam is non-dicult. Given this information, what is the probability the exam is hard. e) are the events easy exam and dicult rst question independent? 7. (Medium) Suppose a couple of your friends go to a restaurant on either Tuesday or Saturday each week (not both). 30% of the time they go on Tuesday. On Tuesdays, the probability of receiving good service is 0.8. On Saturdays, the probability of receiving good service is only 0.1. a) Construct a probability table.

10

b) What is the probability that they went to the restaurant on Tuesday and received good service there? c) What is the probability they received good service at the restaurant last week? d) Suppose you dont know which day they went last week, but they tell you they received good service at the restaurant. What is the probability that they went on Tuesday? 8. (Medium) Suppose at a particular park visitors can hike or raft. The probability that someone will raft is 0.40. The probability that someone wont hike is 0.10. Given someone hikes, the probability they raft is 0.40. a) Construct a probability table. b) What is the probability of rafting? c) What is the probability of not hiking? d) What is the probability of someone participating in exactly one? e) What is the probability of someone participating in at least one? f) Of those who do not participate in both, what proportion participate in neither? 9. (Medium) Suppose that 10% of all cases involving an insanity plea go to trial. Of those that go to trial, the defendent is found guilty in 95% of the cases. Of those that do not go to trial, the defendant is found guilty (through a plea bargain) in 40% of the cases. a) Construct a probability table. b) What proportion of defendants are found guilty? c) Given a defendent is found guilty, what is the probability their case went to trial? d) What proportion of cases that go to trial do not result in a guilty plea? 10. (Medium) A small university has an applicant pool that is 60% male. The university admits 25% of the male applicants and 75% of the female applicants. a) Construct a probability table showing the admissions at the university. b) Of admitted students, what proportion are female? c) Does this table provide evidence in favor of sexual discrimination in admissions at the university? (this part will only be graded on eort, no answer will be marked wrong, but you have to answer something) 11. (Hardest) Investment advisors might subscribe to the Wall Street Journal or Investors Business Daily. Suppose 0.80 subscribe to the WSJ. Of those that subscribe to the WSJ, 0.75 also subscribe to IBD. Also, 0.20 of those that subscribe to exactly one of the papers subscribe to IBD. a) Construct a probability table. b) What is the probability an investment advisor subscribe to neither paper? c) What proportion of investment advisors subscribe to IBD? d) Given an investment advisor receives IBD, what is the probability they also receive the WSJ? 11

e) Suppose an investment advisor receives at least one of the papers. What is the probability they receive the WSJ? 12. (Hardest) Suppose there are two restaurants in a small town, Abelards Attic and Baltazars Buet. Suppose further that 20% of the people in the town dine at neither restaurant. Of those that go to at least one of the restaurants, 75% dine at both. Of those that dine at exactly one of the restaurants, 75% dine at Abelards. a) Construct a probability table. b) What proportion dine at Baltazars? c) Of those that dine at Baltazars, what proportion dine at Abelards? 13. (Hardest) Let A and B be events. Suppose that P (A) = 0.3 and P (B c |A) = 0.2. Suppose further that given exactly one of two events occurs, 40% of the time it is B that occurred. a) Construct a probability table. b) Given that at least one of the events occurred, what is the probability B occurred? c) What is P (B |A)? 14. (Hardest) Let A and B be events. Suppose P (A B c ) = 0.4. Suppose also that, conditional on exactly one of the events occuring, the probability A occurs is 0.8. Finally, suppose that the probability neither event occurs given B did not occur is 1/9. a) Construct a probability table. b) What is the probability that at least one of the events occurs? c) Given that at most one of the events occur, what is the probability A occurs? 15. (Hardest) Let A and B be events. Suppose that P (A) = 0.4. Given that at least one of the events happens, there is a 1/3 chance that Ac occurs. Given that B c occurs, there is a 1/5 chance that A occurs. a) Construct a probability table. b) What is P (Ac )? c) What is P (B |A)?

Solutions for Sample Problems


1. (Easiest) In a study of 3756 court cases, Kalven and Zeisell (1966) recorded the jury panels decision. In addition, they separately asked the judge how he or she would have decided the same case if there were no jury panel. They found that the judge would not have convicted in 17% of the cases both the judge and the jury would have convicted in 64% of the cases the judge and jury disagreed on whether to convict in 22% of the cases. a) Construct a probability table.

12

P Pc

J 0.64 0.19 0.83

Jc 0.03 0.14 0.17

0.67 0.33 1.00

b) What is the probability that neither the judge nor the jury would convict? 0.14 c) Given the panel convicts, what is the probability the judge would also convict? 0.64/0.67 = 0.9552 d) Are the events Judge convicts and Jury Panel convicts disjoint? Why or why not? They are not disjoint, they occur together with probability 0.64. 2. (Easiest) Suppose in a particular company, employees either use workstations or PCs (could be both or neither). The probability an employee uses a PC is 0.95 and the probability an employee uses a workstation is 0.20. The probability an employee uses both is 0.19. a) Construct a probability table. PC 0.19 0.76 0.95 P Cc 0.01 0.04 0.05

WS W Sc

0.20 0.80 1.00

b) What is the probability an employee who does not use a PC uses a workstation? 0.01/0.05 = 0.20 c) What is the probability an employee uses exactly one of the machines? 0.76 + 0.01 = 0.77 d) Given an employee uses at least of the machines, what is the probability they use a workstation? 0.20/(0.19 + 0.01 + 0.76) = 0.2083 e) Are the events use a PC and use a workstation disjoint? Why or why not? No, they occur together with probability 0.19. 3. (Easiest) Suppose in a certain county 30% of the voters are Democrat (the remainder are Republican). Suppose further that 50% of the voters are male, and that 40% of the voters are male Republicans. a) Construct a probability table Let D, R, M , and F be the events Democrat, Republican, Male and Female. D 0.10 0.20 0.30 R 0.40 0.30 0.70

M F

0.50 0.50 1.00

b) Given a voter is male, what is the probability they are a Republican? 0.40/0.50=0.80 c) Given a voter is female, what is the probability they are a Republican? 0.30/0.50=0.60 d) Given a voter is Republican, what is the probability they are male? 0.40/0.70=4/7=0.5714 13

4. (Easiest) A clinical trial explores the eect of two drugs, A and B. 50% of the patients in the study are assigned to drug A. 20% of the patients are assigned to drug B and are not cured. 10% of the patients are assigned to drug A and are cured. a) Construct a probability table. Assigned A 0.10 0.40 0.50 Assigned B 0.30 0.20 0.50

Cured Not cured

0.40 0.60 1.00

b) What proportion of people in the study are cured? 0.40 c) Of those assigned to drug B, what proportion of patients are cured? 0.30/0.50 = 0.60 5. (Easiest) A muscle cell has 2 sites where electricity can conduct into the cell. Every time the body intends to stimulate the muscle cell, an attempt is made to channel electricity through each of the 2 sites. The probability both sites conduct electricity is 0.4. The probability that exactly one site conducts electricity is 0.4. Finally, the probability site 1 conducts electricity is 0.7. a) Construct a probability table. Site 1 conducts 0.40 0.30 0.70 Site 1 doesnt conduct 0.10 0.20 0.30

Site 2 conducts Site 2 doesnt conduct

0.50 0.50 1.00

b) What is the probability site 2 conducts electricity? 0.50 c) Given at least one of the sites conducts electricity, what is the probability both sites conduct electricity? 0.40/0.80 = 0.5 6. (Medium) Suppose a professor only writes two types of exams, easy or hard. Suppose that 90% of the exams are hard. There is a 80% chance that the rst question on a hard exam will be dicult, and a 15% chance that the rst question on an easy exam will be dicult. a) Construct a probability table. Let E be the event an exam is easy. E c is the event that the exam is hard. Let D be the event the rst question is dicult. E 0.015 0.085 0.100 Ec 0.720 0.180 0.900

D Dc

0.735 0.265 1.000

14

b) On a given exam, what is the probability it is a hard exam that contains a non-dicult rst question? 0.180 c) On a given exam, what is the probability that the rst question will be non-dicult? 0.265 d) Suppose the rst question on a given exam is non-dicult. Given this information, what is the probability the exam is hard. 0.180/0.265 = 0.6792 e) The events are dependent, since 0.015 = P (E D) = P (E )P (D) = (0.100)(0.735) = 0.0735

7. (Medium) Suppose a couple of your friends go to a restaurant on either Tuesday or Saturday each week (not both). 30% of the time they go on Tuesday. On Tuesdays, the probability of receiving good service is 0.8. On Saturdays, the probability of receiving good service is only 0.1. a) Construct a probability table. T 0.24 0.06 0.30 Tc 0.07 0.63 0.70

GS GS c

0.31 0.69 1.00

b) What is the probability that they went to the restaurant on Tuesday and received good service there? 0.24 c) What is the probability they received good service at the restaurant last week? 0.31 d) Suppose you dont know which day they went last week, but they tell you they received good service at the restaurant. What is the probability that they went on Tuesday? 0.24/0.31 = 0.7742

8. (Medium) Suppose at a particular park visitors can hike or raft. The probability that someone will raft is 0.40. The probability that someone wont hike is 0.10. Given someone hikes, the probability they raft is 0.40. a) Construct a probability table. H 0.36 0.54 0.90 Hc 0.04 0.06 0.10

R Rc

0.40 0.60 1.00

15

b) What is the probability of rafting? 0.40 c) What is the probability of not hiking? 0.10 d) What is the probability of someone participating in exactly one? 0.54 + 0.04 = 0.58 e) What is the probability of someone participating in at least one? 0.36 + 0.54 + 0.04 = 0.94 f) Of those who do not participate in both, what proportion participate in neither? 0.06/0.64 = 0.0938

9. (Medium) Suppose that 10% of all cases involving an insanity plea go to trial. Of those that go to trial, the defendent is found guilty in 95% of the cases. Of those that do not go to trial, the defendant is found guilty (through a plea bargain) in 40% of the cases. a) Construct a probability table. Let T be the event go to trial and G be the event found guilty. T 0.095 0.005 0.100 Tc 0.360 0.540 0.900

G Gc

0.455 0.545 1.000

b) What proportion of defendants are found guilty? 0.455 c) Given a defendent is found guilty, what is the probability their case went to trial? 0.095/0.455=0.2088 d) What proportion of cases that go to trial do not result in a guilty plea? 0.005/0.100=0.05 10. (Medium) A small university has an applicant pool that is 60% male. The university admits 25% of the male applicants and 75% of the female applicants. a) Construct a probability table showing the admissions at the university. Male 0.15 0.45 0.60 Female 0.30 0.10 0.40

Admitted Not admitted

0.45 0.55 1.00

b) Of admitted students, what proportion are female? 0.30/0.45 = 2/3 c) Does this table provide evidence in favor of sexual discrimination in admissions at the university? (this part will only be graded on eort, no answer will be marked wrong, but you have to answer something) Any answer will be graded as correct. Certainly a higher proportion of female applicants are admitted than male applicants. This indicates there is some dierence between how men and women work through way through the admission process. However, while this dierence might be discrimination in admissions, it could also be caused by a third variable, here unobserved, that dierentiates between men and women. The handout on Simpsons paradox discusses this in more detail. 16

11. (Hardest) Investment advisors might subscribe to the Wall Street Journal or Investors Business Daily. Suppose 0.80 subscribe to the WSJ. Of those that subscribe to the WSJ, 0.75 also subscribe to IBD. Also, 0.20 of those that subscribe to exactly one of the papers subscribe to IBD. a) Construct a probability table. W SJ 0.60 0.20 0.80 W SJ c 0.05 0.15 0.20

IBD IBDc

0.65 0.35 1.00

b) What is the probability an investment advisor subscribes to neither paper? 0.15 c) What proportion of investment advisors subscribe to IBD? 0.35 d) Given an investment advisor receives IBD, what is the probability they also receive the WSJ? 0.60/0.65 = 0.9231 e) Suppose an investment advisor receives at least one of the papers. What is the probability they receive the WSJ? P(WSJ at least one) = 0.60/(0.60+0.20+0.05) = 0.60/0.85 = 0.7059 12. (Hardest) Suppose there are two restaurants in a small town, Abelards Attic and Baltazars Buet. Suppose further that 20% of the people in the town dine at neither restaurant. Of those that go to at least one of the restaurants, 75% dine at both. Of those that dine at exactly one of the restaurants, 75% dine at Abelards. a) Construct a probability table. A 0.60 0.15 0.75 Ac 0.05 0.20 0.25

B Bc

0.65 0.35 1.00

b) What proportion dine at Baltazars? 0.65 c) Of those that dine at Baltazars, what proportion dine at Abelards? 0.60/0.65 = 0.9231 13. (Hardest) Let A and B be events. Suppose that P (A) = 0.3 and P (B c |A) = 0.2. Suppose further that given exactly one of two events occurs, 40% of the time it is B that occurred. a) Construct a probability table. A 0.24 0.06 0.30 17 Ac 0.04 0.66 0.70

B Bc

0.28 0.72 1.00

b) Given that at least one of the events occurred, what is the probability B occurred? 0.28/0.34 = 0.8235 c) What is P (B |A)? 0.24/0.30 = 0.8 14. (Hardest) Let A and B be events. Suppose P (A B c ) = 0.4. Suppose also that, conditional on exactly one of the events occuring, the probability A occurs is 0.8. Finally, suppose that the probability neither event occurs given B did not occur is 1/9. a) Construct a probability table. A 0.45 0.40 0.85 Ac 0.10 0.05 0.15

B Bc

0.55 0.45 1.00

b) What is the probability that at least one of the events occurs? 0.95 c) Given that at most one of the events occur, what is the probability A occurs? 0.40/0.55 = 0.7273 15. (Hardest) Let A and B be events. Suppose that P (A) = 0.4. Given that at least one of the events happens, there is a 1/3 chance that Ac occurs. Given that B c occurs, there is a 1/5 chance that A occurs. a) Construct a probability table. A 0.30 0.10 0.40 Ac 0.20 0.40 0.60

B Bc

0.50 0.50 1.00

b) What is P (Ac )? 0.60 c) What is P (B |A)? 0.30/0.40 = 0.75

18

You might also like