Académique Documents
Professionnel Documents
Culture Documents
CHAPTER 9: Simulation
Introduction Introduction
Computer simulation:
1
Simulation should be used when: Excel Features & Functions
FEATURES
• Data Analysis: Descriptive Statistics
1. Analytical models are difficult or • Data Analysis: Histogram
2
Probability Distributions Continuous Distributions
• Normal distribution
Discrete: integer values (whole numbers) − Most widely used
− Conditions:
Continuous: fractional or decimal values Some value is most likely (mean)
Symmetrical around mean
(infinite number of values) More likely to be near mean
Demand % Cumu %
Cumulative • Uniform distribution
Distributions 8 .10 0
− All values between min & max occur
9 .20 .10 with equal likelihood
10 .30 .30 − Conditions:
Min value is fixed
11 .20 .60
Max value is fixed
12 .10 .80 All values occur with equal likelihood
13 .10 .90
3
To generating random variables: Monte Carlo Simulation
13 (10.0%) 14 (10.0%)
Draw random sample from given
probability distribution.
distribution 15 (10.0%)
12 (20.0%)
• Probability distribution: describes the
behavior of a random variable by defining
its:
15 (10.0%)
12 (20.0%) The Toss of a Fair Coin
TAILS HEADS
10 (30.0%) 50% 50%
11 (20.0%)
4
Probability
Distributions
SIX ONE
17% 16%
FIVE TWO
1 %
17% 16%
FOUR THREE
18% 17% Generating random numbers
2. Understand cumulative
distribution of the random variable
We’ll use Excel’s Rand function to be generated
to generate random numbers
5
MGS3100 Student Age Distribution
Generating Random Numbers Fall 2009
Continuous Distribution function
6
Simulate Demand with Random
Generating Random Numbers Numbers
Continuous random variable 3. Assign random numbers, using an interval from 0
requirements: to 1,
1 to formulate a continuous distribution
7
All-Ways-Open Market All-Ways-Open Market
Q13, p216
1. Construct a Cumulative Probability
Di t ib ti
Distribution
Review:
Monte Carlo Simulation Recap Generating Random Numbers
8
Monte Carlo Simulation Recap Generating Random Numbers
9
Startup Costs $150,000
Sales Price $ 35,000
Fixed Costs (per year) $ 15,000
Variable Costs (per year) 75% of revenues
Airbus: Capital
Budgeting for Tax depreciation: $10,000/yr over 4 yr product life
Assumptions:
• Yearly demand will be either 8, 9, 10, 11, or 12
The model • Each demand value is equally likely to occur
uses Excel’s
NPV function
to calculate We will include RANDBETWEEN function to sample
Net Present from a discrete uniform distribution on the integers
Value 8, 9, 10, 11, 12
10
AIRBUS: NPV Model w/Random
Demand AIRBUS: Evaluate the Proposal
11
AIRBUS: Evaluate the Proposal AIRBUS: Evaluate the Proposal
3. How confident are we in these results? 4. Would we be more confident if we ran more trials?
• Increasing
I i the
th # off trials
t i l will
ill give
i better
b tt NPV
Confidence intervals use the following statistics: estimate, but there will always be differences
1.00 =68% 1.96 = 95.0% 3.00 = 99.7% between the average & true expected return
12