PROBABILITY AND BAYES THEOREM 1. 2 POPULATION SAMPLE PROBABILITY STATISTICAL INFERENCE.

Slides:



Advertisements
Similar presentations
Introduction to Probability Experiments, Outcomes, Events and Sample Spaces What is probability? Basic Rules of Probability Probabilities of Compound Events.
Advertisements

Probability Simple Events
Chapter 2 Probability. 2.1 Sample Spaces and Events.
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.
Presentation 5. Probability.
Week 21 Basic Set Theory A set is a collection of elements. Use capital letters, A, B, C to denotes sets and small letters a 1, a 2, … to denote the elements.
Chapter 4 Probability and Probability Distributions
© 2011 Pearson Education, Inc
Instructor: Dr. Ayona Chatterjee Spring  If there are N equally likely possibilities of which one must occur and n are regarded as favorable, or.
McGraw-Hill Ryerson Copyright © 2011 McGraw-Hill Ryerson Limited. Adapted by Peter Au, George Brown College.
Chapter Two Probability
Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 6.1 Chapter Six Probability.
Probability and Statistics Dr. Saeid Moloudzadeh Sample Space and Events 1 Contents Descriptive Statistics Axioms of Probability Combinatorial.
Chapter 4 Probability.
Chapter 2: Probability.
Engineering Probability and Statistics - SE-205 -Chap 2 By S. O. Duffuaa.
1 Basic Probability Statistics 515 Lecture Importance of Probability Modeling randomness and measuring uncertainty Describing the distributions.
Basic Concepts and Approaches
Probability.
© 2016 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license.
Chapter 8 Probability Section R Review. 2 Barnett/Ziegler/Byleen Finite Mathematics 12e Review for Chapter 8 Important Terms, Symbols, Concepts  8.1.
PROBABILITY AND BAYES THEOREM 1. 2 POPULATION SAMPLE PROBABILITY STATISTICAL INFERENCE.
Nor Fashihah Mohd Noor Institut Matematik Kejuruteraan Universiti Malaysia Perlis ІМ ќ INSTITUT MATEMATIK K E J U R U T E R A A N U N I M A P.
Chapter 1 Probability Spaces 主講人 : 虞台文. Content Sample Spaces and Events Event Operations Probability Spaces Conditional Probabilities Independence of.
Copyright © 2010 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Chapter 4 Probability.
CPSC 531: Probability Review1 CPSC 531:Probability & Statistics: Review Instructor: Anirban Mahanti Office: ICT Class.
LECTURE 15 THURSDAY, 15 OCTOBER STA 291 Fall
LECTURE 14 TUESDAY, 13 OCTOBER STA 291 Fall
Chapter 4 Probability ©. Sample Space sample space.S The possible outcomes of a random experiment are called the basic outcomes, and the set of all basic.
Computing Fundamentals 2 Lecture 6 Probability Lecturer: Patrick Browne
1 CHAPTERS 14 AND 15 (Intro Stats – 3 edition) PROBABILITY, PROBABILITY RULES, AND CONDITIONAL PROBABILITY.
Statistics for Management and Economics Chapter 6
PROBABILITY, PROBABILITY RULES, AND CONDITIONAL PROBABILITY
5.1 Randomness  The Language of Probability  Thinking about Randomness  The Uses of Probability 1.
1 CHAPTER 7 PROBABILITY, PROBABILITY RULES, AND CONDITIONAL PROBABILITY.
Probability You’ll probably like it!. Probability Definitions Probability assignment Complement, union, intersection of events Conditional probability.
Statistics Lecture 4. Last class: measures of spread and box-plots Have completed Chapter 1 Today - Chapter 2.
1 Probability Chapter Assigning probabilities to Events Random experiment –a random experiment is a process or course of action, whose outcome.
Probability: Terminology  Sample Space  Set of all possible outcomes of a random experiment.  Random Experiment  Any activity resulting in uncertain.
Sixth lecture Concepts of Probabilities. Random Experiment Can be repeated (theoretically) an infinite number of times Has a well-defined set of possible.
Copyright © 2006 The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Review of Statistics I: Probability and Probability Distributions.
Fall 2002Biostat Probability Probability - meaning 1) classical 2) frequentist 3) subjective (personal) Sample space, events Mutually exclusive,
Lecture 7 Dustin Lueker. 2STA 291 Fall 2009 Lecture 7.
BIA 2610 – Statistical Methods
Probability. What is probability? Probability discusses the likelihood or chance of something happening. For instance, -- the probability of it raining.
Lecture 6 Dustin Lueker.  Standardized measure of variation ◦ Idea  A standard deviation of 10 may indicate great variability or small variability,
+ Chapter 5 Overview 5.1 Introducing Probability 5.2 Combining Events 5.3 Conditional Probability 5.4 Counting Methods 1.
§2 Frequency and probability 2.1The definitions and properties of frequency and properties.
Probability theory is the branch of mathematics concerned with analysis of random phenomena. (Encyclopedia Britannica) An experiment: is any action, process.
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:
Chapter 4 Probability Concepts Events and Probability Three Helpful Concepts in Understanding Probability: Experiment Sample Space Event Experiment.
Chapter 2: Probability. Section 2.1: Basic Ideas Definition: An experiment is a process that results in an outcome that cannot be predicted in advance.
1 Probability- Basic Concepts and Approaches Dr. Jerrell T. Stracener, SAE Fellow Leadership in Engineering EMIS 7370/5370 STAT 5340 : PROBABILITY AND.
Copyright © 2011 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Chapter 4 Probability.
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.
Probability and Probability Distributions. Probability Concepts Probability: –We now assume the population parameters are known and calculate the chances.
Chapter 4 - Introduction to Probability
Chapter 3 Probability.
Chapter 4 Probability Concepts
Chapter 6 6.1/6.2 Probability Probability is the branch of mathematics that describes the pattern of chance outcomes.
Subtopic : 10.1 Events and Probability
PROBABILITY AND PROBABILITY RULES
What is Probability? Quantification of uncertainty.
Lecture 11 Sections 5.1 – 5.2 Objectives: Probability
Section 6.2 Probability Models
Chapter 4 Probability.
GAMES OF CHANCE.
A random experiment gives rise to possible outcomes, but any particular outcome is uncertain – “random”. For example, tossing a coin… we know H or T will.
Chapter 1 Probability Spaces
Presentation transcript:

PROBABILITY AND BAYES THEOREM 1

2 POPULATION SAMPLE PROBABILITY STATISTICAL INFERENCE

3 PROBABILITY: A numerical value expressing the degree of uncertainty regarding the occurrence of an event. A measure of uncertainty. STATISTICAL INFERENCE: The science of drawing inferences about the population based only on a part of the population, sample.

4 PROBABILITY CLASSICAL INTERPRETATION If a random experiment is repeated an infinite number of times, the relative frequency for any given outcome is the probability of this outcome. Probability of an event: Relative frequency of the occurrence of the event in the long run. – Example: Probability of observing a head in a fair coin toss is 0.5 (if coin is tossed long enough). SUBJECTIVE INTERPRETATION The assignment of probabilities to event of interest is subjective – Example: I am guessing there is 50% chance of raining today.

5 PROBABILITY Random experiment – a random experiment is a process or course of action, whose outcome is uncertain. Examples ExperimentOutcomes Flip a coinHeads and Tails Record a statistics test marksNumbers between 0 and 100 Measure the time to assembleNumbers from zero and above a computer

6 Performing the same random experiment repeatedly, may result in different outcomes, therefore, the best we can do is consider the probability of occurrence of a certain outcome. To determine the probabilities, first we need to define and list the possible outcomes PROBABILITY

7 Determining the outcomes. – Build an exhaustive list of all possible outcomes. – Make sure the listed outcomes are mutually exclusive. The set of all possible outcomes of an experiment is called a sample space and denoted by S. Sample Space

8 Countable Uncountable (Continuous ) Finite number of elements Infinite number of elements

9 EXAMPLES Countable sample space examples: – Tossing a coin experiment S : {Head, Tail} – Rolling a dice experiment S : {1, 2, 3, 4, 5, 6} – Determination of the sex of a newborn child S : {girl, boy} Uncountable sample space examples: – Life time of a light bulb S : [0, ∞) – Closing daily prices of a stock S : [0, ∞)

10 EXAMPLES Examine 3 fuses in sequence and note the results of each experiment, then an outcome for the entire experiment is any sequence of N’s (non-defectives) and D’s (defectives) of length 3. Hence, the sample space is S : { NNN, NND, NDN, DNN, NDD, DND, DDN, DDD}

11 – Given a sample space S ={O 1,O 2,…,O k }, the following characteristics for the probability P(O i ) of the simple event O i must hold: – Probability of an event: The probability P(A), of event A is the sum of the probabilities assigned to the simple events contained in A. Assigning Probabilities

12 Assigning Probabilities P(A) is the proportion of times the event A is observed.

13 Intersection The intersection of event A and B is the event that occurs when both A and B occur. The intersection of events A and B is denoted by (A and B) or A  B. The joint probability of A and B is the probability of the intersection of A and B, which is denoted by P(A and B) or P(A  B).

14 Union The union event of A and B is the event that occurs when either A or B or both occur. At least one of the events occur. It is denoted “A or B” OR A  B

15 Complement Rule The complement of event A (denoted by A C ) is the event that occurs when event A does not occur. The probability of the complement event is calculated by P(A C ) = 1 - P(A) A and A C consist of all the simple events in the sample space. Therefore, P(A) + P(A C ) = 1

16 MUTUALLY EXCLUSIVE EVENTS Two events A and B are said to be mutually exclusive or disjoint, if A and B have no common outcomes. That is, A and B =  (empty set) The events A 1,A 2,… are pairwise mutually exclusive (disjoint), if A i  A j =  for all i  j.

17 EXAMPLE The number of spots turning up when a six- sided dice is tossed is observed. Consider the following events. A: The number observed is at most 2. B: The number observed is an even number. C: The number 4 turns up.

18 VENN DIAGRAM A graphical representation of the sample space. 2 S A B C ABAB A B 2 ABAB A B 2 2 A  C =  A and C are mutually exclusive

19 AXIOMS OF PROBABILTY (KOLMOGOROV AXIOMS) Given a sample space S, the probability function is a function P that satisfies 1) For any event A, 0  P(A)  1. 2) P(S) = 1. 3) If A 1, A 2,… are pairwise disjoint, then

20 THE CALCULUS OF PROBABILITIES If P is a probability function and A is any set, then a. P(  )=0 b. P(A)  1 c. P(A C )=1  P(A)

21 THE CALCULUS OF PROBABILITIES If P is a probability function and A and B any sets, then a.P(B  A C ) = P(B)  P(A  B) b.If A  B, then P(A)  P(B) c. P(A  B)  P(A)+P(B)  1 (Bonferroni Inequality) d. (Boole’s Inequality)

22 EQUALLY LIKELY OUTCOMES The same probability is assigned to each simple event in the sample space, S. Suppose that S={s 1,…,s N } is a finite sample space. If all the outcomes are equally likely, then P({s i })=1/N for every outcome s i.

23 For any two events A and B P(A  B) = P(A) + P(B) - P(A  B) Addition Rule

24 ODDS The odds of an event A is defined by It tells us how much more likely to see the occurrence of event A. P(A)=3/4  P(A C )=1/4  P(A)/P(A C ) = 3. That is, the odds is 3. It is 3 times more likely that A occurs as it is that it does not.

CONDITIONAL PROBABILITY (Marginal) Probability: P(A): How likely is it that an event A will occur when an experiment is performed? Conditional Probability: P(A|B): How will the probability of event A be affected by the knowledge of the occurrence or nonoccurrence of event B? If two events are independent, then P(A|B)=P(A) 25

CONDITIONAL PROBABILITY 26

Example Roll two dice S=all possible pairs ={(1,1),(1,2),…,(6,6)} Let A=first roll is 1; B=sum is 7; C=sum is 8 P(A|B)=?; P(A|C)=? Solution: P(A|B)=P(A and B)/P(B) P(B)=P({1,6} or {2,5} or {3,4} or {4,3} or {5,2} or {6,1}) = 6/36=1/6 P(A|B)= P({1,6})/(1/6)=1/6 =P(A) A and B are independent 27

Example P(A|C)=P(A and C)/P(C)=P(Ø)/P(C)=0 A and C are disjoint Out of curiosity: P(C)=P({2,6} or {3,5} or {4,4} or {5,3} or {6,2}) = 5/36

BAYES THEOREM Suppose you have P(B|A), but need P(A|B). Can be generalized to more than two events. 29

Example Let: – D: Event that person has the disease; – T: Event that medical test results positive Given: – Previous research shows that 0.3 % of all Turkish population carries this disease; i.e., P(D)= 0.3 % = – Probability of observing a positive test result for someone with the disease is 95%; i.e., P(T|D)=0.95 – Probability of observing a positive test result for someone without the disease is 4%; i.e. P(T| )= 0.04 Find: probability of a randomly chosen person having the disease given that the test result is positive. 30

Example Solution: Need P(D|T). Use Bayes Thm. P(D|T)=P(T|D)*P(D)/P(T) P(T)=P(D and T)+P( and T) = 0.95* *0.997 = P(D|T) =0.95*0.003 / = 6.67 % Test is not very reliable! 31