際際滷

際際滷Share a Scribd company logo
2
Most read
4
Most read
14
Most read
 Monte Carlo simulation is a computerized mathematical technique to
generate random sample data based on some known distribution for
numerical experiments.
 The Law of large numbers ensures that the relative frequency of
occurrence of a possible result of a random variable converges to the
theoretical or expected outcome as the number of experiments
increases.
 The essence of Monte Carlo simulation is to sample random variables
significant number of times so that the relative frequency converges to
the theoretical probability with greatest reliability.
MONTE CARLO SIMULATION
 Step 1: Identify the factors and formulate a model
 Step 2: carry out a preliminary sensitivity analysis to establish the
factors (variables) for which probability distribution should be
assessed. ( random variables).
 Step 3: Establish the shape of the probability distribution for each
random variables.
MONTE CARLO SIMULATION
 Step 4: sampling of random variables (random variables sample
generation). Use random numbers from a standard uniform
distribuition on the interval [0,1]. Each number in the range [0,1] is
given an equal chance of being generated at any one time. These
numbers are used as inputs in the cumulative distribution functions in
order to obtain the values of the random variables. The logic for the
procedure is that the cumulative distribution, F (x), has value between
0 and 1, that is, it is in the same range as a random number. Therefore,
the formula converts the values of the random numbers into
quantities of the variables
 Step 5: description of output variables
 Step 6 : Performing statistical analysis on output results
MONTE CARLO SIMULATION
An important step of Monte Carlo Simulation is to determine de probability
distribution for the random variables.
There are two ways of categorizing distributions: by whether it is discrete or
continuous, and by whether it is a probability density function (PDF) or
a cumulative distribution function(CDF).
The probability density function specifies the probability that the random
variable will take on a specific value. The cumulative distribution function
gives the probability that the random variable is less than or equal to a
specific value. The CDF plays an important role in Monte Carlo Simulation.
The probability distribution might be determined by:
 time series data;
 estimates from experts;
 Previous knowledge
MONTE CARLO SIMULATION
Common Probability distributions in Monte Carlo Simulation
Uniform distribution
Triangular distribution
Normal distribution
Lognormal distribution
Beta distribution
MONTE CARLO SIMULATION
MONTE CARLO SIMULATION
6
Triangular distribution
a m b
a is the lowest value asssumed by the
random variable, b is the highest value
and m the most likely value (mode).
f(X)
X
The probability density function for a random
variable is as follows:
=
2 
 
2 
 
 
< 
0
7
Triangular distribution
The cumulative distribution function is:
=  =

 
=  = 1 
< 
< <
MONTE CARLO SIMULATION
=  = 0 
=  = 1
ANLISE DE RISCO  SIMULAO MONTE CARLO
8
Triangular distribution
Given a random number r, 0   1, and a random variable   .
Equating the cumulative distribution function to r: =
=

 
= +  
This is the cumulative probability of
occurrence of a specific value of the
random variable between and
Value of the random variable between
and .
(1)
(2)
9
Triangular Distribution
Given a random number r [0,1] and a random variable <  .
Assuming = :
= 1 

 
=  1   
This is the cumulative probability of
occurrence of a specific value of the
random variable between and b
Value of the random variable
between and b.
(3)
4)
MONTE CARLO SIMULATION
10
To establish a routine to generate the random variable, equating = and
calculating 
through the equation 1:
Triangular distribution

=


Then, create random numbers r 0   1 and calculate as follows:
 if < , calculate using equation 2
 if > 
, calculate using equation 4
 if = 
, ent達o =
MONTE CARLO SIMULATION
11
Uniform distribution
MONTE CARLO SIMULATION
0
)
(
)
(
1
)
(



x
f
a
b
x
f for a  x  b
elsewhere
The cumulative distribution Function is:


 )
(
)
( x
X
P
x
F
,
1
,
,
0
a
b
a
x


b
x
b
x
a
a
x




The probability density function for a random
variable is as follows
12
MONTE CARLO SIMULATION
Example 1 (Goodwin and Wright, 2009)
Cash inflows
($)
Probability
(%) CDF
Cash outflows
($)
Probability
(%) CDF
50000 30 30 50000 45 45
60000 40 70 70000 55 100
70000 30 100
Cash inflows
($) CDF
Random
number
Cash outflows
($) CDF
Random
number
50000 30 00-29 50000 45 00-44
60000 70 30-69 70000 100 45-99
70000 100 70-99
13
MONTE CARLO SIMULATION
Example 1
Net cash flow($)
Calculated
probability
Simulated
Probability 1570
-20000 0.165 0.166
-10000 0.220 0.206
0 0.300 0.300
10000 0.180 0.193
20000 0.135 0.135
14
MONTE CARLO SIMULATION
Example 2: The Elite Pottery Company (Goodwin and Wright, 2009)
The Elite Pottery Company is planing to market a special product
(commemorative plate) to comemorate a major sporting event that is due
to take place in a few months time.
The company needs to estimate the profit that would be earned by the
plate. There is some uncertainty about the costs of manufacturing the
product and the level of sales. The company is willing to use Monte Carlo
Simulation to assess the risk involved in the project.
Stage 1: Identify the factors we think will affect the profit.
costs and level of sales can be treated as random variables
Stage 2: Formulate the model
Profit = (price  variable cost) x sales  fixed costs
15
MONTE CARLO SIMULATION
Example 2: The Elite Pottery Company
Stage 3: Assess probability distribution
Estimates of values of the Elite Pottery Problem
Random variables
Most
Likely value
Lowest
possible value
Highest
possible value
Variable Costs ($) 13 8 18
Sales (units) 22000 10000 30000
Fixed Costs ($) 175000 100000 300000
Stage 4: Perform the simulation
Monte Carlo Simulation examples.xlsx
The price of the plate will be fixed at $ 25 per unit.
MONTE CARLO SIMULATION
Exercise Pamplona:
The EnviroTech Inc. is determining the economic viability of a new
project. After obtaining information about market conditions and
costs, the company has the estimates below to work with:
Values ($) Prob. (%) Cum. Prob Values ($) Prob. (%) Cum. Prob Year Prob. (%) Cum. Prob ($)
65.000 12 12 12.000 5 5 9 35 35
70.000 35 47 13.000 15 20 10 45 80
75.000 25 72 14.000 50 70 11 20 100
80.000 15 87 15.000 20 90
85.000 13 100 16.000 10 100
Investment Net Cash flow Lifetime
Use Monte Carlo simulation for simulating the Net Present Value (NPV).
What is the probability that the project will be economic viable.
Ad

Recommended

PPTX
Risk and Decision Analysis in Petroleum Enginering
VictoriaAina
PPTX
Monte Carlo and Markov Chain
Ferdin Joe John Joseph PhD
PPTX
3. Modelling and Simulation in computer 3.pptx
waleedhayyakallah
PPTX
Monte carlo simulation
MissAnam
PDF
Monte carlo simulation
Rajesh Piryani
PDF
Lecture: Monte Carlo Methods
Frank Kienle
PPTX
Monte Carlo Simulation
Deepti Singh
PPTX
The monte carlo method
Saurabh Sood
PPTX
Monte Carlo Sim Primer
Andrew Sich
PPTX
Stochastic Modeling for Valuation and Risk Management
Roderick Powell
ODT
Probability and random processes project based learning template.pdf
Vedant Srivastava
PPT
Monte Carlo Simulations
gfbreaux
PDF
Monte carlo-simulation
jaimarbustos
PPT
Monte carlo
shishirkawde
PPT
Or ppt,new
Roy Thomas
PPTX
Estimating default risk in fund structures
IFMR
PDF
Financial Model Infograph
Joe Solari
PPTX
Montecarlosimulation2
Dr Chandrani Singh
PDF
PhysicsSIG2008-01-Seneviratne
Sarath Senevirtatne
PDF
ORMR_Monte Carlo Method.pdf
SanjayBalu7
PDF
Monte Carlo Simulations (UC Berkeley School of Information; July 11, 2019)
Ivan Corneillet
PDF
thesis_final_draft
Bill DeRose
PDF
Random Walks, Efficient Markets & Stock Prices
NEO Empresarial
PPTX
@RISK Unchained Webinar
Andrew Sich
PDF
1100163YifanGuo
Yifan Guo
ODP
Monte Carlo Methods
James Bell
PDF
Chapter11a
David Warner
PDF
Simulation notes
melkamu desalew
PPTX
Best Practices for Creating Clear and Effective BPMN Diagrams
RUPAL AGARWAL
PDF
Easy Solar Calculator for Homeowners : ksquare energy
Ksquare Energy Pvt. Ltd.

More Related Content

Similar to Monte Carlo Simulation lecture.pdf (20)

PPTX
Monte Carlo Sim Primer
Andrew Sich
PPTX
Stochastic Modeling for Valuation and Risk Management
Roderick Powell
ODT
Probability and random processes project based learning template.pdf
Vedant Srivastava
PPT
Monte Carlo Simulations
gfbreaux
PDF
Monte carlo-simulation
jaimarbustos
PPT
Monte carlo
shishirkawde
PPT
Or ppt,new
Roy Thomas
PPTX
Estimating default risk in fund structures
IFMR
PDF
Financial Model Infograph
Joe Solari
PPTX
Montecarlosimulation2
Dr Chandrani Singh
PDF
PhysicsSIG2008-01-Seneviratne
Sarath Senevirtatne
PDF
ORMR_Monte Carlo Method.pdf
SanjayBalu7
PDF
Monte Carlo Simulations (UC Berkeley School of Information; July 11, 2019)
Ivan Corneillet
PDF
thesis_final_draft
Bill DeRose
PDF
Random Walks, Efficient Markets & Stock Prices
NEO Empresarial
PPTX
@RISK Unchained Webinar
Andrew Sich
PDF
1100163YifanGuo
Yifan Guo
ODP
Monte Carlo Methods
James Bell
PDF
Chapter11a
David Warner
PDF
Simulation notes
melkamu desalew
Monte Carlo Sim Primer
Andrew Sich
Stochastic Modeling for Valuation and Risk Management
Roderick Powell
Probability and random processes project based learning template.pdf
Vedant Srivastava
Monte Carlo Simulations
gfbreaux
Monte carlo-simulation
jaimarbustos
Monte carlo
shishirkawde
Or ppt,new
Roy Thomas
Estimating default risk in fund structures
IFMR
Financial Model Infograph
Joe Solari
Montecarlosimulation2
Dr Chandrani Singh
PhysicsSIG2008-01-Seneviratne
Sarath Senevirtatne
ORMR_Monte Carlo Method.pdf
SanjayBalu7
Monte Carlo Simulations (UC Berkeley School of Information; July 11, 2019)
Ivan Corneillet
thesis_final_draft
Bill DeRose
Random Walks, Efficient Markets & Stock Prices
NEO Empresarial
@RISK Unchained Webinar
Andrew Sich
1100163YifanGuo
Yifan Guo
Monte Carlo Methods
James Bell
Chapter11a
David Warner
Simulation notes
melkamu desalew

Recently uploaded (20)

PPTX
Best Practices for Creating Clear and Effective BPMN Diagrams
RUPAL AGARWAL
PDF
Easy Solar Calculator for Homeowners : ksquare energy
Ksquare Energy Pvt. Ltd.
PPTX
Power of the Many Masterclasses - 2nd draft .pptx
AlexBausch2
PDF
Filter Test machine .pdf
FILTRATION ENGINEERING & CUNSULTANT
PDF
SACRS_Spring Mag 2025 Graceada Article.pdf
matthieu81
PPTX
Essar at IEW 2025, Leading the Way to Indias Green Energy Transition.
essarcase
PPTX
Appreciations - June 25.pptxggggggghhhhhh
anushavnayak
PDF
REPORT WRITING for Internal Auditors (considering IIA's Global Internal Audit...
Abdullah Mohammed
PPTX
Recovered Paper Market Size, Share & Forecast 2034
Expert Market Research
PDF
Integration of Information Security Governance and Corporate Governance
Tokyo Security Community
PDF
Tesia Dobrydnia - A Leader In Her Industry
Tesia Dobrydnia
PDF
Noah Loul Shares 5 Key Impacts of AI Agents on the Sales Industry
Noah Loul
PDF
Hire the Best Crypto Recovery Experts for Fast Recovery in 2025: Puran Crypto...
henryywalker3
PPTX
5 Smart Ways to Build a Highly Productive Team
RUPAL AGARWAL
PDF
Glow Up Your Desk: The MOOJAY Monitor Stand Experience
Topmate
PDF
Noah Loul Shares 5 Key Impacts of AI Agents on the Sales Industry.pdf
Noah Loul
PDF
IEA_Press_Release_Tullow_Agreement-16-6-2025-1.pdf
businessweekghana
PDF
Ihor Pavlenko: 丕仗舒于仍仆仆 亳亰亳从舒仄亳 亰舒 亟仂仗仂仄仂亞仂 AI (UA)
Lviv Startup Club
PPTX
Vaden Consultancy: Transforming Businesses with Integrated HR, IT, and Cloud ...
Vaden Consultancy
PDF
AX to Dynamics 365 Finance and Operations in USA.pdf
Trident information system
Best Practices for Creating Clear and Effective BPMN Diagrams
RUPAL AGARWAL
Easy Solar Calculator for Homeowners : ksquare energy
Ksquare Energy Pvt. Ltd.
Power of the Many Masterclasses - 2nd draft .pptx
AlexBausch2
Filter Test machine .pdf
FILTRATION ENGINEERING & CUNSULTANT
SACRS_Spring Mag 2025 Graceada Article.pdf
matthieu81
Essar at IEW 2025, Leading the Way to Indias Green Energy Transition.
essarcase
Appreciations - June 25.pptxggggggghhhhhh
anushavnayak
REPORT WRITING for Internal Auditors (considering IIA's Global Internal Audit...
Abdullah Mohammed
Recovered Paper Market Size, Share & Forecast 2034
Expert Market Research
Integration of Information Security Governance and Corporate Governance
Tokyo Security Community
Tesia Dobrydnia - A Leader In Her Industry
Tesia Dobrydnia
Noah Loul Shares 5 Key Impacts of AI Agents on the Sales Industry
Noah Loul
Hire the Best Crypto Recovery Experts for Fast Recovery in 2025: Puran Crypto...
henryywalker3
5 Smart Ways to Build a Highly Productive Team
RUPAL AGARWAL
Glow Up Your Desk: The MOOJAY Monitor Stand Experience
Topmate
Noah Loul Shares 5 Key Impacts of AI Agents on the Sales Industry.pdf
Noah Loul
IEA_Press_Release_Tullow_Agreement-16-6-2025-1.pdf
businessweekghana
Ihor Pavlenko: 丕仗舒于仍仆仆 亳亰亳从舒仄亳 亰舒 亟仂仗仂仄仂亞仂 AI (UA)
Lviv Startup Club
Vaden Consultancy: Transforming Businesses with Integrated HR, IT, and Cloud ...
Vaden Consultancy
AX to Dynamics 365 Finance and Operations in USA.pdf
Trident information system
Ad

Monte Carlo Simulation lecture.pdf

  • 1. Monte Carlo simulation is a computerized mathematical technique to generate random sample data based on some known distribution for numerical experiments. The Law of large numbers ensures that the relative frequency of occurrence of a possible result of a random variable converges to the theoretical or expected outcome as the number of experiments increases. The essence of Monte Carlo simulation is to sample random variables significant number of times so that the relative frequency converges to the theoretical probability with greatest reliability. MONTE CARLO SIMULATION
  • 2. Step 1: Identify the factors and formulate a model Step 2: carry out a preliminary sensitivity analysis to establish the factors (variables) for which probability distribution should be assessed. ( random variables). Step 3: Establish the shape of the probability distribution for each random variables. MONTE CARLO SIMULATION
  • 3. Step 4: sampling of random variables (random variables sample generation). Use random numbers from a standard uniform distribuition on the interval [0,1]. Each number in the range [0,1] is given an equal chance of being generated at any one time. These numbers are used as inputs in the cumulative distribution functions in order to obtain the values of the random variables. The logic for the procedure is that the cumulative distribution, F (x), has value between 0 and 1, that is, it is in the same range as a random number. Therefore, the formula converts the values of the random numbers into quantities of the variables Step 5: description of output variables Step 6 : Performing statistical analysis on output results MONTE CARLO SIMULATION
  • 4. An important step of Monte Carlo Simulation is to determine de probability distribution for the random variables. There are two ways of categorizing distributions: by whether it is discrete or continuous, and by whether it is a probability density function (PDF) or a cumulative distribution function(CDF). The probability density function specifies the probability that the random variable will take on a specific value. The cumulative distribution function gives the probability that the random variable is less than or equal to a specific value. The CDF plays an important role in Monte Carlo Simulation. The probability distribution might be determined by: time series data; estimates from experts; Previous knowledge MONTE CARLO SIMULATION
  • 5. Common Probability distributions in Monte Carlo Simulation Uniform distribution Triangular distribution Normal distribution Lognormal distribution Beta distribution MONTE CARLO SIMULATION
  • 6. MONTE CARLO SIMULATION 6 Triangular distribution a m b a is the lowest value asssumed by the random variable, b is the highest value and m the most likely value (mode). f(X) X The probability density function for a random variable is as follows: = 2 2 < 0
  • 7. 7 Triangular distribution The cumulative distribution function is: = = = = 1 < < < MONTE CARLO SIMULATION = = 0 = = 1
  • 8. ANLISE DE RISCO SIMULAO MONTE CARLO 8 Triangular distribution Given a random number r, 0 1, and a random variable . Equating the cumulative distribution function to r: = = = + This is the cumulative probability of occurrence of a specific value of the random variable between and Value of the random variable between and . (1) (2)
  • 9. 9 Triangular Distribution Given a random number r [0,1] and a random variable < . Assuming = : = 1 = 1 This is the cumulative probability of occurrence of a specific value of the random variable between and b Value of the random variable between and b. (3) 4) MONTE CARLO SIMULATION
  • 10. 10 To establish a routine to generate the random variable, equating = and calculating through the equation 1: Triangular distribution = Then, create random numbers r 0 1 and calculate as follows: if < , calculate using equation 2 if > , calculate using equation 4 if = , ent達o = MONTE CARLO SIMULATION
  • 11. 11 Uniform distribution MONTE CARLO SIMULATION 0 ) ( ) ( 1 ) ( x f a b x f for a x b elsewhere The cumulative distribution Function is: ) ( ) ( x X P x F , 1 , , 0 a b a x b x b x a a x The probability density function for a random variable is as follows
  • 12. 12 MONTE CARLO SIMULATION Example 1 (Goodwin and Wright, 2009) Cash inflows ($) Probability (%) CDF Cash outflows ($) Probability (%) CDF 50000 30 30 50000 45 45 60000 40 70 70000 55 100 70000 30 100 Cash inflows ($) CDF Random number Cash outflows ($) CDF Random number 50000 30 00-29 50000 45 00-44 60000 70 30-69 70000 100 45-99 70000 100 70-99
  • 13. 13 MONTE CARLO SIMULATION Example 1 Net cash flow($) Calculated probability Simulated Probability 1570 -20000 0.165 0.166 -10000 0.220 0.206 0 0.300 0.300 10000 0.180 0.193 20000 0.135 0.135
  • 14. 14 MONTE CARLO SIMULATION Example 2: The Elite Pottery Company (Goodwin and Wright, 2009) The Elite Pottery Company is planing to market a special product (commemorative plate) to comemorate a major sporting event that is due to take place in a few months time. The company needs to estimate the profit that would be earned by the plate. There is some uncertainty about the costs of manufacturing the product and the level of sales. The company is willing to use Monte Carlo Simulation to assess the risk involved in the project. Stage 1: Identify the factors we think will affect the profit. costs and level of sales can be treated as random variables Stage 2: Formulate the model Profit = (price variable cost) x sales fixed costs
  • 15. 15 MONTE CARLO SIMULATION Example 2: The Elite Pottery Company Stage 3: Assess probability distribution Estimates of values of the Elite Pottery Problem Random variables Most Likely value Lowest possible value Highest possible value Variable Costs ($) 13 8 18 Sales (units) 22000 10000 30000 Fixed Costs ($) 175000 100000 300000 Stage 4: Perform the simulation Monte Carlo Simulation examples.xlsx The price of the plate will be fixed at $ 25 per unit.
  • 16. MONTE CARLO SIMULATION Exercise Pamplona: The EnviroTech Inc. is determining the economic viability of a new project. After obtaining information about market conditions and costs, the company has the estimates below to work with: Values ($) Prob. (%) Cum. Prob Values ($) Prob. (%) Cum. Prob Year Prob. (%) Cum. Prob ($) 65.000 12 12 12.000 5 5 9 35 35 70.000 35 47 13.000 15 20 10 45 80 75.000 25 72 14.000 50 70 11 20 100 80.000 15 87 15.000 20 90 85.000 13 100 16.000 10 100 Investment Net Cash flow Lifetime Use Monte Carlo simulation for simulating the Net Present Value (NPV). What is the probability that the project will be economic viable.