Beruflich Dokumente
Kultur Dokumente
Chapter Goals
After completing this chapter, you should be able to: Explain three approaches to assessing probabilities Apply common rules of probability Use Bayes Theorem for conditional probabilities Distinguish between discrete and continuous probability distributions Compute the expected value and standard
Important Terms
Probability the chance that an uncertain event will occur (always between 0 and 1) Experiment a process of obtaining outcomes for uncertain events Elementary Event the most basic outcome possible from a simple experiment Sample Space the collection of all possible elementary outcomes
3
Sample Space
The Sample Space is the collection of all possible outcomes e.g. All 6 faces of a die:
Events
Elementary event An outcome from a sample space with one characteristic
Example: A red card from a deck of cards
Visualizing Events
Contingency Tables
Ace Black Red Total 2 2 4 Not Ace 24 24 48 2 24 2 24
6
Total 26 26 52
Sample Space
Sample Space
Tree Diagrams
Full Deck of 52 Cards
Elementary Events
A automobile consultant records fuel type and vehicle type for a sample of vehicles
2 Fuel types: Gasoline, Diesel 3 Vehicle types: Truck, Car, SUV
e1
6 possible elementary events: e1 Gasoline, Truck e2 Gasoline, Car e3 Gasoline, SUV e4 Diesel, Truck e5 Diesel, Car e6 Diesel, SUV
Car
e2 e3 e4
Car
e5 e6
7
Probability Concepts
Mutually Exclusive Events
If E1 occurs, then E2 cannot occur E1 and E2 have no common elements
E1 Black Cards E2 Red Cards A card cannot be Black and Red at the same time.
Probability Concepts
Independent and Dependent Events
Independent: Occurrence of one does not influence the probability of occurrence of the other Dependent: Occurrence of one affects the probability of the other
Assigning Probability
Classical Probability Assessment
P(Ei) = Number of ways Ei can occur Total number of elementary events
Rules of Probability
Rules for Possible Values and Sum Individual Values 0 P(ei) 1 For any event ei
where: k = Number of elementary events in the sample space ei = ith elementary event
12
P(e ) ! 1
i i!1
Complement Rule
The complement of an event E is the collection of all possible elementary events not contained in event E. The complement of event E is represented by E.
Complement Rule:
P( E ) ! 1 P(E)
Or,
P(E) P( E ) ! 1
14
E1
E2
E1
E2
Color
Red Black
Total 4 48 52
2 24 26
2 24 26
16
Conditional Probability
Conditional probability for any two events E1 , E2:
19
AC No AC Total
.2 .2 .4
.5 .1 .6
.7 .3 1.0
CD
No CD
Total
AC No AC Total
.2 .2 .4
.5 .1 .6
.7 .3 1.0
where
P(E2 ) " 0
where
P(E1 ) " 0
22
Multiplication Rules
Multiplication rule for two events E1 and E2:
P(E 2 | E1 ) ! P(E 2 )
P(E1 and E4) = 0.8 x 0.5 = 0.40 P(E1 and E5) = 0.8 x 0.3 = 0.24
P(E2 and E4) = 0.2 x 0.1 = 0.02 P(E3 and E4) = 0.2 x 0.3 = 0.06
24
Bayes Theorem
where: Ei = ith event of interest of the k possible events P(Ei )P(B | Ei ) B ! new event that might impact P(Ei) = P(Ei | B) P(E to Ek are mutually exclusive E 2 - P(Ek )P(B | Events E1 1 )P(B | E1 ) P(E 2 )P(B | and )collectively exhaustiveEk )
25
Let S = successful well and U = unsuccessful well P(S) = .4 , P(U) = .6 (prior probabilities) Define the detailed test event as D Conditional probabilities:
P(D|S) = .6
Revised probabilities
Event S (successful) U (unsuccessful) Prior Prob. .4 .6
P(D|U) = .2
Conditional Prob. .6 .2 Joint Prob. .4*.6 = .24 .6*.2 = .12 Revised Prob. .24/.36 = .67 .12/.36 = .33
27
Sum = .36
Given the detailed test, the revised probability of a successful well has risen to .67 from the original estimate of .4
Prior Prob. .4 .6
Conditional Prob. .6 .2
Sum = .36
28
29
Let x = # heads.
Probability Distribution
T T H H
1/4 T = .25
H
Probability
T H
.50 .25
31
32
x 0 1 2
(continued)
{x E(x)} P(x)
2
where: E(x) = Expected value of the random variable x = Values of the random variable P(x) = Probability of the random variable having the value of x
34
(continued)
{x E(x)} P(x)
2
Possible number of heads = 0, 1, or 2
35
Covariance
Covariance between two discrete random variables: = 7 [xi E(x)][yj E(y)]P(xiyj)
xy
where: xi = possible values of the x discrete random variable yj = possible values of the y discrete random variable P(xi ,yj) = joint probability of the values of xi and yj occurring
37
Interpreting Covariance
Covariance between two discrete random variables: Wxy > 0 Wxy < 0 Wxy = 0
x and y tend to move in the same direction x and y tend to move in opposite directions x and y do not move closely together
38
Correlation Coefficient
The Correlation Coefficient shows the strength of the linear association between two variables
!
where:
xy x y
= correlation coefficient (rho) xy = covariance between x and y x = standard deviation of variable x y = standard deviation of variable y
39
The farther V is from zero, the stronger the linear relationship: V = +1 V = -1 x and y have a perfect positive linear relationship x and y have a perfect negative linear relationship
40