Conditional Probability, Bayes Theorem, Independence and Repetition of Experiments Chris Massa.

Slides:



Advertisements
Similar presentations
MOMENT GENERATING FUNCTION AND STATISTICAL DISTRIBUTIONS
Advertisements

Chapter 2 Probability. 2.1 Sample Spaces and Events.
Chapter 5 Some Important Discrete Probability Distributions
Chapter 5 Discrete Random Variables and Probability Distributions
Basic Business Statistics, 11e © 2009 Prentice-Hall, Inc. Chap 5-1 Chapter 5 Some Important Discrete Probability Distributions Basic Business Statistics.
COUNTING AND PROBABILITY
ฟังก์ชั่นการแจกแจงความน่าจะเป็น แบบไม่ต่อเนื่อง Discrete Probability Distributions.
Business Statistics, A First Course (4e) © 2006 Prentice-Hall, Inc. Chap 5-1 Chapter 5 Some Important Discrete Probability Distributions Statistics for.
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 5-1 Chapter 5 Some Important Discrete Probability Distributions Statistics.
Intro to Bayesian Learning Exercise Solutions Ata Kaban The University of Birmingham 2005.
Probability Dr. Deshi Ye Outline  Introduction  Sample space and events  Probability  Elementary Theorem.
Chapter 4 Discrete Random Variables and Probability Distributions
Visualizing Events Contingency Tables Tree Diagrams Ace Not Ace Total Red Black Total
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 5-1 Chapter 5 Some Important Discrete Probability Distributions Statistics.
Discrete Probability Distributions
© 2013 Pearson Education, Inc. Active Learning Lecture Slides For use with Classroom Response Systems Introductory Statistics: Exploring the World through.
Chap 5-1 Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 5-1 Chapter 5 Discrete Probability Distributions Basic Business Statistics.
CHAPTER 5 PROBABILITY. CARDS & DICE BLACKRED CLUBSPADEDIAMONDHEARTTOTAL ACE11114 FACE CARD (K, Q, J) NUMBERED CARD (1-9) TOTAL13 52.
Copyright (c) 2004 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 2 Probability.
6 Probability Chapter6 p Operations on events and probability An event is the basic element to which probability can be applied. Notations Event:
Chapter 1 Basics of Probability.
Chapter 8 Probability Section R Review. 2 Barnett/Ziegler/Byleen Finite Mathematics 12e Review for Chapter 8 Important Terms, Symbols, Concepts  8.1.
“PROBABILITY” Some important terms Event: An event is one or more of the possible outcomes of an activity. When we toss a coin there are two possibilities,
Math The Multiplication Rule for P(A and B)
Quality Improvement PowerPoint presentation to accompany Besterfield, Quality Improvement, 9e PowerPoint presentation to accompany Besterfield, Quality.
Day 2 Review Chapters 5 – 7 Probability, Random Variables, Sampling Distributions.
Probability Theory 1.Basic concepts 2.Probability 3.Permutations 4.Combinations.
Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc.. Chap 5-1 Chapter 5 Some Important Discrete Probability Distributions Basic Business Statistics.
BINOMIALDISTRIBUTION AND ITS APPLICATION. Binomial Distribution  The binomial probability density function –f(x) = n C x p x q n-x for x=0,1,2,3…,n for.
Ch Counting Techniques Product Rule If the first element or object of an ordered pair can be used in n 1 ways, and for each of these n1 ways.
Chapter 12 Probability. Chapter 12 The probability of an occurrence is written as P(A) and is equal to.
AP Review Day 2: Discrete Probability. Basic Probability Sample space = all possible outcomes P(A c ) = 1 – P(A) Probabilities have to be between 0 and.
Dr. Omar Al Jadaan Probability. Simple Probability Possibilities and Outcomes Expressed in the form of a fraction A/B Where A is the occurrence B is possible.
Week 21 Conditional Probability Idea – have performed a chance experiment but don’t know the outcome (ω), but have some partial information (event A) about.
Topic 2: Intro to probability CEE 11 Spring 2002 Dr. Amelia Regan These notes draw liberally from the class text, Probability and Statistics for Engineering.
Stats Probability Theory Summary. The sample Space, S The sample space, S, for a random phenomena is the set of all possible outcomes.
Lesson 6 - R Discrete Probability Distributions Review.
POSC 202A: Lecture 4 Probability. We begin with the basics of probability and then move on to expected value. Understanding probability is important because.
Copyright © 2014 by McGraw-Hill Higher Education. All rights reserved. Essentials of Business Statistics: Communicating with Numbers By Sanjiv Jaggia and.
AP Statistics Semester One Review Part 2 Chapters 4-6 Semester One Review Part 2 Chapters 4-6.
Probability (outcome k) = Relative Frequency of k
Psychology 202a Advanced Psychological Statistics September 24, 2015.
Business Statistics: A Decision-Making Approach, 7e © 2008 Prentice-Hall, Inc. Chap 5-1 Business Statistics: A Decision-Making Approach 7 th Edition Chapter.
Week 21 Rules of Probability for all Corollary: The probability of the union of any two events A and B is Proof: … If then, Proof:
PROBABILITY AND BAYES THEOREM 1. 2 POPULATION SAMPLE PROBABILITY STATISTICAL INFERENCE.
© 2013 Pearson Education, Inc. Reading Quiz For use with Classroom Response Systems Introductory Statistics: Exploring the World through Data, 1e by Gould.
Business Statistics, A First Course (4e) © 2006 Prentice-Hall, Inc. Chap 5-1 Chapter 5 Some Important Discrete Probability Distributions Business Statistics,
PROBABILITY 1. Basic Terminology 2 Probability 3  Probability is the numerical measure of the likelihood that an event will occur  The probability.
Bayes’ Theorem Suppose we have estimated prior probabilities for events we are concerned with, and then obtain new information. We would like to a sound.
3.1 Discrete Random Variables Present the analysis of several random experiments Discuss several discrete random variables that frequently arise in applications.
Probability Theory Basic concepts Probability Permutations
Chapter 3 Discrete Random Variables and Probability Distributions
Probability Axioms and Formulas
What is Probability? Quantification of uncertainty.
Lecture Slides Elementary Statistics Twelfth Edition
Hypergeometric Distribution
Probability The term probability refers to indicate the likelihood that some event will happen. For example, ‘there is high probability that it will rain.
Learn to let go. That is the key to happiness. ~Jack Kornfield
Basic Probability aft A RAJASEKHAR YADAV.
Chapter 3.1 Probability Students will learn several ways to model situations involving probability, such as tree diagrams and area models. They will.
Chapter 3.1 Probability Students will learn several ways to model situations involving probability, such as tree diagrams and area models. They will.
Lecture Slides Elementary Statistics Twelfth Edition
PROBABILITY AND STATISTICS
Chapter 5 Some Important Discrete Probability Distributions
Probability Probability underlies statistical inference - the drawing of conclusions from a sample of data. If samples are drawn at random, their characteristics.
Chapter 3 Discrete Random Variables and Probability Distributions
Welcome to the wonderful world of Probability
COUNTING AND PROBABILITY
Conditional Probability, Bayes Theorem, Independence and Repetition of Experiments Chris Massa.
Chapter 5 – Probability Rules
Presentation transcript:

Conditional Probability, Bayes Theorem, Independence and Repetition of Experiments Chris Massa

Conditional Probability “Chance” of an event given that something is true Notation: Probability of event a, given b is true Applications: Diagnosis of medical conditions (Sensitivity/Specificity) Data Analysis and model comparison Markov Processes

Conditional Probability Example Diagnosis using a clinical test Sample Space = all patients tested Event A: Subject has disease Event B: Test is positive Interpret: Probability patient has disease and positive test (correct!) Probability patient has disease BUT negative test (false negative) Probability patient has no disease BUT positive test (false positive) Probability patient has disease given a positive test Probability patient has disease given a negative test

Conditional Probability Example If only data we have is B or not B, what can we say about A being true? Not as simple as positive = disease, negative = healthy Test is not Infallible! Probability depends on union of A and B Must Examine independence Does p(A) depend on p(B)? Does p(B) depend on p(A)? Events are dependant

Law of Total Probability & Bayes Rule Take events Ai for I = 1 to k to be: Mutually exclusive: for all i,j Exhaustive: For any event B on S Bayes theorem follows

Return to Testing Example Bayes’ theorem allows inference on A, given the test result, using knowledge of the test’s accuracy and population qualities p(B|A) is test’s sensitivity: TP/ (TP+FN) p(B|A’) is test’s false positive rate: TP/ (TP+FN) p(A) is occurrence of disease

Likelihood Ratios Similar comparison can be done to find the probability that the person does not have a disease based on the test results Similarly, since A and A’ are independent Here, the likelihood ratio is the ratio of the probabilities of the test being correct, to the test being wrong.

Numerical Example Only 1 in 1000 people have rare disease A TP = .99 FP=.02 If one randomly tested individual is positive, what is the probability they have the disease Label events: A = has disease Ao = no disease B = Positive test result Examine probabilities p(A) = .001 p(Ao)= .999 p(B|A) = .99 p(B|Ao)= .02 B+ B- A B+ Ao B-

Numerical Example Examine probabilities p(A) = .001 p(Ao)= .999 p(B|A) = .99 p(B|Ao)= .02 p(A ∩ B) = .00099 B+ p(B|A) = .99 B- A p(B’|A)= .01 p(A) = .001 p(Ao ∩ B) = .01998 Ao B+ p(Ao)= .999 p(B|Ao)= .02 B- p(B’|Ao)= .98

Independence Do A and B depend on one another? If Independent Yes! B more likely to be true if A. A should be more likely if B. If Independent If Dependent

Repetition of Independent Trials Recall If independent trials are repeated n times, formulae may exist to simplify calculations Examples include Binomial Multinomial Geometric

Binomial Probability Law Requires: n trials each with binary outcome (0 or 1, T or F) Independent trials, with constant probability, p. PDF of Binomial random variable X~ b(x;n,p) Where x = number of 1s (or Ts) CDF:

Hypergeometric Probability Law Requires: Fixed, finite sample size (N) Each item has binary value (0 or 1, T or F), with M positive values in the population A sample of size n is taken without replacement PDF of hypergeometric R.V. X~ h(x;n,M,N)

Repetition of Dependent Events Relies on conditional probability calculations. If a sequence of outcomes is {A,B,C} This is the basis of Markov Chains e.g. Two urn problem Two urns (0 and 1) contain balls labeled 0 or 1. Flip a coin to decide which jar to chose a ball from Pick a ball from the jar indicated by the ball chosen Can determine probability of the path taken using conditional probability arguments

Markov Chains Given a sequence of n outcomes {a0, a1,..., an} Where P(ax) depends only on ax-1 Probability of the sequence is given by the product of the probability of the first event with the probabilities of all subsequent occurrences Markov chains have been explored through simulation (Markov Chain Monte Carlo – MCMC)