Topic 2 – Probability Basic probability Conditional probability and independence Bayes rule Basic reliability.

Slides:



Advertisements
Similar presentations
Copyright © Cengage Learning. All rights reserved.
Advertisements

Introduction to Probability Experiments, Outcomes, Events and Sample Spaces What is probability? Basic Rules of Probability Probabilities of Compound Events.
Copyright © 2006 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide
Chapter 5: Probability: What are the Chances?
Probability Simple Events
Chapter 2 Probability. 2.1 Sample Spaces and Events.
© 2011 Pearson Education, Inc
Section 2 Union, Intersection, and Complement of Events, Odds
MAT 103 Probability In this chapter, we will study the topic of probability which is used in many different areas including insurance, science, marketing,
Probability & Counting Rules Chapter 4 Created by Laura Ralston Revised by Brent Griffin.
Chapter 7 Probability 7.1 Experiments, Sample Spaces, and Events
Chapter 4 Using Probability and Probability Distributions
Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 6.1 Chapter Six Probability.
Business Statistics: A Decision-Making Approach, 7e © 2008 Prentice-Hall, Inc. Chap 4-1 Business Statistics: A Decision-Making Approach 7 th Edition Chapter.
Chapter 4 Probability.
Chap 4-1 EF 507 QUANTITATIVE METHODS FOR ECONOMICS AND FINANCE FALL 2008 Chapter 4 Probability.
1 Basic Probability Statistics 515 Lecture Importance of Probability Modeling randomness and measuring uncertainty Describing the distributions.
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.
Chapter 4 Probability See.
5.1 Basic Probability Ideas
Chapter 8 Probability Section R Review. 2 Barnett/Ziegler/Byleen Finite Mathematics 12e Review for Chapter 8 Important Terms, Symbols, Concepts  8.1.
Sample space The set of all possible outcomes of a chance experiment –Roll a dieS={1,2,3,4,5,6} –Pick a cardS={A-K for ♠, ♥, ♣ & ♦} We want to know the.
Lecture 5. Basic Probability David R. Merrell Intermediate Empirical Methods For Public Policy and Management.
1 Probability. 2 Today’s plan Probability Notations Laws of probability.
Chapter 1 Probability Spaces 主講人 : 虞台文. Content Sample Spaces and Events Event Operations Probability Spaces Conditional Probabilities Independence of.
From Randomness to Probability
AP Statistics Chapter 6 Notes. Probability Terms Random: Individual outcomes are uncertain, but there is a predictable distribution of outcomes in the.
Chapter 1:Independent and Dependent Events
LECTURE 15 THURSDAY, 15 OCTOBER STA 291 Fall
Copyright © 2014 Pearson Education, Inc. All rights reserved Chapter 5 Modeling Variation with Probability.
Introduction to Probability. 5.1 Experiments, Outcomes, Events, and Sample Spaces Sample space - The set of all possible outcomes for an experiment Roll.
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.
Computer Performance Modeling Dirk Grunwald Spring ‘96 Jain, Chapter 12 Summarizing Data With Statistics.
Week 21 Conditional Probability Idea – have performed a chance experiment but don’t know the outcome (ω), but have some partial information (event A) about.
Class 2 Probability Theory Discrete Random Variables Expectations.
POSC 202A: Lecture 4 Probability. We begin with the basics of probability and then move on to expected value. Understanding probability is important because.
Topic 2 – Probability Basic probability - pages Conditional probability and independence - pages Bayes rule - pages 72 -
Section 2 Union, Intersection, and Complement of Events, Odds
Probability: Terminology  Sample Space  Set of all possible outcomes of a random experiment.  Random Experiment  Any activity resulting in uncertain.
SECTION 11-2 Events Involving “Not” and “Or” Slide
Lecture 7 Dustin Lueker. 2STA 291 Fall 2009 Lecture 7.
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.
1 Chapter 4, Part 1 Basic ideas of Probability Relative Frequency, Classical Probability Compound Events, The Addition Rule Disjoint Events.
Probability. 3.1 Events, Sample Spaces, and Probability Sample space - The set of all possible outcomes for an experiment Roll a die Flip a coin Measure.
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. Randomness When we produce data by randomized procedures, the laws of probability answer the question, “What would happen if we did this.
PROBABILITY AND BAYES THEOREM 1. 2 POPULATION SAMPLE PROBABILITY STATISTICAL INFERENCE.
LECTURE 16 TUESDAY, 20 OCTOBER STA 291 Fall
Probability. Definitions Probability: The chance of an event occurring. Probability Experiments: A process that leads to well- defined results called.
Chapter 4 Some basic Probability Concepts 1-1. Learning Objectives  To learn the concept of the sample space associated with a random experiment.  To.
Probability and Probability Distributions. Probability Concepts Probability: –We now assume the population parameters are known and calculate the chances.
Definitions Addition Rule Multiplication Rule Tables
Essential Ideas for The Nature of Probability
Chapter 11 Probability.
Experimental Probability vs. Theoretical 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.
PROBABILITY.
What is Probability? Quantification of uncertainty.
Learn to let go. That is the key to happiness. ~Jack Kornfield
Probability.
Lecture 11 Sections 5.1 – 5.2 Objectives: Probability
STA 291 Spring 2008 Lecture 6 Dustin Lueker.
Section 6.2 Probability Models
CHAPTER 4 PROBABILITY Prem Mann, Introductory Statistics, 8/E Copyright © 2013 John Wiley & Sons. All rights reserved.
Chapter 1 Probability Spaces
Presentation transcript:

Topic 2 – Probability Basic probability Conditional probability and independence Bayes rule Basic reliability

222 Random process : a process whose outcome can not be predicted with certainty –Examples: rolling a die, picking a card from a deck Sample space (S) : the collection of all possible outcomes to a random process –Examples: With one die, all possible outcomes are 1-6 –Examples: With a deck of cards, all possible outcomes are 2-Ace of any suit Event (A,B) : a collection of possible outcomes – Simple : one outcome – Compound : more than one outcome Probability : a number between 0 and 1 (inclusive) indicating the likelihood that the event will occur

333 What are the probabilities relating to... Rolling a single die? Rolling two dice?

444 Set theory review Union ( ) – all elements in A or B Intersection ( ) - all elements in A and B Complement ( ) – all elements not in the set –Also denoted as A’ Mutually exclusive – two events are mutually exclusive if they have no outcomes in common –Example: Pregnancy and being a man –Example: Rolling an even or an odd number

555 Elementary probability The proportion of times that an event A occurs out of n trials converges to the actual probability of A, P(A), as the number of repetitions becomes large. Long range frequency StatCrunch “coin flip simulation”. Show long range frequency of 1000 runs repeatedly for demonstration of convergence to what the actual value for “p” should be.

666 Probability with equally likely outcomes If a sample space is composed of k equally likely outcomes with m outcomes contained in A, then P(A) = m/k. Two way classification table for the salary data: Randomly select a student from the survey group, what is the probability that –the student is female? –the student is an engineer? –the student is a female engineer? –the student is a female or an engineer? EducationEngineeringTotal Female Male Total

777 Properties of Probability Axioms: Other properties that may not be apparent:

888 Back to the salary example Consider the following two way classification table between major and gender for the salary data: If we randomly select a student from this group, what is the probability that –the student is not a male educator? –the student is a female or an engineer? EducationEngineeringTotal Female Male Total

999 Conditional Probability and Independence The conditional probability of A given B is if P ( B ) > 0. A and B are independent if P ( A ∩ B ) = P ( A ) P ( B ). If P ( A ) > 0 and P ( B ) > 0, then A independent of B means –P(A|B) = P(A). If the events are independent, knowing B occurs does not change the probability that A occurs.

10 I just added this slide to demonstrate independent data……….. Event A1 Event A2 Event A3Totals Event B Event B Totals A and B are independent if P(A ∩ B) = P(A)P(B).

11 What are some examples of events that are independent? Rolling a fair die Flipping a fair coin Defective product (note difference in view here between theoretical production and some real world applications) HW2, #2 discussion with example. Sampling with replacement

12 Back to the examples EducationEngineeringTotal Female Male Total For the salary example, is the gender of the student selected independent of the student’s major? –If I tell you that the student is female, does that alter the probability that they are an engineer? Reliability example. What’s the probability that a system of two components works, if they are linked in a series and work independently of each other? –If the probability that each works is 80%, the probability that two in a series working is 80% x 80% or 64%. This is a common assumption in reliability.

13 Independence & Probability Independence is an important concept in the calculation of probabilities. The probability of a “series” of independent events is the product of their independent probabilities. Examples –Flipping a coin. –Rolling a die. –X defectives in a row, given a defect %. –Drives the probability calculation in many situations. 13

14 Law of total probability and Bayes rule

15 Voltage regulator example In a batch of voltage regulators, 60% came from supplier 1, 30% from supplier 2 and 10% from supplier 3. 95% of regulators from supplier 1 work 60% of regulators from supplier 2 work 50% of regulators from supplier 3 work If a regulator randomly selected from the batch works, what is the probability it came from supplier 1? 123

16 Bayes Rule, by formulation Assuming we want to calculate P(S 1 |W). From the table, it’d be.57/.80. Based on the formula, it’d be

17 Additional Baye’s – Medical testing Suppose that there is an AIDS test whose results are 99% positive when you have the disease (sensitivity) and 99% negative when you don’t (specificity). Is that good enough? Do you accept the positive result? Does that mean that there’s a 99% probability that you do have AIDS? Let’s run the numbers under various assumptions. 17

18 Medical Testing (2) Assume that 6 in 1,000 in the general population have AIDS (prevalence). The numbers fall out like this. What’s the actual probability, given that you got a positive response, that you do have AIDS? 18 AIDS YESAIDS NOTotals Test Test

19 Medical Testing (3) Assume that 100 in 1,000 in “high risk” population have AIDS. The numbers fall out like this. What’s the actual probability, given that you got a positive response, that you do have AIDS? 19 AIDS YESAIDS NOTotals Test Test ,000.00

20 Medical Testing (final) “Population” designed for and tested against has an effect on the accuracy of the results. If in fact you want to have a high confidence that someone has AIDS when you get a positive test, or more importantly, that they don’t when you get a negative…..that % accuracy (both sensitivity & specificity) must be higher. Economics (production vs. litigation) 20

21 Reliability of systems The reliability of a device or system is the overall probability that it works. Suppose an electronic device is composed of two components and the probability that each of the individual components work is 0.8. The overall reliability of the system is dependent on how that system is constructed. –In a series; one component after another, or –In parallel; with “stacked” components.

22 Reliability of Systems Reliability of a device is the probability the device works. Suppose our device is composed of k independent components each with their own reliability A i - event that component i works The reliability of our device depends on how it is made up in terms of its components A series system will work only if all its components work. A parallel system will work if any one of its components work.

23 Reliability of a series system R = P (device works) = P (all components work) –The operation is only as reliable as it’s weakest link. What are the reliability properties of a series system? –The probability that the system works has to be between 0 and 1. –The reliability of the system MUST be less than the reliability of the least reliable component. –Adding more components MUST decrease overall reliability.

24 Example of a series system Old fashioned Christmas tree lights What’s the probability that the system works? What’s the probability of the system working, if we add another bulb to the system, with a reliability of 0.9?

25 Reliability of a parallel system R = P (device works) = P (at least one comp. works) –1-P(all components fail)……complement’s rule What are the reliability properties of a parallel system? –More reliable than its most reliable component. –Adding components makes it more reliable. –Much better than a series system.

26 Example of a parallel system Redundant computer back ups

27 A more complex example Please read additional file for Topic 2 for more information and problems.