HW 5_solutions. Problem 1 Let’s modify Problem 7 (page 23) to a more general test. Assume a test has a probability p of indicating the disease among patients.

Slides:



Advertisements
Similar presentations
Day 16 More on conditional probability, independence and total probability formula.
Advertisements

Chapter 4 Probability: Probabilities of Compound Events
3.3 Conditional Probability 侯如恩. Suppose that each of two teams is to produce an item, and that the two items produced will be rated as either.
1 Chapter 3 Probability 3.1 Terminology 3.2 Assign Probability 3.3 Compound Events 3.4 Conditional Probability 3.5 Rules of Computing Probabilities 3.6.
COUNTING AND PROBABILITY
Copyright © Cengage Learning. All rights reserved. 8.6 Probability.
ST3236: Stochastic Process Tutorial TA: Mar Choong Hock
Probability and Sampling: Part I. What are the odds? What are the odds of finding a newspaper at the news stand? New York times Village Voice Jerusalem.
1 Introduction to Stochastic Models GSLM Outline  course outline course outline  Chapter 1 of the textbook.
1 Probability Part 1 – Definitions * Event * Probability * Union * Intersection * Complement Part 2 – Rules Part 1 – Definitions * Event * Probability.
Solutions to the HW4 problems (from lecture 5). Problem 1: Box 1 contains 3 red and 5 white balls, while box 2 contains 4 red and 2 white balls. A ball.
HW 5_solutions. Problem 1 Let’s modify Problem 7 (page 23) to a more general test. Assume a test has a probability p of indicating the disease among patients.
Chapter 4: Probability (Cont.) In this handout: Venn diagrams Event relations Laws of probability Conditional probability Independence of events.
P robability Sample Space 郭俊利 2009/02/27. Probability 2 Outline Sample space Probability axioms Conditional probability Independence 1.1 ~ 1.5.
Fundamentals of Probability
5.3A Conditional Probability, General Multiplication Rule and Tree Diagrams AP Statistics.
Conditional Probability. Conditional Probability of an Event Illustrating Example (1): Consider the experiment of guessing the answer to a multiple choice.
Sets, Combinatorics, Probability, and Number Theory Mathematical Structures for Computer Science Chapter 3 Copyright © 2006 W.H. Freeman & Co.MSCS SlidesProbability.
Lecture Slides Elementary Statistics Twelfth Edition
2 Probability. A. A basketball player shoots three free throws. What are the possible sequences of hits (H) and misses (M)? H H H - HHH M … M M - HHM.
Chapter 5: Probability Distribution What is Probability Distribution? It is a table of possible outcomes of an experiment and the probability of each outcome.
Special Topics. General Addition Rule Last time, we learned the Addition Rule for Mutually Exclusive events (Disjoint Events). This was: P(A or B) = P(A)
CIS 2033 based on Dekking et al. A Modern Introduction to Probability and Statistics Instructor Longin Jan Latecki C2: Outcomes, events, and probability.
Copyright © Cengage Learning. All rights reserved. 8.6 Probability.
12/7/20151 Math b Conditional Probability, Independency, Bayes Theorem.
(c) 2007 IUPUI SPEA K300 (4392) Probability Likelihood (chance) that an event occurs Classical interpretation of probability: all outcomes in the sample.
Sixth lecture Concepts of Probabilities. Random Experiment Can be repeated (theoretically) an infinite number of times Has a well-defined set of possible.
Natural Language Processing Giuseppe Attardi Introduction to Probability IP notice: some slides from: Dan Jurafsky, Jim Martin, Sandiway Fong, Dan Klein.
Fall 2002Biostat Probability Probability - meaning 1) classical 2) frequentist 3) subjective (personal) Sample space, events Mutually exclusive,
Chapter 15 Week 5, Friday. Population Cross-tabs OhioTexasNew York(total) Like the Song Don’t Like the Song (total) Suppose.
Chapter three Conditional Probability and Independence
9-7Independent and Dependent Events 9-7 Independent and Dependent Events (pg ) Indicator: D7.
Stat 1510: General Rules of Probability. Agenda 2  Independence and the Multiplication Rule  The General Addition Rule  Conditional Probability  The.
Starter P(A) = ½, P(B) = ⅓ and P(A B) = p Find p if:
Discrete Math Section 16.3 Use the Binomial Probability theorem to find the probability of a given outcome on repeated independent trials. Flip a coin.
STATISTICS 6.0 Conditional Probabilities “Conditional Probabilities”
Warm Up: Quick Write Which is more likely, flipping exactly 3 heads in 10 coin flips or flipping exactly 4 heads in 5 coin flips ?
Conditional Probability If two events are not mutually exclusive, the fact that we know that B has happened will have an effect on the probability of A.
S ECTION 7.2: P ROBABILITY M ODELS. P ROBABILITY M ODELS A Probability Model describes all the possible outcomes and says how to assign probabilities.
Question 1 Q. Four cards are drawn from a pack of 52 cards. Find the probability of, 1. They are King, Queen, Jack, & Ace 2. First is King, then Queen,
3-1 Copyright © 2014, 2011, and 2008 Pearson Education, Inc.
PROBABILITY 1. Basic Terminology 2 Probability 3  Probability is the numerical measure of the likelihood that an event will occur  The probability.
Mutually Exclusive & Independence PSME 95 – Final Project.
Chapter 2 Probability. Motivation We need concept of probability to make judgments about our hypotheses in the scientific method. Is the data consistent.
Concepts of Probability Introduction to Probability & Statistics Concepts of Probability.
Probability and Statistics for Computer Scientists Second Edition, By: Michael Baron Chapter 2: Probability CIS Computational Probability and Statistics.
Probability and Statistics for Computer Scientists Second Edition, By: Michael Baron Chapter 2: Probability CIS Computational Probability and.
CHAPTER 5 Probability: What Are the Chances?
Chapter 3: Probability Topics
Probability Tree for tossing a coin.
Natural Language Processing
Probabilities.
Statistics for Business and Economics
Probability Rules Chapter 15.
Basic Probability aft A RAJASEKHAR YADAV.
Natural Language Processing
Probability Rules Chapter 15.
Introduction to Probability and Statistics
Introduction to Probability
13-5 Conditional Probability
Lecture 1: Solutions to the Self-Test .
Probability Trees By Anthony Stones.
Probability and Statistics for Computer Scientists Second Edition, By: Michael Baron Chapter 2: Probability CIS Computational Probability and.
Statistical Inference for Managers
COUNTING AND PROBABILITY
the addition law for events that are not mutually exclusive
Chapter 5 – Probability Rules
Chapter 1 Probability Spaces
Presentation transcript:

HW 5_solutions

Problem 1 Let’s modify Problem 7 (page 23) to a more general test. Assume a test has a probability p of indicating the disease among patients actually having a disease. Assume also that the test indicates the presence of the diseases with probability 1-p among the patients not having the disease (false positive). Finally, suppose the incident rate of the disease is r. (a) Find the probability that the person tested positive actually has the disease. Hint: Consider the events: T + = “tested positive” and A = “Has a disease”. You have to find P(A|T + ). (b)If p = 0.95 and r =0.005, what is the probability of having a disease being tested positive? (c) Leaving p = 0.95, find how the result depends on r (use Mathematica to make a plot). At what r the test reliably indicates the disease? A= “tested positive”. P(T + ) = p*r +(1-r) (1-p). P(A|T + ) = p*r/ [p*r + (1-r)(1-p)] = HW problems

Problem 2 Formula P(AUB) = P(A) + P(B) – P(AB) can be generalized for any number of events. Thus for the union of three events the result is P(AUBUCU) = P(A) + P(B) +P( C) – P(AB) – P(AC) – P(BC) +P (ABC) Suppose that A and B are independent. B and C are mutually exclusive, and A and C are independent. If P(AUBUCU) = 0.9, P(B) = 0.5 and P© = 0.3, find P(A). Solution: 0.9 = x – 0.3 x – 0.5 x; x = 0.5.

Problem 3 A loaded coin with p(H) = ¾ is tossed twice. Let the events A, B and C be respectively “first toss is heads”, “second toss is heads” and “tosses show the same face”. (a) Are A and B independent? (b) Are A and BUC independent? ( c) are A,B and C independent? Solution

A = HH + HT; B = HH + TH; C = HH + TT. P(A) = ¾; P(B) = ¾; P(C) = 5/8. (a)P(AB) = P(HH) = 9/16 = ¾ ¾ = P(A) P(B) => A and B are independent (b)P(BUC) = 13/16. P(A(BUC)) = P(HH) = 9/16 3 / 4 * 13/16 => A and BUC are not independent Both are heads (c) P(ABC)= P(HH) =9/16 P(A) P(B) P(C) => the events are not independent TossesProbability HH9/16 TH3/16 HT3/16 TT1/16

Problem 4 : Your friend flips three coins and tells you that there is at least two heads. What is the probability that the first coins is heads? Solution: A = “At least two heads”; B = “The first is heads”. P(A) = 1 – P(at least two tails ) = 1/2. (due to symmetry). P(AB) = P(HHT or HTH or HHH) = 3/8. P(B|A) = ¾.

Problem 5: Suppose that the probability that married man votes is 0.45, the probability a married woman votes is 0.4 and the probability a woman votes given her husband votes is 0.6. What is the probability (a) that both vote (b) a man votes given that his wife does? A = man votes; B = woman votes; P(A) = 0.45; P(B) = 0,4; P(B|A) = 0.6 P(AB) = P(B|A)P(A) = 0.6*0.45 = 0.27 P(A|B) = P(AB)/P(B)= 0.27/0.4=0.675 A B AB