Professional Documents
Culture Documents
1
Chapter Goals
After completing this chapter, one should be able to:
Explain basic probability concepts and definitions
Use a Venn diagram or tree diagram to illustrate simple
probabilities
Apply common rules of probability
Compute conditional probabilities
Determine whether events are statistically independent
Use Bayes’ Theorem for conditional probabilities
Compute mathematical expectation
Have knowledge of discrete & continuous probability
distributions: (Binomial & Poisson) & (Gaussian)
Understand basic concepts of Decision Analysis
2
Section on
Rules of Counting, Sets, Probability
3
Fundamental Counting Principle
4
Fundamental Counting Principle
Lets start with a simple example.
A student is to roll a die and flip a coin.
How many possible outcomes will there be?
1H 2H 3H 4H 5H 6H
1T 2T 3T 4T 5T 6T 6*2 = 12 outcomes
12 outcomes
3*2*1 = 6 3! = 3*2*1 = 6
ABC ACB BAC BCA CAB CBA 6
Permutations
To find the number of Permutations of n items chosen r at a time,
you can use the formula
n!
n p r ( n r )! where 0 r n.
5! 5!
Practice: 5 p3
( 5 3 )! 2!
5 * 4 * 3 60
n!
To find the number of C where 0 r n .
n r r!(n r )!
Combinations of nn
items chosen rr at a 5! 5!
5 C3
time, you can use the 3! (5 3)! 3!2!
formula
5 * 4 * 3 * 2 * 1 5 * 4 20
10
3 * 2 * 1* 2 * 1 2 * 1 2
8
Combinations
2 C1 * 5 C 2 * 4 C 2
10
Important Terms
(continued)
Intersection of Events – If A
S
and B are two events in a
sample space S, then the A
intersection, A Ç B, is the set of B
A
B
all outcomes in S that belong to
both A and B
Union of Events – If A
S
and B are two events in
a sample space S, then
the union, A U B, is the A B
set of all outcomes in S
that belong to either
The entire shaded area represents A U B
A or B 11
Important Terms (continued)
S = {1, 2, 3, 4, 5, 6}
Unions: A B {2, 4, 5, 6}
A A {1, 2, 3, 4, 5, 6} S
Mutually exclusive:
A and B are not mutually exclusive
The outcomes 4 and 6 are common to both
Collectively exhaustive:
A and B are not collectively exhaustive
A U B does not contain 1 or 3 14
Probability
Probability – the chance that an
uncertain event will occur (always
between 0 and 1) 1 Certain
Probability Postulates
1. If A is any event in the sample space S, then
0 P(A) 1
.5
2. Let A be an event in S, and let Oi denote the
basic outcomes. Then P(A)
P(O )
A
i
15
Assessing Probability
Three approaches to assess probability of an uncertain
event
1. classical probability
NA number of outcomes that satisfy the event
probability of event A
N total number of outcomes in the sample space
Assumes all outcomes in the sample space are equally likely to occur
2. relative frequency probability
nA number of events in the population that satisfy event A
probabilit y of event A
n total number of events in the population
16
Probability Rules
The Complement rule: P(A) 1 P(A) i.e., P(A) P(A) 1
17
A Probability Table
B B
18
Addition Rule Example
Consider a standard deck of 52 cards, with four suits:
©§¨ª
Let event A = card is an Ace. Let event B = card is from a red suit
P(Red U Ace) = P(Red) + P(Ace) - P(Red Ç Ace)
20
Conditional Probability Example
21
Conditional Probability Example
(continued)
Of the cars on a used car lot, 70% have air conditioning
(AC) and 40% have a CD player (CD).
20% of the cars have both.
CD No CD Total
AC .2 .5 .7
No AC .2 .1 .3
Total .4 .6 1.0
P(CD AC) .2
P(CD | AC) .2857
P(AC) .7
22
Conditional Probability Example
(continued)
Given AC, we only consider the top row (70% of the cars). Of these,
20% have a CD player. 20% of 70% is 28.57%.
CD No CD Total
AC .2 .5 .7
No AC .2 .1 .3
Total .4 .6 1.0
P(CD AC) .2
P(CD | AC) .2857
P(AC) .7
23
Multiplication Rule & Its Example
Multiplication rule for two events A and B:
P(A B) P(A | B) P(B)
also P(A B) P(B | A) P(A)
P(Red Ç Ace) = P(Red| Ace)P(Ace)
2 4 2
4 52 52
number of cards that are red and ace 2
total number of cards 52
Color
Type Red Black Total
Ace 2 2 4
Non-Ace 24 24 48
Total 26 26 52 24
Statistical Independence
Two events are statistically independent
if and only if:
P(A B) P(A) P(B)
Events A and B are independent when the probability of one
event is not affected by the other event
If A and B are independent, then
25
Statistical Independence Example (continued)
Of the cars on a used car lot, 70% have air conditioning
(AC) and 40% have a CD player (CD). 20% of the cars
have both.
Are the events AC and CD statistically independent?
CD No CD Total
AC .2 .5 .7
No AC .2 .1 .3
Total .4 .6 1.0
P(AC Ç CD) = 0.2
P(AC) = 0.7
P(AC)P(CD) = (0.7)(0.4) = 0.28
P(CD) = 0.4
P(Ace)
2 2 4
P(Ace Red) P(Ace Black)
52 52 52
Color
Type Red Black Total
Ace 2 2 4
Non-Ace 24 24 48
Total 26 26 52
27
Using a Tree Diagram
(Not included for the Final Exam)
.2
.7 P(AC Ç CD) = .2
Given AC or
no AC:
P(AC Ç CD) = .5
.5
.7
All
Cars
.2
.3 P(AC Ç CD) = .2
.1 P(AC Ç CD) = .1
.3 28
Summary of Probability Section
29
Section on
Random Variable and Probability Distributions
30
Introduction to
Probability Distributions
Random Variable
Represents a possible numerical value from
a random experiment
Random
Variables
Discrete Continuous
Random Variable Random Variable
31
Discrete Random Variables
Can only take on a countable number of values
Examples:
32
Discrete Probability Distribution
Experiment: Toss 2 Coins. Let X = # heads.
Show P(x) , i.e., P(X = x) , for all values of x:
4 possible outcomes
Probability Distribution
T T x Value Probability
0 1/4 = .25
T H 1 2/4 = .50
2 1/4 = .25
H T
Probability
.50
H H .25
0 1 2 x 33
Probability Distribution
Required Properties
P(x) 1
x
34
Expected Value
Expected Value (or mean) of a discrete
distribution (Weighted Average)
E(x) xP(x)
x
x P(x)
Example: Toss 2 coins, 0 .25
x = # of heads, 1 .50
35
Variance and Standard Deviation
Variance of a discrete random variable X
s 2 E(X ) 2 (x ) 2 P(x)
x
2
s 2 E(X 2 ) - E(X) x 2 P(x) xP(x)
2
x x
Standard Deviation of a discrete random variable X
2
x
(x ) 2 P(x)
Probability
Distributions
Discrete Continuous
Probability Probability
Distributions Distributions
Binomial Uniform
Poisson Exponential
37
Discrete Probability Distribution
Binomial Probability Distribution
A fixed number of observations, n
e.g., 15 tosses of a coin; ten light bulbs taken from a warehouse
Two mutually exclusive and collectively exhaustive
categories
e.g., head or tail in each toss of a coin; defective or not defective
light bulb
Generally called “success” and “failure”
Probability of success is P , probability of failure is 1 – P
Constant probability for each observation
e.g., Probability of getting a tail is the same each time we toss
the coin
Observations are independent
The outcome of one observation does not affect the outcome of
the other
38
Possible Binomial Distribution Settings
39
Binomial Distribution Formula
n! X nX
P(x) P (1- P)
x ! (n x )!
P(x) = probability of x successes in n trials,
with probability of success P on each trial
Example: Flip a coin four
times, let x = # heads:
x = number of ‘successes’ in sample,
n=4
(x = 0, 1, 2, ..., n)
P = 0.5
n = sample size (number of trials
or observations) 1 - P = (1 - 0.5) = 0.5
P = probability of “success” x = 0, 1, 2, 3, 4
1- P = probability of “failure”
40
Example:
Calculating a Binomial Probability
What is the probability of one success in five
observations if the probability of success is 0.1?
x = 1, n = 5, and P = 0.1
n!
P(x 1) P X (1 P)n X
x! (n x)!
5!
(0.1)1(1 0.1)51
1! (5 1)!
(5)(0.1)(0.9) 4
.32805
41
Binomial Distribution
The shape of the binomial distribution depends on the
values of P and n
Mean P(x) n = 5 P = 0.1
.6
Here, n = 5 and P = 0.1 .4
.2
0 x
0 1 2 3 4 5
.6
P(x) n = 5 P = 0.5
Here, n = 5 and P = 0.5
.4
.2
0 x
0 1 2 3 4 5
42
Binomial Di tribution: Mean & Variance
Mean E(x) nP
Variance s nP(1- P)
2
s nP(1- P)
Standard Deviation
Example
nP (5)(0.1) 0.5
Mean P(x) n = 5 P = 0.1
.6
.4
s nP(1- P) (5)(0.1)(1 0.1) .2
0.6708 0 x
0 1 2 3 4 5
44
U ing PHStat
(Not included for the Final Exam)
(continued)
Enter de ired value in dialog box
Here: n = 10
p = .35
Output for x = 0
to x = 10 will be
generated by PHStat
45
PHStat Output
(Not included for the Final Exam)
47
Poi on Di tribution Characteri tic
(Not included for the Final Exam)
x where:
e
P(x) x = number of ucce e per unit
x! = expected number of ucce e per unit
e = ba e of the natural logarithm y tem (2.71828...)
Mean
E(x)
Variance and Standard Deviation
s E[( X ) ]
2 2
s
where = expected number of ucce e per unit 48
Graph of Poi on Probabilitie
(Not included for the Final Exam)
0.70
Graphically: 0.60
= .50 0.50
= P(x) 0.40
X 0.50
0.30
0 0.6065
0.20
1 0.3033
2 0.0758 0.10
3 0.0126 0.00
0 1 2 3 4 5 6 7
4 0.0016
5 0.0002 x
6 0.0000
P(X = 2) = .0758
7 0.0000
49
Poi on Di tribution Shape
(Not included for the Final Exam)
0.70
= 0.50 0.25
= 3.00
0.60
0.20
0.50
0.15
0.40
P(x)
P(x)
0.30 0.10
0.20
0.05
0.10
0.00 0.00
0 1 2 3 4 5 6 7 1 2 3 4 5 6 7 8 9 10 11 12
x x
50
Joint Probability Function
(Not included for the Final Exam)
A joint probability function i u ed to expre the
probability that X take the pecific value x and
imultaneou ly Y take the value y, a a function of x
and y
P(x, y) P(X x Y y)
The marginal probabilitie are
51
Conditional Probability Function
(Not included for the Final Exam)
The conditional probability function of the random
variable Y expre e the probability that Y take the
value y when the value x i pecified for X.
P(x, y)
P(y | x)
P(x)
P(x, y) P(x)P(y)
for all possible pairs of values x and y
An equivalent expression is
Cov(X, Y) E(XY) x y xyP(x, y) x y
x y
54
Covariance and Independence
55
Correlation
(Not included for the Final Exam)
The correlation between X and Y is:
Cov(X, Y)
Corr(X, Y)
X Y
56
Portfolio Analysis
(Not included for the Final Exam)
Let random variable X be the price for stock A
Let random variable Y be the price for stock B
The market value, W, for the portfolio is given by the
linear function
W aX bY
(a is the number of shares of stock A,
b is the number of shares of stock B)
57
Portfolio Analysis
(Not included for the Final Exam) (continued)
58
Example: Investment Returns
(Not included for the Final Exam)
Return per $1,000 for two types of investments
Investment
P(xiyi) Economic condition Passive Fund X Aggressive Fund Y
.2 Recession - $ 25 - $200
.5 Stable Economy + 50 + 60
.3 Expanding Economy + 100 + 350
61
Portfolio Example
(Not included for the Final Exam)
Investment X: x = 50 x = 43.30
Investment Y: y = 95 y = 193.21
xy = 8250
133.04
The portfolio return and portfolio variability are between the values
for investments X and Y considered individually
62
Interpreting the Results for Investment Returns
(Not included for the Final Exam)
y = 95 > x = 50
but
y = 193.21 > x = 43.30
64
The Normal Distribution
Bell Shaped
Symmetrical
Mean, Median & Mode are Equal f(X)
Occurs often in business
Most commonly, it occurs because
of random errors
Location is determined by the X
mean,
Spread is determined by the
standard deviation, Mean
The random variable has an infinite
theoretical range:
= Median
+ to = Mode
65
The Normal Distribution
Density Function
(Not included in the final exam)
66
Many Normal Distributions
67
Translation to the Standardized
Normal Distribution
Any normal distribution (with any mean and
standard deviation combination) can be
transformed into the standardized normal
distribution (Z)
Need to transform X units into Z units
The standardized normal distribution (Z) has a
mean of 0 and a standard deviation of 1
Translate from X to the standardized normal (the
“Z” distribution) by subtracting the mean of X and
dividing by its standard deviation: X
The Z distribution always has mean = 0 and standard
Z
deviation = 1
68
The Standardized Normal
Probability Density Function
(Not included for the final exam)
The formula for the standardized normal
probability density function is
1 (1/2)Z 2
f(Z) e
2
69
The Standardized Normal Distribution
(Not included for the final exam)
1
Z
0
Values above the mean have positive Z-values,
values below the mean have negative Z-values
70
Example
X 200 100
Z 2.0
50
This says that X = 200 is two standard
deviations (2 increments of 50 units) above
the mean of 100.
71
Comparing X and Z units
(Not included for the final exam)
0 2.0 Z ( = 0, = 1)
73
Finding Normal Probabilities
(Not included for the final exam)
a b X
74
Probability as Area Under the Curve
(Not included for the final exam)
The total area under the curve is 1.0, and the curve is
symmetric, so half is above the mean, half is below
f(X) P( X ) 0.5
P( X ) 0.5
0.5 0.5
X
P( X ) 1.0
75
General Procedure for
Finding Normal Probabilities
76
Empirical Rules
± 1s enclo e about
68.26% of X’
s s
-1s +1s X
68.26%
77
The Empirical Rule
(continued)
2s 2s 3s 3s
x x
95.44% 99.73%
78
Section Summary
79
Section on
Decision making/ Decision Analysis
80
Learning Objectives
In this section, one will learn:
Steps for decision analysis
course of action
To use Bayes’ theorem to revise probabilities in
81
Five Steps in Decision Making
1. Clearly define the problem
2. List all possible alternatives
3. Identify all possible outcomes for each
alternative
4. Identify the payoff for each alternative &
outcome combination
5. Use a decision modeling technique to choose
an alternative
82
Decision Analysis
Types of Decision modeling Environments
Type 1: Decision making under certainty
Type 2: Decision making under uncertainty
Type 3: Decision making under risk
Certainty
Decision Maker knows with certainty what the state of
nature will be - only one possible state of nature
Ignorance
Decision Maker knows all possible states of nature, but
does not know probability of occurrence
Risk
Decision Maker knows all possible states of nature, and
can assign probability of occurrence for each state 83
Some Risks
Weather changes Community opposition
Different productivity Infighting & acrimonious
(Sub)contractors are relationships
Unreliable Unrealistically low bid
Lack capacity to do work Late-stage design
Lack availability to do work changes
Unscrupulous Unexpected subsurface
Financially unstable conditions
Late materials delivery Soil type
Lawsuits Groundwater
Labor difficulties Unexpected Obstacles
Unexpected Settlement of adjacent
manufacturing costs structures
Failure to find sufficient High lifecycle costs
tenants Permitting problems
… 84
Decision Making Under Uncertainty
The consequence of every alternative is known
Usually there is only one outcome for each
alternative
This seldom occurs in reality
Probabilities of the possible outcomes are not
known
Decision making methods:
1. Maximax
2. Maximin
3. Criterion of realism
4. Equally likely
5. Minimax regret 85
Decision Making Under Certainty
(Not included in the final exam)
Decision Variable
Units to build 150
Parameter Estimates
Cost to build (/unit) $ 6,000
Revenue (/unit) $ 14,000
Demand (units) 250
Consequence Variables
Total Revenue $ 2,100,000
Total Cost $ 900,000
Performance Measure
Net Revenue $ 1,200,000
86
Decision Making Under Ignorance – Payoff Table
(Not included in the final exam )
State of Nature
Alternative Demand
Actions Low (50 units) Medium (100 units) High (150 units)
87
Maximax:
The Optimistic Point of View
(Not included in the final exam)
88
Maximin:
The Pessimistic Point of View
(Not included in the final exam)
89
Decision making under risk
Available Techniques
Decision modeling
Decision making under uncertainty
Tool: Decision tree
Strategic thinking and problem solving:
Dynamic modeling (end of course)
Fault trees
90
Introduction to Decision Trees
91
Decision Tree Nodes Time
92
Decision Tree for a civil engineering project
(Not included for the Final Exam)
93
Folding Back a Decision Tree
(Not included for the Final Exam)
94
Decision Trees for Multistage
Decision-Making Problems
(Not included for the Final Exam)
Multistage problems involve a sequence of
several decisions and outcomes
It is possible for a decision to be immediately
followed by another decision
Decision trees are best for showing the
sequential arrangement
95
(Not
included
for the
Final
Exam)
96
Risk Preference
People are not indifferent to uncertainty
Lack of indifference from uncertainty arises from
uneven preferences for different outcomes
E.g. someone may
dislike losing $x far more than gaining $x
value gaining $x far more than they disvalue losing $x.
Individuals differ in comfort with uncertainty
based on circumstances and preferences
Risk averse individuals will pay “risk premiums”
to avoid uncertainty
97
Risk preference
The preference depends on decision maker point of
view
98
Categories of Risk Attitudes
Risk attitude is a general way of classifying risk
preferences
Classifications
Risk averse fear loss and seek sureness
Risk neutral are indifferent to uncertainty
Risk lovers hope to win big and don t mind losing as
much
Risk attitudes change over
Time
Circumstance
99
Decision Making Under Risk
101
Decision Making Under Risk
Where probabilities of outcomes are available
102
Expected Monetary Value
Probability
0.3 0.5 0.2
of outcome
105
Expected Opportunity Loss
106
Regret (Opportunity Loss) Values
Outcomes (Demand)
Alternatives High Moderate Low EOL
Large plant 0 0 120,000 24,000
Small plant 110,000 50,000 20,000 62,000
No plant 200,000 100,000 0 110,000
Probability
0.3 0.5 0.2
of outcome
Demand
Alternatives High Moderate Low
Large plant 200,000 100,000 -120,000
Small plant 90,000 50,000 -20,000
No plant 0 0 0
EVwPI = $110,000
109
Expected Value of Perfect
Information
110
Using Excel to Calculate EVPI: Formulas View
(Not included in the final exam)
Construction
A B C D E
1
2
3 Payoffs States of Nature Expected Return
4 Alternatives Low (50 units) Medium (100 units) High (150 units) ER
5 Build 50 400000 400000 400000 =SUMPRODUCT(B5:D5,B$8:D$8)
6 Build 100 100000 800000 800000 =SUMPRODUCT(B6:D6,B$8:D$8)
7 Build 150 -200000 500000 1200000 =SUMPRODUCT(B7:D7,B$8:D$8)
8 Probability 0.2 0.5 0.3
9 Best Decision =MAX(B5:B7) =MAX(C5:C7) =MAX(D5:D7)
10
11 EVwPI = =SUMPRODUCT(B9:D9,B8:D8)
12 EVBest = =MAX(E5:E7)
13 EVPI = =E11-E12
14
111
Expected Value of
Sample Information (EVSI)
Prior
Probability
Permits revising old
probabilities based on New
new information Information
Revised
Probability
113
Utility
Utility is the pleasure or satisfaction obtained
from an action.
The utility of an outcome may not be the same
for each individual.
Utility Examples
Each incremental $1 of profit does not have the same value to
every individual:
A risk averse person, once reaching a goal, assigns less utility to
each incremental $1.
A risk seeker assigns more utility to each incremental $1.
A risk neutral person assigns the same utility to each extra $1.
114
Three Types of Utility Curves
$ $ $
115
Maximizing Expected Utility
116
The Utility Theory
When individuals are faced with uncertainty they
make choices as is they are maximizing a given
criterion: the expected utility.
Expected utility is a measure of the individual's
implicit preference, for each policy in the risk
environment.
It is represented by a numerical value associated
with each monetary gain or loss in order to
indicate the utility of these monetary values to
the decision-maker.
117
Adding a Preference function
1.35
1
.7
125 100 65
Expected (mean) value
E = (0.5)(125) + (0.25)(95) + (0.25)(65) = -102.5
Utility value:
f(E) = å Pa * f(a) = 0.5 f(125) + 0.25 f(95) + .25 f(65) =
= .5*0.7 + .25*1.05 + .25*1.35 = ~0.95
Certainty value = -102.5*0.975 = -97.38 118
Utility Theory
An alternative to EMV
People view risk and money differently, so EMV
is not always the best criterion
Utility theory incorporates a person’s attitude
toward risk
A utility function converts a person’s attitude
toward money and risk into a number between 0
and 1
119
Civil contractor’s Utility Assessment
122
Contractor’s Utility Curve
123
Different people will have different curves
Contractor’s curve is typical of a risk avoider
Risk premium is the EMV a person is willing to
willing to give up to avoid the risk
125
Utility as a
Decision Making Criterion
126
Decision Tree Example for another Contractor
127
Utility Curve for Contractor as
Risk Seeker
128
Contractor’s Decision Tree With Utility Values
129
Acknowledgment
Statistics for Business and Economics, 6th
Edition. (2007) Pearson Education, Inc
Statistics for Managers Using Microsoft Excel,
5th Edition. (2008) Prentice-Hall, Inc.
130