Probability Principles of Engineering

Slides:



Advertisements
Similar presentations
Beginning Probability
Advertisements

Probability Probability Principles of EngineeringTM
7 Probability Experiments, Sample Spaces, and Events
Copyright © Cengage Learning. All rights reserved. 8.6 Probability.
Chapter 4 Using Probability and Probability Distributions
Business Statistics: A Decision-Making Approach, 7e © 2008 Prentice-Hall, Inc. Chap 4-1 Business Statistics: A Decision-Making Approach 7 th Edition Chapter.
Probability Probability Principles of EngineeringTM
Class notes for ISE 201 San Jose State University
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Chapter 14 From Randomness to Probability.
Fundamentals of Probability
Bell Work: Collect like terms: x + y – 1 – x + y + 1.
1-1 Copyright © 2015, 2010, 2007 Pearson Education, Inc. Chapter 13, Slide 1 Chapter 13 From Randomness to Probability.
“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,
EXIT NEXT Click one of the buttons below or press the enter key BACKTOPICSProbability Mayeen Uddin Khandaker Mayeen Uddin Khandaker Ph.D. Student Ph.D.
College Algebra Sixth Edition James Stewart Lothar Redlin Saleem Watson.
S.CP.A.1 Probability Basics. Probability - The chance of an event occurring Experiment: Outcome: Sample Space: Event: The process of measuring or observing.
©The McGraw-Hill Companies, Inc. 2008McGraw-Hill/Irwin A Survey of Probability Concepts Chapter 5.
Probability The calculated likelihood that a given event will occur
Copyright © 2010 Pearson Education, Inc. Chapter 14 From Randomness to Probability.
Copyright © Cengage Learning. All rights reserved. 8.6 Probability.
Copyright © 2010 Pearson Education, Inc. Chapter 6 Probability.
From Randomness to Probability Chapter 14. Dealing with Random Phenomena A random phenomenon is a situation in which we know what outcomes could happen,
(c) 2007 IUPUI SPEA K300 (4392) Probability Likelihood (chance) that an event occurs Classical interpretation of probability: all outcomes in the sample.
Natural Language Processing Giuseppe Attardi Introduction to Probability IP notice: some slides from: Dan Jurafsky, Jim Martin, Sandiway Fong, Dan Klein.
MATH 256 Probability and Random Processes Yrd. Doç. Dr. Didem Kivanc Tureli 14/10/2011Lecture 3 OKAN UNIVERSITY.
+ Chapter 5 Overview 5.1 Introducing Probability 5.2 Combining Events 5.3 Conditional Probability 5.4 Counting Methods 1.
Chapter 14 From Randomness to Probability. Dealing with Random Phenomena A random phenomenon: if we know what outcomes could happen, but not which particular.
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 ?
No Warm-Up today. You have a Quiz Clear your desk of everything but a calculator and something to write with.
Copyright © 2010 Pearson Education, Inc. Chapter 14 From Randomness to Probability.
Warm Up 1. Ingrid is making dinner. She has tofu, chicken and beef for an entrée, and French fries, salad and corn for a side. If Ingrid has 6 drinks to.
Probability. Definitions Probability: The chance of an event occurring. Probability Experiments: A process that leads to well- defined results called.
Chapter 10 PROBABILITY. Probability Terminology  Experiment: take a measurement Like flipping a coin  Outcome: one possible result of an experiment.
AP Statistics From Randomness to Probability Chapter 14.
1 What Is Probability?. 2 To discuss probability, let’s begin by defining some terms. An experiment is a process, such as tossing a coin, that gives definite.
Essential Ideas for The Nature of Probability
Mathematics Department
Introduction Previously, we have worked with experiments and probabilities that have resulted in two outcomes: success and failure. Success is used to.
From Randomness to Probability
Dealing with Random Phenomena
Chapter 3: Probability Topics
CHAPTER 5 Probability: What Are the Chances?
Chapter 4 Probability Concepts
Probability ·  fraction that tells how likely something is to happen ·   the relative frequency that an event will occur.
Natural Language Processing
Sequences, Series, and Probability
PROBABILITY.
From Randomness to Probability
A Survey of Probability Concepts
From Randomness to Probability
Warm Up 1. Gretchen is making dinner. She has tofu, chicken and beef for an entrée, and French fries, salad and corn for a side. If Ingrid has 6 drinks.
Natural Language Processing
From Randomness to Probability
Unit 1: Probability and Statistics
From Randomness to Probability
Introduction to Probability
Probability.
PROBABILITY.
Probability Principles of Engineering
PROBABILITY AND STATISTICS
Probability Probability underlies statistical inference - the drawing of conclusions from a sample of data. If samples are drawn at random, their characteristics.
Warm Up Which of the following are combinations?
Honors Statistics From Randomness to Probability
Probability. ·. fraction that tells. how likely something. `
Probability Principles of Engineering
From Randomness to Probability
Probability Probability Principles of EngineeringTM
Probability Principles of Engineering
From Randomness to Probability
Presentation transcript:

Probability Principles of Engineering © 2012 Project Lead The Way, Inc.

Probability The calculated likelihood that a given event will occur Principles of EngineeringTM Unit 4 – Lesson 4.1 - Statistics The calculated likelihood that a given event will occur

Methods of Determining Probability Principles of EngineeringTM Unit 4 – Lesson 4.1 - Statistics Empirical Experimental observation Example: Process control Theoretical Uses known elements Example: Coin toss, die rolling Subjective Assumptions Example: I think that . . . In practice, engineers will often blend these approaches. For instance, engineers will assume that each one of the widgets produced at a factory has the same (unknown) chance of failure, then make observations to determine the likelihood of failure.

Probability Components Principles of EngineeringTM Unit 4 – Lesson 4.1 - Statistics Experiment An activity with observable results Sample Space A set of all possible outcomes Event A subset of a sample space Outcome / Sample Point The result of an experiment For example, I might test a brass sample to find its tensile strength. [experiment] It might break under any load from 0 to 1000 pounds in my tester, or it may not break at all. [sample space] One possible outcome is that a sample could break at 200 pounds. [Event] When I perform the test, it breaks at a particular load. [Outcome]

Probability What is the probability of a tossed coin landing heads up? Principles of EngineeringTM Unit 4 – Lesson 4.1 - Statistics What is the probability of a tossed coin landing heads up? Experiment Sample Space Probability Tree Event The probability tree lists all possible outcomes. Many experiments have far too many possible results to write out a probability tree. Outcome

Probability Probability Principles of EngineeringTM Unit 4 – Lesson 4.1 - Statistics A way of communicating the belief that an event will occur. Expressed as a number between 0 and 1 fraction, percent, decimal, odds Total probability of all possible events totals 1 We’ll deal only with probabilities in this lesson. The odds of an event are slightly different than the probabilities, but if you know one, you can find the other.

Relative Frequency Probability Principles of EngineeringTM Unit 4 – Lesson 4.1 - Statistics The number of times an event will occur divided by the number of opportunities = Relative frequency of outcome x = Number of events with outcome x n = Total number of events Expressed as a number between 0 and 1 fraction, percent, decimal, odds Total frequency of all possible events totals 1 We’ll deal only with probabilities in this lesson. The odds of an event are slightly different than the probabilities, but if you know one, you can find the other.

Probability What is the probability of a tossed coin landing heads up? Principles of EngineeringTM Unit 4 – Lesson 4.1 - Statistics What is the probability of a tossed coin landing heads up? How many desirable outcomes? 1 How many possible outcomes? Probability Tree 2 We can calculate the probability of a fair coin flip easily because heads and tails are equally likely. We sometimes call the number of desirable outcomes successes. It is more appropriate to define them as outcomes. For instance, if we want to know the probability of catching a cold, we’d put that in the numerator—but a cold is hardly desirable! What is the probability of the coin landing tails up?

Probability Probability Principles of EngineeringTM Unit 4 – Lesson 4.1 - Statistics What is the probability of tossing a coin twice and it landing heads up both times? HH How many desirable outcomes? 1 HT How many possible outcomes? 4 Teacher’s note: The most common mistake in this sort of calculation occurs when kids work too fast. There are three possibilities: 2 heads, 2 tails, or 1 of each. This would provide an answer of 1/3 instead of ¼, because there are really four possibilities—HT and TH are different outcomes. TH TT

Probability Probability Principles of EngineeringTM Unit 4 – Lesson 4.1 - Statistics 3rd What is the probability of tossing a coin three times and it landing heads up exactly two times? HHH 2nd HHT 1st How many desirable outcomes? HTH 3 HTT How many possible outcomes? THH 8 THT TTH TTT

Binomial Process Probability Principles of EngineeringTM Unit 4 – Lesson 4.1 - Statistics Each trial has only two possible outcomes yes-no, on-off, right-wrong Trial outcomes are independent Tossing a coin does not affect future tosses **The probability of heads occurring on subsequent coin flips does not change. Notice that a binomial does not have to be a 50-50 chance. Getting a “6” on a die roll is also binomial (you either get the 6 or you don’t).

Bernoulli Process P = Probability Principles of EngineeringTM Unit 4 – Lesson 4.1 - Statistics P = Probability x = Number of times for a specific outcome within n trials n = Number of trials p = Probability of success on a single trial q = Probability of failure on a single trial ! = factorial—product of all integers less than or equal *Technically a Bernoulli process happens only once (flip one coin), while a binomial process comes by adding many Bernoulli processes. The formula here is for a binomial process (combining the results of n independent Bernoulli trials). n! (read “n factorial”) is the product of all integers from 1 to n. For instance, 5! = 5 x 4 x 3 x 2 x 1 = 120 nCx (read “n choose x”) is the number of distinct groups of x things that can be chosen from n distinct things. Most scientific and graphing calculators have a ! key and a nCx key. Both functions can often be found in a probability menu.

Probability Distribution Principles of EngineeringTM Unit 4 – Lesson 4.1 - Statistics What is the probability of tossing a coin three times and it landing heads up two times?

Probability Law of Large Numbers Principles of EngineeringTM Unit 4 – Lesson 4.1 - Statistics The more trials that are conducted, the closer the results become to the theoretical probability Trial 1: Toss a single coin 5 times H,T,H,H,T P = .600 = 60% Trial 2: Toss a single coin 500 times H,H,H,T,T,H,T,T,……T P = .502 = 50.2% Theoretical Probability = .5 = 50% It is still possible to flip a fair coin many times in a row and get significantly different numbers of heads and tails, but this is very unlikely.

Probability AND (Multiplication) P (A and B) = PA∙PB Principles of EngineeringTM Unit 4 – Lesson 4.1 - Statistics AND (Multiplication) Independent events occurring simultaneously Product of individual probabilities If events A and B are independent, then the probability of A and B occurring is: P (A and B) = PA∙PB Independence means that one event’s outcome doesn’t affect the other event’s outcome.

Probability AND (Multiplication) 1 6 1 6 Principles of EngineeringTM Unit 4 – Lesson 4.1 - Statistics AND (Multiplication) What is the probability of rolling a 4 on a single die? 1 How many desirable outcomes? 6 How many possible outcomes? What is the probability of rolling a 1 on a single die? 1 How many desirable outcomes? 6 How many possible outcomes? We can multiply these probabilities because they are independent. What is the probability of rolling a 4 and then a 1 in sequential rolls?

Probability OR (Addition) P (A or B) = PA + PB Principles of EngineeringTM Unit 4 – Lesson 4.1 - Statistics OR (Addition) Independent events occurring individually Sum of individual probabilities If events A and B are mutually exclusive, then the probability of A or B occurring is: P (A or B) = PA + PB If A and B are mutually exclusive, it is not possible for both to occur at the same time. For example, you might want to know the probability of drawing either one of the two cards: a 2 of diamonds or a 2 of spades from a single draw.

Probability OR (Addition) 1 6 1 6 Principles of EngineeringTM Unit 4 – Lesson 4.1 - Statistics OR (Addition) What is the probability of rolling a 4 on a single die? 1 How many desirable outcomes? 6 How many possible outcomes? What is the probability of rolling a 1 on a single die? 1 How many desirable outcomes? 6 How many possible outcomes? We can add these probabilities because they’re mutually exclusive. Teacher’s note: if two events aren’t mutually exclusive, we have to add their probabilities and then subtract the probability that they both occur. What is the probability of rolling a 4 or a 1 on a single die?

Probability NOT P = 1 - P(A) Independent event not occurring Principles of EngineeringTM Unit 4 – Lesson 4.1 - Statistics NOT Independent event not occurring 1 minus the probability of occurrence P = 1 - P(A) What is the probability of not rolling a 1 on a die?

Probability Probability Principles of EngineeringTM Unit 4 – Lesson 4.1 - Statistics Two cards are dealt from a shuffled deck. What is the probability that the first card is an ace and the second card is a face card or a ten? How many cards are in a deck? 52 How many aces are in a deck? 4 Dice rolls and coin flips are classic examples of independent events. Drawing cards is a classic example of a set of dependent events. How many face cards are in deck? 12 How many tens are in a deck? 4

Probability What is the probability that the first card is an ace? Principles of EngineeringTM Unit 4 – Lesson 4.1 - Statistics What is the probability that the first card is an ace? Since the first card was NOT a face, what is the probability that the second card is a face card? Since the first card was NOT a ten, what is the probability that the second card is a ten?

Probability Probability Principles of EngineeringTM Unit 4 – Lesson 4.1 - Statistics Two cards are dealt from a shuffled deck. What is the probability that the first card is an ace and the second card is a face card or a ten? If the first card is an ace, what is the probability that the second card is a face card or a ten? 31.37%

Conditional Probability Principles of EngineeringTM Unit 4 – Lesson 4.1 - Statistics P(E|A) = Probability of event E, given A Example: One card is drawn from a shuffled deck. The probability it is a queen is P(queen) = However, if I already know it is face card P(queen | face) =

Conditional Probability Principles of EngineeringTM Unit 4 – Lesson 4.1 - Statistics Probability of two events A and B both occurring = P(A and B) = P(A|B)  P(B) = P(B|A)  P(A) If A and B are independent, then P(A and B) = P(A)  P(B)

Probability Bayes’ Theorem Principles of EngineeringTM Unit 4 – Lesson 4.1 - Statistics Calculates a conditional probability, based on all the ways the condition might have occurred. P( A | E ) = probability of A, given we already know the condition E = **Bayes’ theorem is intuitive to most people, but computing it can be very difficult. P (A1 | E) is read “The probability of A1 given E”: that means it’s the likelihood of event A given what we already know about event E.

Bayes’ Theorem Example Probability Bayes’ Theorem Example Principles of EngineeringTM Unit 4 – Lesson 4.1 - Statistics LCD screen components for a large cell phone manufacturing company are outsourced to three different vendors. Vendors A, B, and C supply 60%, 30%, and 10% of the required LCD screen components. Quality control experts have determined that 0.7% of vendor A, 1.4% of vendor B, and 1.9% of vendor C components are defective. If a cell phone was chosen at random and the LCD screen was determined to be defective, what is the probability that the LCD screen was produced by vendor A? Note that the vendors are mutually exclusive: any given screen is outsourced to only one company.

Bayes’ Theorem Example Probability Bayes’ Theorem Example Principles of EngineeringTM Unit 4 – Lesson 4.1 - Statistics Notation Used: P = Probability D = Defective A, B, and C denote vendors Unknown to be calculated: Probability the screen is from A, given that it is defective

Bayes’ Theorem Example Known probabilities: Probability the screen is from A Probability the screen is from B Probability the screen is from C

Bayes’ Theorem Example Known conditional probabilities: Probability the screen is defective given it is from A Probability the screen is defective given it is from B Probability the screen is defective given it is from C

Bayes’ Theorem Example Defective Part Probability Bayes’ Theorem Example Defective Part Principles of EngineeringTM Unit 4 – Lesson 4.1 - Statistics = P(screen is defective AND from A) P(screen is defective from anywhere)

LCD Screen Example Probability Principles of EngineeringTM Unit 4 – Lesson 4.1 - Statistics

Probability LCD Screen Example Principles of EngineeringTM Unit 4 – Lesson 4.1 - Statistics If a cell phone was chosen at random and the LCD screen was determined to be defective, what is the probability that the LCD screen was produced by vendor B? If a cell phone was chosen at random and the LCD screen was determined to be defective, what is the probability that the LCD screen was produced by vendor C? This is calculated in the same way as for vendor A. The denominator (0.0103) will be the same in all three cases. P (produced by B| defective) (probability the phone was produced by vendor B given the phone was defective) = 0.30*0.014/0.0103 = 0.4078 P (produced by C| defective) (probability the phone was produced by vendor C given the phone was defective) = 0.1*0.019/0.0103 = 0.1845 Notice that adding all three probabilities gives us 0.4078 + 0.4078 + 0.1845 = 1 (if we ignore rounding error) because the probability that the phone was manufactured by someone is 100%. Notice also that even though vendor A is the best (only 0.7% defective parts), it is tied for the most defective phones because it manufactures so many phones.