6 CONDITIONAL PROBABILITY

Similar documents
Definition and Calculus of Probability

Lecture 1 Introduction Properties of Probability Methods of Enumeration Asrat Temesgen Stockholm University

Probability. a number between 0 and 1 that indicates how likely it is that a specific event or set of events will occur.

ECE302 Spring 2006 HW1 Solutions January 16,

CONTINGENCY (CROSS- TABULATION) TABLES

Reliability Applications (Independence and Bayes Rule)

AP STATISTICS 2010 SCORING GUIDELINES

AP Stats - Probability Review

WORKED EXAMPLES 1 TOTAL PROBABILITY AND BAYES THEOREM

IAM 530 ELEMENTS OF PROBABILITY AND STATISTICS INTRODUCTION

Homework 3 Solution, due July 16

Exam 3 Review/WIR 9 These problems will be started in class on April 7 and continued on April 8 at the WIR.

Problems and Measures Regarding Waste 1 Management and 3R Era of public health improvement Situation subsequent to the Meiji Restoration

Probabilities. Probability of a event. From Random Variables to Events. From Random Variables to Events. Probability Theory I

You can place bets on the Roulette table until the dealer announces, No more bets.

STATISTICS 8: CHAPTERS 7 TO 10, SAMPLE MULTIPLE CHOICE QUESTIONS

STA 371G: Statistics and Modeling

Probability: The Study of Randomness Randomness and Probability Models. IPS Chapters 4 Sections

Homework 8 Solutions

What is the purpose of this document? What is in the document? How do I send Feedback?

Unit 19: Probability Models

MAC Sublayer. Abusayeed Saifullah. CS 5600 Computer Networks. These slides are adapted from Kurose and Ross

CS 5480/6480: Computer Networks Spring 2012 Homework 4 Solutions Due by 1:25 PM on April 11 th 2012

Probability definitions

Probability. Section 9. Probability. Probability of A = Number of outcomes for which A happens Total number of outcomes (sample space)

AUTOMATIC NIGHT LAMP WITH MORNING ALARM USING MICROPROCESSOR

Decimal Number (base 10) Binary Number (base 2)

Chapter 5 A Survey of Probability Concepts

The Effect of Network Cabling on Bit Error Rate Performance. By Paul Kish NORDX/CDT

ECE302 Spring 2006 HW4 Solutions February 6,

Decision Making Under Uncertainty. Professor Peter Cramton Economics 300

Chapter 5 Section 2 day f.notebook. November 17, Honors Statistics

Software Requirements

COMMON CORE STATE STANDARDS FOR

Bayes Theorem. Bayes Theorem- Example. Evaluation of Medical Screening Procedure. Evaluation of Medical Screening Procedure

Tuesday 20 May 2014 Morning


Chapter 7 Probability. Example of a random circumstance. Random Circumstance. What does probability mean?? Goals in this chapter

Lesson 1. Basics of Probability. Principles of Mathematics 12: Explained! 314

Basic Probability. Probability: The part of Mathematics devoted to quantify uncertainty

3. From among 8 students how many committees consisting of 3 students can be selected?

Chapter 5: GDP and Economic Growth

How to choose an Application specific Signal Detection Threshold for TDA523x based ASK Mode Applications

4.1 Threads in the Server System

Statistics and Data Analysis B

Abstract. Cycle Domain Simulator for Phase-Locked Loops

Summary of Formulas and Concepts. Descriptive Statistics (Ch. 1-4)

Additional Probability Problems

Probability --QUESTIONS-- Principles of Math 12 - Probability Practice Exam 1

Probability & Probability Distributions

Web Streamed SDR s in Service at GB2RHQ Hack Green Bunker

Chapter 4 - Practice Problems 1

MKD UPDATES. Week 1, July M. K. Dandeker & Co. Prepared by: Sudarsan Nambiraghavan. Contributors: Irfan Abdul Ismail

Chapter 3. Probability

Data Modeling & Analysis Techniques. Probability & Statistics. Manfred Huber

Math 141. Lecture 2: More Probability! Albyn Jones 1. jones/courses/ Library 304. Albyn Jones Math 141

Level 2 Routing: LAN Bridges and Switches

Section 6.2 Definition of Probability

Basic Probability Concepts

Data Transfer Tips and Techniques

Small, Sleek, Light. Metal Frame. The size is 119 X 54 X 27mm (PD60 ) 122 X 54 X 27mm (PD66 /68 ), weight is 290g (PD60 )/310g (PD66 /68 ).

MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.

Adversary Modelling 1

Math 370, Actuarial Problemsolving Spring 2008 A.J. Hildebrand. Problem Set 1 (with solutions)

Statistics in Geophysics: Introduction and Probability Theory

CASINO GAMING AMENDMENT RULE (No. 1) 2002

Math 210 Lecture Notes: Ten Probability Review Problems

Model Checking based Software Verification

The Calculus of Probability

ECE302 Spring 2006 HW3 Solutions February 2,

EXAM 1, SPRING ANSWER KEY

Interfacing Analog to Digital Data Converters

Introduction to DISC and Hadoop

Obj: Sec 1.0, to describe the relationship between hardware and software HW: Read p.2 9. Do Now: Name 3 parts of the computer.

Signal Detection. Outline. Detection Theory. Example Applications of Detection Theory

Course Overview Lean Six Sigma Green Belt

<p>a. The name of Instant Game No is CAESARS. The play style is multiple games.

Using the HT46R46 I/O Ports to Implement Half-Duplex SPI Communication

IMPLEMENTATION NOTE. Validating Risk Rating Systems at IRB Institutions

Acoustic Terms, Definitions and General Information

2. Advance Certificate Course in Information Technology

Computer Time Synchronization

Streaming Real Time Quotes Service User Guide

PHASE ESTIMATION ALGORITHM FOR FREQUENCY HOPPED BINARY PSK AND DPSK WAVEFORMS WITH SMALL NUMBER OF REFERENCE SYMBOLS

DATE: January 15, Board of Acquisition and Contract. Commissioner, Department of Social Services

SUPPLY CHAIN ELECTRONIC COMMERCE PARTNER GUIDE

Lecture 4: BK inequality 27th August and 6th September, 2007

Math/Stats 425 Introduction to Probability. 1. Uncertainty and the axioms of probability

1. Introduction to MAM

Numerical Matrix Analysis

Data Sheet. Adaptive Design ltd. Arduino Dual L6470 Stepper Motor Shield V th November L6470 Stepper Motor Shield

Computing Concepts with Java Essentials

a8251 Features General Description Programmable Communications Interface

In the situations that we will encounter, we may generally calculate the probability of an event

Chapter 4 Probability: Overview; Basic Concepts of Probability; Addition Rule; Multiplication Rule: Basics; Multiplication Rule: Complements and

Technical Product Specifications Dell Dimension 2400 Created by: Scott Puckett

Certificate. First steps with the certificate

Scheme for Certification of Design (Building Structures)

Fiber Channel Over Ethernet (FCoE)

Development of the Coding Process Analysis System for Programming Education. Tatsuyuki Takano, Takashi Kohama, Osamu Miyakawa. (pp.

Transcription:

1 6 CONDITIONAL PROBABILITY Example: In a computer installation, 200 programs are written each week, 120 in C ++ and 80 in Java. 60% of the programs written in C ++ compile on the first run and 80% of the Java programs compile on the first run. Compiles Does not compile on first run on first run C ++ 72 48 120 Java 64 16 80 136 64 200 What is the probability that a program chosen at random: 1. compiles in the first run? 2. is written in C ++ and compiles on first run? 3. compiles on the first run if we know it has been written in C ++?

6 CONDITIONAL PROBABILITY 2 Conditional Probability DEFN: The conditional probability of B given A is P(B A) = P(A B) P(A) Terminology: Joint Probability: P(A B) Marginal Probability: P(A), P(B) Conditional Probability: P(A B) or P(B A) A rearrangement of the above definition yields the following: Two events Multiplication Law of Probability: P(A B) = P(A)P(B A) P(B)P(A B) More than two events: P(E 1 E 2 E 3 E k ) = P(E 1 )P(E 2 E 1 )P(E 3 E 1 E 2 ) P(E k E 1 E 2 E k 1 )

6 CONDITIONAL PROBABILITY 3 Examples: 1. Consider four computer firms A, B, C, D bidding for a certain contract. A survey of past bidding success of these firms show the following probabilities of winning: P(A) = 0.35, P(B) = 0.15, P(C) = 0.3, P(D) = 0.2 Before the decision is made to award the contract, firm B withdraws the bid. Find the new probabilities of winning the bid for A, C and D. 2. Pull three cards from a deck without replacement. What is the probability that all are black?

6 CONDITIONAL PROBABILITY 4 Independent Events DEFN: Independent Events A and B are said to be independent if P(A B) = P(A) Multiplication Law Two Independent Events P(A B) = P(A)P(B) More than Two Independent Events P(E 1 E 2 E 3 E k ) = P(E 1 )P(E 2 ) P(E k ) Example: Draw 10 cards from a deck with replacement. What is the probability that all are black?

6 CONDITIONAL PROBABILITY 5 Intel Chips In October 1994, a flaw was discovered in the Pentium chip installed in many new personal computers. The chip produced an incorrect result when dividing two numbers. Intel, the manufacturer of the Pentium chip, initially announced that such an error would occur once in 9 billion divides, or once in 27,000 years for a typical user; consequently it did not immediately offer to replace the chip. (a) For a division performed using the flawed chip, what is the probability that no error will occur? (b) Consider two successive divisions performed using the flawed chip. What is the probability that neither result will be in error? (Assume that any one division has no impact on any other division.) (c) Depending on the procedure, statistical software packages may perform an extremely large number of divisions to produce the required output. For heavy users of the software, one billion divisions over a short time frame is not unusual. Calculate the probability that 1 billion divisions performed using the flawed Pentium chip will result in no errors. (d) Compute the probability that at least one error occurs in the 1 billion divisions. Probability of an error in 1 divide 1 P(E) = 9 billion and the probability of no error in one divide 1 P(E) = 1 9 billion The probability that 1 billion divisions performed using the flawed Pentium chip will result in no errors is ( 1 )1 bill P(E) = 1 9 billion Probability of at least one error in one billion divides ( 1 )1 bill P(at least one error) = 1 1 9 billion

6 CONDITIONAL PROBABILITY 6 We use R to calculate the value: error <- 1/9000000000 noerror <- 1 - error bill<-1000000000 #number of divides noerrorbill<- noerror**bill noerrorbill returns [1] 0.8948393 atleastonebill <- 1-noerrorbill atleastonebill [1] 0.1051607 - over ten percent. Probability of at least one error 0.0 0.2 0.4 0.6 0.8 1.0 2e+09 4e+09 6e+09 8e+09 1e+10 Number of Divisions Two months after the flaw was discovered, Intel agreed to replace all Pentium chips free of charge.

6 CONDITIONAL PROBABILITY 7 Law of Total Probability If a sample space can be partitioned into k mutually exclusive and exhaustive events: A 1, A 2, A 3, A k i.e. S = A 1 A 2 A 3 A k Then for any event E: P(E) = P(A 1 )P(E A 1 ) + P(A 2 )(PE A 2 ) P(A k )P(E A K ) Proof: E = E S = E (A 1 A 2 A k ) = (E A 1 ) (E A 2 ) (E A k ) Since these are mutually exclusive P(E) = P(E A 1 ) + P(E A 2 ) + P(E A k ) = P(A 1 )P(E A 1 ) + P(A 2 )P(E A 2 ) + P(A k )P(E A k )

6 CONDITIONAL PROBABILITY 8 Examples: 1. In a computer installation, 60% of programs are written in C ++ and 40% in Java. 60% of the programs written in C ++ compile on the first run and 80% of the Java programs compile on the first run. (a) What is the overall proportion of programs that compile on first run? 2. In a certain company 50% of documents are written in WORD; 30% in LATEX; 20% in HTML. From past experience it is know that : 40% of the WORD documents exceed 10 pages 20% of the LATEX documents exceed 10 pages 20% of the HTML exceed 10 pages (a) What is the overall proportion of documents containing more than 10 pages?

Examples: 3. Enquiries to an on-line computer system arrive on 5 communication lines. The percentage of messages received through each line are: Line 1 2 3 4 5 % received 20 30 10 15 25 From past experience, it is known that the percentage of messages exceeding 100 characters on the different lines are: Line 1 2 3 4 5 % exceeding 100 characters 40 60 20 80 90 (a) Calculate the overall proportion of messages exceeding 100 characters. Tree Diagram.4.2.3.1.6.2.15.25.8.9

6 CONDITIONAL PROBABILITY 10 Examples: 4. A binary communication channel carries data as one of two sets of signals denoted by 0 and 1. Owing to noise, a transmitted 0 is sometimes received as a 1, and a transmitted 1 is sometimes received as a 0. For a given channel, it can be assumed that a transmitted 0 is correctly received with probability 0.95 and a transmitted 1 is correctly received with probability 0.75. Also, 70% of all messages are transmitted as a 0. If a signal is sent, determine the probability that: (a) a 1 was received; (b) a 0 was received; (c) an error occurred. Tree Diagram.95 (0).7 (0).05 (1).3 (1).25 (0).75 (1)