Chapter 2. Conditional Probability

Similar documents
SOA/CAS MAY 2003 COURSE 1 EXAM SOLUTIONS

Computer Science 786S - Statistical Methods in Natural Language Processing and Data Analysis Page 1

Maximum Entropy and Exponential Families

5.1 Composite Functions

Conditional Probability

NPTEL STRUCTURAL RELIABILITY

Probability Theory. Topic 2. Contents

2 The Bayesian Perspective of Distributions Viewed as Information

Normative and descriptive approaches to multiattribute decision making

Danielle Maddix AA238 Final Project December 9, 2016

Word of Mass: The Relationship between Mass Media and Word-of-Mouth

Hankel Optimal Model Order Reduction 1

Math 151 Introduction to Eigenvectors

Product Policy in Markets with Word-of-Mouth Communication. Technical Appendix

Lecture 7: Sampling/Projections for Least-squares Approximation, Cont. 7 Sampling/Projections for Least-squares Approximation, Cont.

A model for measurement of the states in a coupled-dot qubit

The Hanging Chain. John McCuan. January 19, 2006

15.12 Applications of Suffix Trees

Discrete Mathematics

NEW MEANS OF CYBERNETICS, INFORMATICS, COMPUTER ENGINEERING, AND SYSTEMS ANALYSIS

Complete Shrimp Game Solution

Lecture 3 - Lorentz Transformations

Four-dimensional equation of motion for viscous compressible substance with regard to the acceleration field, pressure field and dissipation field

Mathacle. PSet Stats, Concepts In Statistics Level Number Name: Date:

DIGITAL DISTANCE RELAYING SCHEME FOR PARALLEL TRANSMISSION LINES DURING INTER-CIRCUIT FAULTS

QUANTITATIVE APTITUDE

On the Bit Error Probability of Noisy Channel Networks With Intermediate Node Encoding I. INTRODUCTION

Design and Development of Three Stages Mixed Sampling Plans for Variable Attribute Variable Quality Characteristics

Determination of the reaction order

A Unified View on Multi-class Support Vector Classification Supplement

A Characterization of Wavelet Convergence in Sobolev Spaces

The Effectiveness of the Linear Hull Effect

UTC. Engineering 329. Proportional Controller Design. Speed System. John Beverly. Green Team. John Beverly Keith Skiles John Barker.

Where as discussed previously we interpret solutions to this partial differential equation in the weak sense: b

Chapter-3 PERFORMANCE MEASURES OF A MULTI-EVAPORATOR TYPE COMPRESSOR WITH STANDBY EXPANSION VALVE

CHAPTER P Preparation for Calculus

Advanced Computational Fluid Dynamics AA215A Lecture 4

Relative Maxima and Minima sections 4.3

arxiv: v2 [math.pr] 9 Dec 2016

Model-based mixture discriminant analysis an experimental study

CSC321: 2011 Introduction to Neural Networks and Machine Learning. Lecture 10: The Bayesian way to fit models. Geoffrey Hinton

Probabilistic and nondeterministic aspects of Anonymity 1

Lecture 15 (Nov. 1, 2017)

A NETWORK SIMPLEX ALGORITHM FOR THE MINIMUM COST-BENEFIT NETWORK FLOW PROBLEM

UNCERTAINTY RELATIONS AS A CONSEQUENCE OF THE LORENTZ TRANSFORMATIONS. V. N. Matveev and O. V. Matvejev

CMSC 451: Lecture 9 Greedy Approximation: Set Cover Thursday, Sep 28, 2017

V. Interacting Particles

General Equilibrium. What happens to cause a reaction to come to equilibrium?

Line Radiative Transfer

Determining Probabilities. Product Rule for Ordered Pairs/k-Tuples:

Sufficient Conditions for a Flexible Manufacturing System to be Deadlocked

3. THE SOLUTION OF TRANSFORMATION PARAMETERS

Lecture 11 Buckling of Plates and Sections

Chemistry (Physical chemistry) Lecture 10.

Complexity of Regularization RBF Networks

What s New in ChemSep TM 6.8

Math 220A - Fall 2002 Homework 8 Solutions

TENSOR FORM OF SPECIAL RELATIVITY

Tutorial 4 (week 4) Solutions

Indian Institute of Technology Bombay. Department of Electrical Engineering. EE 325 Probability and Random Processes Lecture Notes 3 July 28, 2014

Bäcklund Transformations: Some Old and New Perspectives

Mathacle. A; if u is not an element of A, then A. Some of the commonly used sets and notations are

Metric of Universe The Causes of Red Shift.

Control Theory association of mathematics and engineering

Solutions Manual. Selected odd-numbered problems in. Chapter 2. for. Proof: Introduction to Higher Mathematics. Seventh Edition

An Adaptive Optimization Approach to Active Cancellation of Repeated Transient Vibration Disturbances

LECTURE NOTES FOR , FALL 2004

MASSACHUSETTS MATHEMATICS LEAGUE CONTEST 3 DECEMBER 2013 ROUND 1 TRIG: RIGHT ANGLE PROBLEMS, LAWS OF SINES AND COSINES

Sampler-A. Secondary Mathematics Assessment. Sampler 521-A

Modeling Probabilistic Measurement Correlations for Problem Determination in Large-Scale Distributed Systems

10.2 The Occurrence of Critical Flow; Controls

UPPER-TRUNCATED POWER LAW DISTRIBUTIONS

Probability Distributions

BAYESIAN NETWORK FOR DECISION AID IN MAINTENANCE

Methods of evaluating tests

Microeconomic Theory I Assignment #7 - Answer key

7.1 Roots of a Polynomial

Millennium Relativity Acceleration Composition. The Relativistic Relationship between Acceleration and Uniform Motion

23.1 Tuning controllers, in the large view Quoting from Section 16.7:

Robust Recovery of Signals From a Structured Union of Subspaces

Counting Idempotent Relations

Supplementary Materials

Optimization of Statistical Decisions for Age Replacement Problems via a New Pivotal Quantity Averaging Approach

CRITICAL EXPONENTS TAKING INTO ACCOUNT DYNAMIC SCALING FOR ADSORPTION ON SMALL-SIZE ONE-DIMENSIONAL CLUSTERS

KINETICS OF IRON OXIDE DIRECT REDUCTION BY COAL E.R. ABRIL 1

Gog and GOGAm pentagons

Particle-wave symmetry in Quantum Mechanics And Special Relativity Theory

EE 321 Project Spring 2018

A simple expression for radial distribution functions of pure fluids and mixtures

Homework Set 4. gas B open end

6.4 Dividing Polynomials: Long Division and Synthetic Division

FINITE WORD LENGTH EFFECTS IN DSP

EECS 120 Signals & Systems University of California, Berkeley: Fall 2005 Gastpar November 16, Solutions to Exam 2

Wavetech, LLC. Ultrafast Pulses and GVD. John O Hara Created: Dec. 6, 2013

Dirac s equation We construct relativistically covariant equation that takes into account also the spin. The kinetic energy operator is

arxiv: v1 [physics.soc-ph] 26 Nov 2014

Likelihood-confidence intervals for quantiles in Extreme Value Distributions

QCLAS Sensor for Purity Monitoring in Medical Gas Supply Lines

A Small Footprint i-vector Extractor

max min z i i=1 x j k s.t. j=1 x j j:i T j

Transcription:

Chapter. Conditional Probability The probabilities assigned to various events depend on what is known about the experimental situation when the assignment is made. For a partiular event A, we have used A) to represent the probability assigned to A; we now think of A) as the original or unonditional probability of the event A.. The definition of onditional probability In this setion, we examine how to information an event B has ourred affets the probability assigned to A. We will use the notation A B) to represent the onditional probability of A given that the event B has ourred. Conditioning is one of the fundamental tools of probability: probably the most fundamental tool. It is espeially helpful for alulating the probabilities of intersetions, suh as A B), whih themselves are ritial for the useful Partition Theorem. Additionally, the whole field of stohasti proesses is based on the idea of onditional probability. What happens next in a proess depends, or is onditional, on what has happened beforehand.

ependent events. Suppose A and B are two events on the same sample spae. There will often be dependene between A and B. This means that if we know that B has ourred, it hanges our knowledge of the hane that A will our. Example: Toss a die one. However, if we know that B has ourred, then there is an inreased hane that A has ourred: Conditioning as reduing the sample spae Example. The ar survey in Examples of basi probability alulations also asked respondents whih they valued more highly in a ar: ease of parking, or style/prestige. Here are the responses: Suppose we pik a respondent at random from all those in the table.

Let event A = respondent thinks that prestige is more important. Suppose we redue our sample spae from

This is our definition of onditional probability: efinition: Let A and B be two events with B)>0. The onditional probability that event A ours, given that event B has ourred, is written A B), and is given by Note: Follow the reasoning above arefully. It is important to understand why the onditional probability is the probability of the intersetion within the new sample spae Conditioning on event B means hanging the sample spae to B. Think of A B) as the hane of getting an A, from the set of B's only. The Multipliation Rule For any events A and B,

New statement of the Partition Theorem (The Law of Total Probability) The Multipliation Rule gives us a new statement of the Partition Theorem (Total Probability Theorem) Both formulations of the Partition Theorem are very widely used, but espeially the onditional formulation Examples of onditional probability and partitions Example. A news magazine publishes three olumns entitled Art (A), Books (B), and Cinema (C). Reading habits of a randomly seleted reader with respet to these olumns are Read regularly A B C A B A C B C A B C Probability 0. 0. 0.7 0.08 0.09 0. 0.05 We thus have A B) 0.08 A B) 0.8 B) 0. A ( B C)) 0.0 0.05 0.0 A B C) 0.55 B C) 0.7 A ( A B C)) A reads at least one) A A B C) A B C) A) 0. 0.86 A B C) 0.9 ( A B) C)) 0.0 0.05 0.08 A B C) 0.59 C) 0.7

Example. Four individuals have responded to a request by a blood bank for blood donations. None of them has donated before, so their blood types are unknown. Suppose only type A+ is desired and only one of the four atually has this type. If the potential donors are seleted in random order for typing, what is the probability that at least three individuals must by typed to obtain the desired type? Solution. Making the identifiation B={first type not A+} and A={seond type not A+}, B)=/. Given that the first type is not A+, two of the three individuals left are not A+, so A B)=/. The multipliation rule now gives at least three individuals are typed)=a B)=A B)B) =/*/=0.5 The multipliation rule is most useful when the experiment onsists of several stages in suession. The onditioning event B then desribes the outome of the first stage and A the outome of the seond, so that A B)-onditioning on what ours first-will often be known. stages. The rule is easily extended to experiments involving more than two More than two events To find A A A ), we an apply the multipliation rule suessively: Where A ours first, followed by A, and finally A.

Example 5. For the blood typing experiment of the above example, third type is A) third is first isn' t seond isn' t) seond isn' t first isn' t) first isn' t) 0.5 Example 6: A box ontains w white balls and r red balls. raw balls without replaement. What is the probability of getting the sequene white, red, white? Solution: Example 7. Tom gets the bus to ampus every day. The bus is on time with probability 0.6, and late with probability 0.. The sample spae an be written as We an formulate events as follows: T = on time ; L = late. From the information given, the events have probabilities: T) = 0.6 ; L) = 0. Question(a) o the events T and L form a partition of the sample spae? Explain why or why not. Solution. Yes. They over all possible journeys (probabilities sum to ), and there is no overlap in the events by definition.

The buses are sometimes rowded and sometimes noisy, both of whih are problems for Tom as he likes to use the bus journeys to do his Stats assignments. When the bus is on time, it is rowded with probability 0.5. When it is late, it is rowded with probability 0.7. The bus is noisy with probability 0.8 when it is rowded, and with probability 0. when it is not rowded. Question(b) Formulate events C and N orresponding to the bus being rowded and noisy. o the events C and N form a partition of the sample spae? Explain why or why not. Solution. Let C = rowded, N = noisy. C and N do NOT form a partition of. It is possible for the bus to be noisy when it is rowded, so there must be some overlap between C and N. Question() Write down probability statements orresponding to the information given above. Your answer should involve two statements linking C with T and L, and two statements linking N with C. Solution. Questin(d) Find the probability that the bus is rowded.

Question(e) Find the probability that the bus is noisy. Example 8. A hain of video stores sells three different brands of VCRs. Of its VCR sales, 50% are brand (the least expensive), 0% are brand, and 0% are brand. Eah manufaturer offers a -year warranty on parts and labor. It is known that 5% of brand s VCRs require warranty repair work, whereas the orresponding perentages for brands and are 0% and 0%, respetively. Question(a) What is the probability that a randomly seleted purhaser has bought a brand VCR that will need repair while under warranty? Question(b) What is the probability that a randomly seleted purhaser has a VCR that will need repair while under warranty? Question() If a ustomer returns to the store with a VCR that needs warranty repair work, what is the probability that it is a brand VCR? A brand VCR? A brand VCR? Solution. Let (a) A i ={brand i is purhased}, for i=,,and. B={needs repair}, B ={doesn t need repair}. Then A )=0.5, A )=0., A )=0. B A )=0.5, B A )=0., B A )=0.. A B )=B A ) A )=0.5*0.5=0.5 (b) B)=(brand and repair) or (brand and repair) or (brand and repair)) = A B )+ A B )+ A B )=0.5+0.06+0.0=0.05 A 0.5 () A B )= B) A 0. 6, A B )= B) 0.06 0. 9 B) 0.05 B) 0.05 A B )=- A B )- A B )=0.

. Statistial Independene Two events A and B are statistially independent if the ourrene of one does not affet the ourrene of the other. We use this as our definition of statistial independene. For more than two events, we say: Statistial independene for alulating the probability of an intersetion We usually have two hoies.

. IF A and B are statistially independent, then. If A and B are not known to be statistially independent, we usually have to use onditional probability and the multipliation rule: This still requires us to be able to alulate A B). Note: If events are physially independent, then they will also be statistially independent. Pairwise independene does not imply mutual independene Example 9. A jar ontains balls: one red, one white, one blue, and one red, white& blue. raw one ball at random. So A, B and C are NOT mutually independent, despite being pairwise independent.

Example 0. It is known that 0% of a ertain ompany s washing mahines require servie while under warranty, whereas only 0% of its dryers need suh servie. If someone purhases both a washer and a dryer made by this ompany, what is the probability that both mahines need warranty servie? Let A denote the event that the washer needs servie while under warranty, Let B defined analogously for the dryer. Then A)=0., B)=0.. Assuming that the two mahines funtion independently of one another, the desired probability is P ( A B) A) B) 0. 0. 0.0 The probability that neither mahine needs servie is P ( A' B') A') B') (0.7)(0.9) 0.6. Example. A system onsists of four omponents, as illustrated in Fig.The entire system will work if either the - subsystem works or if the - subsystem works (sine the two subsystems are onneted in parallel). Sine the two omponents in eah subsystem are onneted in series, a subsystem will work only if both its omponents work. If omponents work or fail independently of one another and if eah works with probability 0.9, what is the probability that the entire system will work (the system reliability oeffiient)? Letting A i (i=,,,) be the event that the ith omponent works, the mutually independent. A i s are The event that the - subsystem works in A A, and similarly, A A denotes the event that the - subsystem works. The event that the entire system works is A A ) ( A ), so P[( A A ) ( A A )] A 0.966 A ) A A ) P[( A ( A A ) ( A A ) A ) A ) A ) A ) A ) A ) A ) (0.9)(0.9) (0.9)(0.9) (0.9)(0.9)(0.9)(0.9) A )]

Example. Suppose that a mahine produes a defetive item with probability p (0<p<) and produes a nondefetive item with probability -p. Suppose further that six items produed by the mahine are seleted at random and inspeted, and that the results (defetive or nondefetive) for these six items are independent. We shall determine the probability that exatly two of the six items are defetive. Solution. It an be assumed that the sample spae S ontains all possible arrangements of six items, eah one of whih might be either defetive or nondefetive. Let j denote the event that the jth item in the sample is defetive, then j is the event that this item is nondefetive. Sine the outomes for the six different items are independent, the probability of obtaining any partiular sequene of defetive and nondefetive items will simply be the produt of the individual probabilities for the items. For example, 5 ) 6 ) ) ) ) ( p) p( p)( p) p( p) p ( p). 5 ) It an be seen that the probability of any other partiular sequene in S ontaining two defetive items and four nondefetive items will also be p ( p). 6 ) Sine there are 6 distint arrangements of two defetive items and four nondefetive items. 6 The probability of obtaining exatly two defetives is p ( p).. Bayes' Theorem: inverting onditional probabilities Then This is the simplest form of Bayes' Theorem, named after Thomas Bayes (70-6), English lergyman and founder of Bayesian Statistis. Bayes' Theorem allows us to invert the onditioning, i.e. to

express B A) in terms of A B). This is very useful. For example, it might be easy to alulate, later event earlier event); but we might only observe the later event and wish to dedue the probability that the earlier event ourred, earlier event later event) Full statement of Bayes' Theorem: Example. The ase of the Perfidious Gardener. Mr Smith owns a hysterial rosebush. It will die with probability / if watered, and with probability / if not watered. Worse still, Smith employs a perfidious gardener who will fail to water the rosebush with probability /. Smith returns from holiday to find the rosebush... EA!! What is the probability that the gardener did not water it?

So the gardener failed to water the rosebush with probability /. Example. The ase of the efetive Kethup Bottle. Kethup bottles are produed in different fatories, aounting for 50%, 0%, and 0% of the total output respetively. The perentage of defetive bottles from the fatories is respetively 0.%, 0.6%, and.%. A statistis leturer who eats only kethup finds a defetive bottle in her wig. What is the probability that it ame from Fatory? Information given: