Presentation is loading. Please wait.

Presentation is loading. Please wait.

Topic 2: Intro to probability CEE 11 Spring 2002 Dr. Amelia Regan These notes draw liberally from the class text, Probability and Statistics for Engineering.

Similar presentations


Presentation on theme: "Topic 2: Intro to probability CEE 11 Spring 2002 Dr. Amelia Regan These notes draw liberally from the class text, Probability and Statistics for Engineering."— Presentation transcript:

1 Topic 2: Intro to probability CEE 11 Spring 2002 Dr. Amelia Regan These notes draw liberally from the class text, Probability and Statistics for Engineering and the Sciences by Jay L. Devore, Duxbury 1995 (4th edition) This topic also draws from Probability Concepts in Engineering Planning and Design: Volume I - Basic Principles by A. H-S. Ang and W. H.Tang, John Wiley & Sons, 1975

2 definitions n The set of all outcomes in a probabilistic problem is collectively a sample space. n Each of the individual possibilities is a sample point. n An event is defined as a subset of the sample space. n Sample space may be discrete or continuous. n A discrete sample space may be finite or countably infinite. u Examples: {H,T}, {1,2,3,4,5,6}, {1/2,1/4,1/8,…1/n}

3 Class Exercise n Problem 3.6, slightly modified. Starting at a fixed time, each car entering an intersection is observed to see whether it turns left (L), right (R) or goes straight ahead (S). The experiment terminates as soon as a car is observed to turn left. n Let the random variable X be equal to the number of cars entering the intersection before a car turns left. n What are the possible values for X? n List 5 outcomes and their associated X values.

4 definitions n If the occurrence of one event precludes the occurrence of another event the two are said to be mutually exclusive. If two events A and B are mutually exclusive then: n Two or more events are said to be collectively exhaustive if the union of all of these events constitute the underlying sample space.

5 some basic properties of probability n For any event A, P(A)  0. (no negative probabilities) n Let S represent the sample space, P(S) = 1 (probabilities sum to one) n if A 1, A 2,...,A n is a finite collection of mutually exclusive events, then (the probability that at least one will occur is the sum of the individual probabilities of each occurring)

6 some basic properties of probability n For any event A Illustrate this with a Venn Diagram here

7 some basic properties of probability n For any two events A and B Illustrate this with a Venn Diagram here

8 some basic properties of probability n Similarly Illustrate this with a Venn Diagram here

9 some basic properties of probability n For any events A and B Illustrate this with a Venn Diagram here

10 conditional probability n For any two events A and B with P(B) > 0, the conditional probability of A given that B has occurred is defined by n Note that the multiplication rule for P(A intersection B) follows directly

11 Example n In a game show a contestant is asked to pick from one of three doors. Behind one of the doors is a new car which he gets to keep if he selects that door. n The contestant picks door number 1. n One of the other two doors is selected at random and is opened (say door 2). The car is not behind door 2. Now what are the chances that the car is behind door number 1?

12 The “Monty Hall” Problem n This is actually a well known problem. n In a game show a contestant is asked to pick from one of three doors. Behind one of the doors is a new car which he gets to keep if he selects that door. n The contestant picks door number 1. n The host (Monty Hall), who knows where the prize is, opens a door behind which there is no prize. n The contestant is offered a chance to switch his choice. Should he switch?

13 Bayes’ Theorem n The multiplication rule leads directly to Bayes’ Theorem which is used to compute posterior probabilities from given prior probabilities. First we need the law of total probability...

14 Bayes’ Theorem n Let A 1, A 2,..., A n be a collection of n mutually exclusive and collectively exhaustive events. Then for any other event B for which P(B) > 0, The law of total probability states that

15 Bayes’ Theorem n Remember the diagram associated with the law of total probability n The rectangular region represents the universe which is divided into non-overlapping areas which together cover the whole region. The probability that B occurs the sum of the probabilities that B occurs with any of the mutually exclusive and collectively exhaustive events. B A 1 A 2 … A n

16 Bayes’ Theorem n Let A 1, A 2,..., A n be a collection of n mutually exclusive and collectively exhaustive events with P(A i ) > 0 for i=1,...,n. Then for any other event B for which P(B) > 0 n The second form follows directly from the first by using the multiplication rule in the numerator and the law of total probability in the denominator

17 Example (law of total probability) n Assume that 1 in 10,000 adults is inflicted with a rare disease. n A diagnostic test is developed – the test is 99% accurate (1% false negatives and 1% false positives) n If a person tests positive – what is the probability she has the disease? – Less than 10%?

18 independence n Two events A and B are independent if n They are dependent otherwise

19 independence n Remember that in general n However, if A and B are independent then n In fact, A and B are independent if and only if the above is true

20 independence n Events A 1, A 2,...., A n are mutually independent if for every k (k = 2,3,...,n) and every subset of indices i 1, i 2, i 3,...,i n,

21 independence n Question: If two events are mutually exclusive can they also be independent?

22 Class Exercise n A construction company has the opportunity to bid on three jobs (A,B and C). From historical data the company believes its changes of winning each job is 0.20, 0.50 and 0.10. Its chances of winning all three jobs is 0.05. The probability that it will win both A and B is 0.10. For A and C and B and C the probabilities are 0.07 and 0.06. n Are the events that the construction company is awarded jobs A, B and C independent? Why or why not?

23 Class Exercise n A construction company has the opportunity to bid on three jobs (A,B and C). From historical data the company believes its changes of winning each job is 0.20, 0.50 and 0.10. Its chances of winning all three jobs is 0.05. The probability that it will win both A and B is 0.10. For A and C and B and C the probabilities are 0.07 and 0.06. n Calculate the following probabilities: The company wins none of the jobs The company wins only job A The company wins only one of the jobs Hint -- draw and label a Venn Diagram

24 Class Exercise n A construction company has the opportunity to bid on three jobs (A,B and C). From historical data the company believes its changes of winning each job is 0.20, 0.50 and 0.10. Its chances of winning all three jobs is 0.05. The probability that it will win both A and B is 0.10. For A and C and B and C the probabilities are 0.07 and 0.06. n Calculate the following conditional probabilities: A given B C given A C given A and B


Download ppt "Topic 2: Intro to probability CEE 11 Spring 2002 Dr. Amelia Regan These notes draw liberally from the class text, Probability and Statistics for Engineering."

Similar presentations


Ads by Google