597 APPLICATIONS OF PARAMETERIZATION OF VARIABLES FOR MONTE-CARLO RISK ANALYSIS Teaching Note (MS-Excel)

Slides:



Advertisements
Similar presentations
Sensitivity Analysis A systematic way of asking “what-if” scenario questions in order to understand what outcomes could possibly occur that would effect.
Advertisements

Exercise 7.5 (p. 343) Consider the hotel occupancy data in Table 6.4 of Chapter 6 (p. 297)
Slides 2c: Using Spreadsheets for Modeling - Excel Concepts (Updated 1/19/2005) There are several reasons for the popularity of spreadsheets: –Data are.
FTP Biostatistics II Model parameter estimations: Confronting models with measurements.
Regression Analysis Using Excel. Econometrics Econometrics is simply the statistical analysis of economic phenomena Here, we just summarize some of the.
Lecture Presentation Software to accompany Investment Analysis and Portfolio Management Seventh Edition by Frank K. Reilly & Keith C. Brown Chapter.
Project: – Several options for bid: Bid our signal Develop several strategies Develop stable bidding strategy Simulating Normal Random Variables.
Chapter 12 Simple Regression
Project 7 Forecasting Values With What-If Analysis: Using Data Tables, Scenarios, Goal Seek, and Solver Jason C. H. Chen, Ph.D. Professor of Management.
Ka-fu Wong © 2007 ECON1003: Analysis of Economic Data Lesson2-1 Lesson 2: Descriptive Statistics.
Simple Linear Regression
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 2-1 Statistics for Business and Economics 7 th Edition Chapter 2 Describing Data:
Chapter 13 Introduction to Linear Regression and Correlation Analysis
Statistics for Managers Using Microsoft Excel, 5e © 2008 Prentice-Hall, Inc.Chap 13-1 Statistics for Managers Using Microsoft® Excel 5th Edition Chapter.
Slides by JOHN LOUCKS St. Edward’s University.
Basic Business Statistics 10th Edition
Example 7.1 Pricing Models | 7.3 | 7.4 | 7.5 | 7.6 | 7.7 | 7.8 | 7.9 | 7.10 | Background Information n The Madison.
1 Simple Linear Regression Chapter Introduction In this chapter we examine the relationship among interval variables via a mathematical equation.
1 1 Slide © 2003 South-Western/Thomson Learning™ Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
Statistical Forecasting Models
Lecture 17 Interaction Plots Simple Linear Regression (Chapter ) Homework 4 due Friday. JMP instructions for question are actually for.
Chap 3-1 Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chapter 3 Describing Data: Numerical Statistics for Business and Economics.
Chapter 14 Introduction to Linear Regression and Correlation Analysis
Spreadsheet Problem Solving
Simple Linear Regression. Introduction In Chapters 17 to 19, we examine the relationship between interval variables via a mathematical equation. The motivation.
1 1 Slide © 2003 South-Western/Thomson Learning TM Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
Example 16.3 Estimating Total Cost for Several Products.
Regression Basics For Business Analysis If you've ever wondered how two or more things relate to each other, or if you've ever had your boss ask you to.
1 Doing Statistics for Business Doing Statistics for Business Data, Inference, and Decision Making Marilyn K. Pelosi Theresa M. Sandifer Chapter 11 Regression.
Copyright © 2003 Pearson Education, Inc. Slide 5-1 Chapter 5 Risk and Return.
Inference for regression - Simple linear regression
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 12-1 Chapter 12 Simple Linear Regression Statistics for Managers Using.
3 CHAPTER Cost Behavior 3-1.
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 3-1 Chapter 3 Numerical Descriptive Measures Statistics for Managers.
Linear Trend Lines Y t = b 0 + b 1 X t Where Y t is the dependent variable being forecasted X t is the independent variable being used to explain Y. In.
Spreadsheets in Finance and Forecasting Presentation 8: Problem Solving.
CORRELATION & REGRESSION
Covariance and correlation
Portfolio Management-Learning Objective
Lecture Presentation Software to accompany Investment Analysis and Portfolio Management Seventh Edition by Frank K. Reilly & Keith C. Brown Chapter 7.
Chapter 3 – Descriptive Statistics
Chapter 8: Regression Analysis PowerPoint Slides Prepared By: Alan Olinsky Bryant University Management Science: The Art of Modeling with Spreadsheets,
Some Background Assumptions Markowitz Portfolio Theory
Lecture 12 Statistical Inference (Estimation) Point and Interval estimation By Aziza Munir.
1 1 Slide Multiple Regression n Multiple Regression Model n Least Squares Method n Multiple Coefficient of Determination n Model Assumptions n Testing.
Name: Angelica F. White WEMBA10. Teach students how to make sound decisions and recommendations that are based on reliable quantitative information During.
Chap 12-1 A Course In Business Statistics, 4th © 2006 Prentice-Hall, Inc. A Course In Business Statistics 4 th Edition Chapter 12 Introduction to Linear.
EQT 373 Chapter 3 Simple Linear Regression. EQT 373 Learning Objectives In this chapter, you learn: How to use regression analysis to predict the value.
1 Appendix 10 A: A Linear-Programming Approach to Portfolio- Analysis Models (Related to ) By Cheng Few Lee Joseph Finnerty John Lee Alice C Lee.
Variation This presentation should be read by students at home to be able to solve problems.
Lecture 8 Simple Linear Regression (cont.). Section Objectives: Statistical model for linear regression Data for simple linear regression Estimation.
Time series Model assessment. Tourist arrivals to NZ Period is quarterly.
Business Statistics, A First Course (4e) © 2006 Prentice-Hall, Inc. Chap 3-1 Chapter 3 Numerical Descriptive Measures Business Statistics, A First Course.
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap 13-1 Introduction to Regression Analysis Regression analysis is used.
Lecture 10: Correlation and Regression Model.
Chapter 3, Part B Descriptive Statistics: Numerical Measures n Measures of Distribution Shape, Relative Location, and Detecting Outliers n Exploratory.
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 14-1 Chapter 14 Multiple Regression Model Building Statistics for Managers.
Economics 173 Business Statistics Lecture 10 Fall, 2001 Professor J. Petry
Sensitivity Analysis A systematic way of asking “what-if” scenario questions in order to understand what outcomes could possibly occur that would effect.
Lecture 10 Introduction to Linear Regression and Correlation Analysis.
EXCEL DECISION MAKING TOOLS AND CHARTS BASIC FORMULAE - REGRESSION - GOAL SEEK - SOLVER.
Statistical Methods © 2004 Prentice-Hall, Inc. Week 3-1 Week 3 Numerical Descriptive Measures Statistical Methods.
Supplementary Chapter B Optimization Models with Uncertainty
Chapter 13 Simple Linear Regression
Market-Risk Measurement
Monte Carlo Simulation
Statistical Analysis with Excel
Microsoft Office Illustrated
St. Edward’s University
Presentation transcript:

597 APPLICATIONS OF PARAMETERIZATION OF VARIABLES FOR MONTE-CARLO RISK ANALYSIS Teaching Note (MS-Excel)

598 WHY ? Monte-Carlo risk analysis requires having a defined probability distribution for each risk variable In most cases the probability distribution is not readily available Need to derive an appropriate distribution from raw data

599 STEPS TO FOLLOW: 1.Identify the risk variable and nature of risk 2.Obtain historical data on the variable 3.Transfer raw data into spreadsheet 4.Convert nominal values into real values 5.Calculate correlations among variables, if needed 6.Run a regression to identify a trend over years 7.Obtain residuals from regression 8.Express residuals as a percentage deviation from the trend 9.Rank the percentage deviations 10.Group percentage deviations into ranges 11.Specify frequency of occurrence for each range 12.Calculate the expected value 13.Make adjustments to frequencies, so that the expected value equals to the deterministic value of risk variable (check for the adjusted expected value) 14.Transfer the derived probability distribution into risk analysis software

IDENTIFY THE RISK VARIABLE AND NATURE OF RISK A financial/economic model of the project has to be complete Sensitivity analysis suggests candidates to be included as “risk variables” A “risk variable” must be both risky (have a great impact on the project) and uncertain (not predictable) Sensitivity analysis helps to identify the risky variables It is the task of analyst to understand the underlying reasons for uncertainty of variable

601 QUESTIONS TO UNDERSTAND RISK What are the fundamental reasons for movements of the variable over time? Can the causes of risk be predicted? Are there any related variables, which move in the same or opposite direction at the same time? Is it possible to avoid the risk or reduce it somehow?

602 2.OBTAIN HISTORICAL DATA ON THE VARIABLE Once the risk variable is identified and justified to be included into risk analysis Need to obtain a reliable set of data on the variable over time As many observations as possible If data on the variable itself is not available – use data on a related variable (fluctuations in the price of natural gas can be reasonably approximated by movements of the oil prices)

603 EXAMPLE: DERIVATION OF A PROBABILITY DISTRIBUTION FOR NATURAL GAS PRICE Natural gas is the major input for production of urea in a fertilizer plant project Price of input was identified as a very risky variable, having a strong impact on the project’s returns Project purchases natural gas as a price-taker Natural gas prices follow the international gas prices Prices can not be fully predicted – risk analysis is needed

604 Data on the domestic and international gas prices were not available It is believed that the crude oil prices can be used as a proxy for fluctuations in the prices of natural gas Historic records of the crude oil prices supplied by the OPEC were obtained from “OPEC Annual Statistical Bulletin 2000” { Crude oil prices are expressed in nominal US dollar

TRANSFER RAW DATA INTO SPREADSHEET All data records must be transferred into an electronic form Data is on the crude oil prices in nominal terms, 1976–1999 ($/barrel) There are 24 observations Prices are annual averages The prices are nominal, inclusive of inflation The relevant inflation is the us dollar inflation Inflation effect must be removed Year Nominal Oil Price, $/barrel

606 4.CONVERT NOMINAL VALUES INTO REAL VALUES Since the oil prices are quoted in us dollar, use the us inflation index The relevant inflation measure is the us producer price index, base 1995=100 Data on the US producer price index were obtained from “IMF Financial Statistics Yearbook 2000”. Year Producer Price Index, USA,1995=100

Real Oil Price, $/barrel REAL PRICE NOMINAL PRICE PRICE INDEX x 100 = Year Nominal Oil Price, $/barrel Producer Price Index, USA, 1995=

608 5.CALCULATE CORRELATIONS BETWEEN VARIABLES If variables tend to move together over time – there is a correlation Coefficient of correlation can be easily estimated from two sets of data Both data sets must be expressed in real terms Example: correlation between the price of crude oil (input) and price of urea fertilizer (output) Real price of urea was obtained from nominal price in the same manner as real oil price

609 CORRELATION BETWEEN THE PRICE OF CRUDE OIL AND PRICE OF UREA FERTILIZER Use ms-excel formula “CORREL“ to estimate the correlation coefficient between two sets of data: Real Urea Price, $/Mt =CORREL(OIL,UREA) = Real Oil Price, $/barrel

610 6.RUN A REGRESSION TO IDENTIFY A TREND OVER YEARS There is a trend in the real price of oil Generally, trend can be increasing, decreasing or constant over years If plotted, the trend can be seen visually on the chart Trend represents “predicted” values The difference between the actual price and predicted price is called “residual” value, which is not explained by trend Residuals represent the random factors affecting the real price of oil Residuals represent the risk

611 REAL PRICE OF CRUDE OIL: ACTUAL VS. PREDICTED PREDICTED RESIDUAL ACTUAL REAL PRICE IN 1984 TREND RANDOM FACTORS RESIDUAL = ACTUAL – PREDICTED CALCULATED FOR EVERY YEAR

612 Regression is needed Running a regression is easy Use an “add-in” in excel, called “data analysis” To start: TOOLS=> DATA ANALYSIS => REGRESSION

613 Fill in the required fields in the regression box and press “OK” The regression will estimate the predicted values and residuals for every year SELECT “REGRESSION” AND PRESS “OK”

614 YEARS, NEW WORKSHEET PLY [OIL] RESIDUALS Fill-in the regression box as shown above Do not change other settings When done, a new worksheet called “oil” will appear REAL PRICE OF OIL,

615 New worksheet “oil” will contain the regression statistics and residual output Residuals are estimated in the units of variable, $/barrel Need to express residuals as a percentage deviation from the trend (from predicted value) RESIDUAL OUTPUT ObservationPredicted YResiduals OBTAIN RESIDUALS FROM REGRESSION

616 8.EXPRESS RESIDUALS AS A PERCENTAGE DEVIATION FROM THE TREND USE A SIMPLE FORMULA: =RESIDUAL/(PREDICTED/100)/100 For example (1 st observation ): = -9.6/33.1 = Express the result as a percentage Percentage represents a deviation from the trend Predicted YResiduals % Deviation from Trend % % % % 32.91% 41.92% 42.55% 29.87% 26.69% 25.62% % % % % 8.22% -6.34% -4.20% % % -7.06% 14.29% 10.21% % 15.80%

RANK THE PERCENTAGE DEVIATIONS Residuals in percentage form represent the deviations from the trend The percentage deviations must be ranked from the lowest to highest Use a built-in “sort” function in excel: 1.Highlight all percentage deviations 2.Open “DATA” => “SORT…” 3.Fill-in the sorting box

618 Fill-in as follows: SORT BY: % DEVIATION FROM TREND ASCENDING HEADER ROW When done, press “OK”

619 Ranked percentage deviations show the minimum and maximum deviations from trend over the years They can be grouped into ranges, for simplicity In each range, there will be a few observations 10. GROUP PERCENTAGE DEVIATIONS INTO RANGES Ranked % Deviation % % % % % % % % % % % -7.06% -6.34% -4.20% 8.22% 10.21% 14.29% 15.80% 25.62% 26.69% 29.87% 32.91% 41.92% 42.55% -35% to -30% -30% to -20% -20% to -10% -10% to 0% 0% to 10% 10% to 20% 20% to 30% 30% to 40% 40% to 45%

SPECIFY FREQUENCY OF OCCURRENCE FOR EACH RANGE Frequency of occurrence is the number of observations in each range Total number of observations must be 24 Express frequencies as probability of occurrence Total probability must be always 100% Probability of occurrence – is really the derived probability distribution If the expected value of this distribution is equal zero – then, probability distribution is ready for use If the expected value of this distribution is equal zero – then, further adjustments must be made

621 Ranked % Deviation % % % % % % % % % % % -7.06% -6.34% -4.20% 8.22% 10.21% 14.29% 15.80% 25.62% 26.69% 29.87% 32.91% 41.92% 42.55% -35% to -30%14.17% -30% to -20%520.83% -20% to -10% % -10% to 0%312.50% 0% to 10%14.17% 10% to 20% % 20% to 30% % 30% to 40%14.17% 40% to 45% 28.33% Frequency % Occurrence Total: %

622 Expected value is a weighted average of mid-point of all ranges and their probability of occurrence To calculate: 1.Find the mid-point of each range 2.Multiply each mid-point by its probability of occurrence 3.Sum up the results The expected value of probability distribution must be equal zero, to remain unbiased If the estimated expected value is not zero, further adjustments are needed 12. CALCULATE THE EXPECTED VALUE

623 Expected value is simply a weighted average of mid-point of all ranges and their probability of occurrence Expected value here is not equal to zero FromToMid-point Frequency % Occurrence Mid-point X % Occurrence -35.0%-30.0%-32.5%14.17% -1.35% -30.0%-20.0%-25.0%520.83% -5.21% -20.0%-10.0%-15.0%520.83% -3.13% -10.0%0.0%-5.0%312.50% -0.63% 0.0%10.0%5.0%14.17% 0.21% 10.0%20.0%15.0%312.50% 1.88% 20.0%30.0%25.0%312.50% 3.13% 30.0%40.0%35.0%14.17% 1.46% 40.0%45.0%42.5%28.3% 3.54% Total: % Expected Value (weighted average): %

MAKE ADJUSTMENTS TO FREQUENCIES To adjust the expected value of probability distribution to zero, use Excel’s “SOLVER” add-in To start: “TOOLS” => “SOLVER…”

625 Subject to constraints: press “ADD” And take cell with total frequencies and set this cell = 24 SET TARGET CELL = EXPECTED VALUE CELL EQUAL TO: VALUE OF 0 BY CHANGING CELLS: (ALL FREQUENCIES) Frequency Total: 24 When completed, press “SOLVE”

626 Expected value is equal to zero Probability distribution is ready Total: Frequency % Occurrence Mid-point X % Occurrence % -1.29% % -5.21% % -3.13% % -0.63% % 0.21% % 1.88% % 3.13% % 1.47% % 3.56% % Expected Value (weighted average): 0.0% FromToMid-point -35.0%-30.0%-32.5% -30.0%-20.0%-25.0% -20.0%-10.0%-15.0% -10.0%0.0%-5.0% 0.0%10.0%5.0% 10.0%20.0%15.0% 20.0%30.0%25.0% 30.0%40.0%35.0% 40.0%45.0%42.5%

Transfer the derived probability distribution into risk analysis software We have obtained the following “step” distribution for the disturbance to the real price of crude oil: % Occurrence 3.97% 20.84% 12.52% 4.19% 12.53% 4.21% 8.38% 100.0% FromTo -35.0%-30.0% -20.0% -10.0% 0.0% 10.0% 20.0% 30.0% 40.0% 45.0%

628 Using the “Crystal Ball” risk analysis software will depict this probability distribution as:

629 FINAL NOTE In most cases, probability distribution is applied not on the value of a variable itself Probability distribution is applied on the disturbance to this variable Disturbance, on the average, is expected to be zero Spreadsheet may need to be modified to include the disturbance

630 CORRECT WAY TO MODEL ANNUAL DISTURBANCE: Disturbance to REAL Price of urea EXPORTS 0.0% REAL Price of urea EXPORTS (D$/ton) Adjusted 120 NOMINAL Price of urea EXPORTS (D$/ton) = Real Price YearX (Unadj.) * (1+Disturbance YearX ) = 120 * ( %) = Real Price YearX (Adj.) * Domestic Inflation Index YearX 127 = 120 * [for Year 2] YEARYear 0Year 1 Year 2 Year 3 Domestic Price Index REAL Price of urea EXPORTS (D$/ton) Unadjusted 120 = Link to Parameter (120D$/ton, assumed to remain constant)