Materials for Lecture Chapter 2 pages 6-12, Chapter 6, Chapter 16 Section 3.1 and 4 Lecture 7 Probability of Revenue.xls Lecture 7 Flow Chart.xls Lecture.

Slides:



Advertisements
Similar presentations
Chapter 18 If mathematical analysis is too difficult, we can try each possibility out on paper. That way we can find which alternative appears to work.
Advertisements

Brief Review –Forecasting for 3 weeks –Simulation Motivation for building simulation models Steps for developing simulation models Stochastic variables.
Materials for Lecture 11 Chapters 3 and 6 Chapter 16 Section 4.0 and 5.0 Lecture 11 Pseudo Random LHC.xls Lecture 11 Validation Tests.xls Next 4 slides.
Spreadsheet Demonstration New Car Simulation. 2 New car simulation Basic problem  To simulate the profitability of a new model car over a several-year.
Probability Distributions and Stochastic Budgeting AEC 851 – Agribusiness Operations Management Spring, 2006.
Decision and Risk Analysis Financial Modelling & Risk Analysis II Kiriakos Vlahos Spring 2000.
Engineering Economic Analysis Canadian Edition
Multiple Regression Forecasts Materials for this lecture Demo Lecture 2 Multiple Regression.XLS Read Chapter 15 Pages 8-9 Read all of Chapter 16’s Section.
Chapter 10 Simple Regression.
Chapter 6 Chapter 16 Sections , 4.0, Lecture 11 GRKS.XLSX Lecture 11 Low Prob Extremes.XLSX Lecture 11 Uncertain Emp Dist.XLSX Materials for.
Simple Linear Regression
Materials for Lecture 12 Chapter 7 – Study this closely Chapter 16 Sections and 4.3 Lecture 12 Multivariate Empirical Dist.xls Lecture 12 Multivariate.
Simulation.
Cycles and Exponential Smoothing Models Materials for this lecture Lecture 4 Cycles.XLS Lecture 4 Exponential Smoothing.XLS Read Chapter 15 pages
Brief Review –Forecasting for 3 weeks –Simulation Motivation for building simulation models Steps for developing simulation models Stochastic variables.
CHAPTER 6 DISCOUNTING. CONVERTING FUTURE VALUE TO PRESENT VALUE Making decisions having significant future benefits or costs means looking at consequences.
1 Simple Linear Regression Chapter Introduction In this chapter we examine the relationship among interval variables via a mathematical equation.
Chapter 11 Multiple Regression.
Materials for Lecture 13 Purpose summarize the selection of distributions and their appropriate validation tests Explain the use of Scenarios and Sensitivity.
AGEC 622 Mission is prepare you for a job in business Have you ever made a price forecast? How much confidence did you place on your forecast? Was it correct?
Materials for Lecture 18 Chapter 7 – Study this closely Chapter 16 Sections and 4.3 Lecture 18 Multivariate Empirical Dist.xlsx Lecture 18.
Materials for Lecture 13 Chapter 2 pages 6-12, Chapter 6, Chapter 16 Section 3.1 and 4 Lecture 13 Probability of Revenue.xlsx Lecture 13 Flow Chart.xlsx.
Lecture 15-2 Building Financial Models Material for Lecture 15-2 –Read Chapters 13 and 14 –Lecture 15-2 Farm.xlsx.
Portfolio Analyzer and Risk Stationarity Lecture 23 Read Chapters 13 and 14 Lecture 23 Portfolio Analyzer Example.xlsx Lecture 23 Portfolio Analyzer 2015.XLSX.
Materials for Lecture Chapter 2 pages 6-12, Chapter 6, Chapter 16 Section 3.1 and 4 Lecture 7 Probability of Revenue.xlsx Lecture 7 Flow Chart.xlsx Lecture.
Financial Statement Modeling & Spreadsheet Engineering “Training in spreadsheet modeling improves both the efficiency and effectiveness with which analysts.
Chapter 4 – Modeling Basic Operations and Inputs  Structural modeling: what we’ve done so far ◦ Logical aspects – entities, resources, paths, etc. 
597 APPLICATIONS OF PARAMETERIZATION OF VARIABLES FOR MONTE-CARLO RISK ANALYSIS Teaching Note (MS-Excel)
Seasonal Models Materials for this lecture Lecture 9 Seasonal Analysis.XLSX Read Chapter 15 pages 8-18 Read Chapter 16 Section 14 NOTE: The completed Excel.
About the Exam No cheat sheet Bring a calculator.
Materials for Lecture 08 Chapters 4 and 5 Chapter 16 Sections Lecture 08 Bernoulli & Empirical.xls Lecture 08 Normality Test.xls Lecture 08 Parameter.
Contemporary Engineering Economics, 6 th edition Park Copyright © 2016 by Pearson Education, Inc. All Rights Reserved Risk Simulation Lecture No. 40 Chapter.
1 Statistical Distribution Fitting Dr. Jason Merrick.
Discrete Distributions The values generated for a random variable must be from a finite distinct set of individual values. For example, based on past observations,
Engineering Economic Analysis Canadian Edition
© 2003 The McGraw-Hill Companies, Inc. All rights reserved. Project Analysis and Evaluation Chapter Eleven.
Materials for Lecture 08 Chapters 4 and 5 Chapter 16 Sections Lecture 08 Bernoulli.xlsx Lecture 08 Normality Test.xls Lecture 08 Simulation Model.
Crystal Ball: Risk Analysis  Risk analysis uses analytical decision models or Monte Carlo simulation models based on the probability distributions to.
AGEC 622 I am James Richardson I get to be your teacher for the rest of the semester Jing Yi will be the grader for this section. Brian Herbst will assist.
Simulation is the process of studying the behavior of a real system by using a model that replicates the system under different scenarios. A simulation.
Exam 2: Rules Section 2.1 Bring a cheat sheet. One page 2 sides. Bring a calculator. Bring your book to use the tables in the back.
Chapter 6 Chapter 16 Sections , 4.0, Lecture 16 GRKS.XLSX Lecture 16 Low Prob Extremes.XLSX Lecture 16 Uncertain Emp Dist.XLSX Lecture 16 Combined.
Materials for Lecture 20 Read Chapter 9 Lecture 20 CV Stationarity.xlsx Lecture 20 Changing Risk Over Time.xlsx Lecture 20 VAR Analysis.xlsx Lecture 20.
Risk Analysis Simulate a scenario of possible input values that could occur and observe key financial impacts Pick many different input scenarios according.
Machine Learning 5. Parametric Methods.
Chapter 20 Statistical Considerations Lecture Slides The McGraw-Hill Companies © 2012.
Ranking Using Risk Premiums Risk Premium (RP) - calculate the risk premium between each of the scenarios and a Base scenario. Risk Premiums equal the difference.
Cycles and Exponential Smoothing Models Materials for this lecture Lecture 10 Cycles.XLS Lecture 10 Exponential Smoothing.XLSX Read Chapter 15 pages
Lecture 9 Seasonal Models Materials for this lecture Lecture 9 Seasonal Analysis.XLSX Read Chapter 15 pages 8-18 Read Chapter 16 Section 14.
Steps for verifying your homeworks and lab exam models With homeworks you can compare results to fellows students –Do not try this during a lab exam –Consequences.
P4 Advanced Investment Appraisal. 2 2 Section C: Advanced Investment Appraisal C1. Discounted cash flow techniques and the use of free cash flows. C2.
Materials for Lecture 20 Financial Models Finish Scenario Ranking Lecture New Material for Lecture 15 –Read Chapters 13 and 14 –Lecture 20 Pro Forma.xlsx.
Lecture 21-2 Building Financial Models Material for Lecture 21-2 –Read Chapters 13 and 14 –Lecture 21 Pro Forma.xlsx –Lecture 21 Fin Risk Manager.xlsx.
Portfolio Analyzer and Risk Stationarity Lecture 23 Read Chapters 13 and 14 Lecture 23 Portfolio Analyzer Example.xlsx Lecture 23 Portfolio Analyzer 2016.XLSX.
1 Simple Linear Regression Chapter Introduction In Chapters 17 to 19 we examine the relationship between interval variables via a mathematical.
Modeling and Simulation CS 313
Computer Simulation Henry C. Co Technology and Operations Management,
Materials for Lecture 20 Explain the use of Scenarios and Sensitivity Analysis in a simulation model Utility based risk ranking methods, setting the stage.
Materials for Lecture 19 Financial Models
MATH-138 Elementary Statistics
Materials for Lecture 13 Chapter 2 pages 6-12, Chapter 6, Chapter 16 Section 3.1 and 4 Lecture 13 Probability of Revenue.xlsx Lecture 13 Flow Chart.xlsx.
Linear Regression.
About the Exam No cheat sheet Bring a calculator
Materials for Lecture 13 Chapter 2 pages 6-12, Chapter 6, Chapter 16 Section 3.1 and 4 Read Richardson & Mapp article Lecture 13 Probability of Revenue.xlsx.
AGEC 622 How do you make plans? How do you make decisions?
Modeling and Simulation CS 313
Cycles and Exponential Smoothing Models
Materials for Lecture 18 Chapters 3 and 6
Parametric Survival Models (ch. 7)
Chapter 8 Supplement Forecasting.
Presentation transcript:

Materials for Lecture Chapter 2 pages 6-12, Chapter 6, Chapter 16 Section 3.1 and 4 Lecture 7 Probability of Revenue.xls Lecture 7 Flow Chart.xls Lecture 7 Farm Simulator.xls Lecture 7 Uniform.xls Lecture 7 Theta UPES.xls Lecture 7 View Distributions.xls

Simulation Models A Model is a mathematical representation of an actual system of equations –When you think through the many steps to solve a problem you are constructing a model –When you think or plan your way through a complex situation you are making a virtual model –Computer games are models –Econometric equations can be a model We build models so we do not have to experiment on the actual economic system –Will the business be successful if we change management practices, etc.?

Developing Simulation Models Organization of a model in an Excel Workbook Steps for model development Parts in a simulation model Generating random variables from uniform distributions Estimating parameters for other distributions –Parameters are the numbers that define the center and the dispersion about the center of the random variable –For a Normally distributed X parameters are Mean & Std Dev

Organization of Models in Excel Input Data, such as – Costs, inflation & interest rates, Production functions Assets & liabilities Scenarios to analyze, etc. Historical Data for Random Variables, such as – Prices Production levels Other variables not controlled by management Equations to calculate variables – Production, Receipts, Costs, Amortize Loans, Update Asset values, etc. Tables to report financial results – Income statement, cash flow, balance sheet KOV Table – List all output variables of interest

Organization of Models in Excel Sheet 1 (Model) –Assumptions and all Input Data –Control variables for managing the system –Logical flow of all calculations –Table of intermediate results –Table of final results – the Key Output Variables (KOVs) Sheet 2 (Stoch) –Historical data for random variables –Calculations to estimate the parameters for random variables –Simulate all random values Sheets 3-N (SimData, Stoplite, CDF) –Simulation results and charts

Model Design Steps Model development is like building a pyramid –Design the model from the top down –Build from the bottom up KOVs Intermediate Results Tables and Reports Equations and Calculations to Get Values for Reports Stochastic Variables Exogenous and Control Variables DesignBuild

Steps for Model Development Determine the purpose of the model and KOVs Draw a sketch of how data will interact to calculate the KOVs Determine the variables necessary to calculate the KOVs –For example to calculate Net Present Value (NPV) we need: Annual net cash withdrawals which are a function of net returns Ending net worth which is a function of assets and liabilities –This means you need a balance sheet and a cash flow statement to calculate annual cash reserves –An annual income statement is needed as input into a cash flow –Annual net returns are calculated from an income statement

Example Flowchart of a Model

Flow Chart for Simulating NPV

Write out the equations by hand –This organizes your thoughts and the model’s structure –Avoids problem of forgetting important sections –Example of equations for a model at this point: Output/hour = stochastic variable Hours Operated = management control value Production = Output/hour * Hours Operated Price = forecast mean each year with a risk component Receipts = Price * Production Define input variables –Exogenous variables are out of the control of management and are constant; usually policy driven –Stochastic variables management can not control and are random in nature: weather or market driven –Control variables the manager can manipulate Steps for Model Development

Stochastic variables (40% of time is spent here) –Identify all random variables that affect the system –Estimate parameters for the assumed distributions Normality – means and standard deviations Empirical – sorted deviates and probabilities –Use the best model possible econometric to forecast deterministic part of stochastic variables to reduce risk Model validation starts here –Use statistical tests of the simulated stochastic variables to insure that random variables are simulated correctly Correlation tests, means tests, variance tests CDF and PDF charts to compare history to simulated values Steps for Model Development

What are Stochastic Variables? –Random variables we can not control, such as: Prices, yields, interest rates, rates of inflation, sickness, etc. –Represented by the residuals from regression equations as this is the part of a variable we did not predict Why include stochastic variables? –So we can get a more robust simulation answer –Rather than a single value output we get a PDF –We can assign probabilities of success –We can consider risk in our decisions Stochastic Variables?

A supply and Demand Model –You learned there is one Demand and one Supply –But there are many, due to the risk on the equations Q x = a + b 1 P x +b 2 Y + b 3 P y gives a single line for Demand Q x = a + b 1 P x +b 2 Y + b 3 P y + ẽ gives infinite Demands –Now if Supply is a constant we get an infinite number of Prices as we draw ẽ values at random Simple Economic Model Supply Demand Quantity/UT Price/U

Profit is generally the Key Output Variable of interest P = Total Receipts – Variable Cost – Fixed Cost P = ∑(P~ i * Ỹ i ) - ∑(VC i * Ỹ i * Q i ) – FC Where P~ i is the stochastic price for product i, as $/bu. Ỹ i is stochastic production level as yield or bu./acre VC i is variable cost per unit of production for i, or $/bu. Q i is the level of resources committed to i, as acres Simple Business Model

Univariate Random Variables More than 40 Univariate Distributions in Simetar –Uniform Distribution –Normal and Truncated Normal Distribution –Empirical, Discrete Empirical Distribution –GRKS Distribution –Triangle Distribution –Bernoulli Distribution –Conditional Distribution Excel probability distributions have been made Simetar compatible, e.g., –Beta, Gamma, Exponential, Log Normal, Weibull

A continuous distribution where each range has an equal probability of being observed Parameters for the uniform are minimum and maximum values and the domain includes all real number’s =UNIFORM(min,max) The mean and variance of this distribution are: Uniform Distribution

PDF and CDF for a Uniform Dist. minmax X f(x) min max X F(x) Probability Density FunctionCumulative Distribution Function

Use the uniform distribution when every range of length “n” between the minimum and maximum values has an equal chance of occurrence Use this distribution when you have no idea what type of distribution to use Uniform distribution is used to simulate all random variables via the Inverse Transform procedure and USD When to Use the Uniform Distribution Uniform Deviate Std. Normal Dev SND i USD i Inverse Transform for Generating a SND from a USD For example USD is used to simulate a Normal Distribution

In Simetar we simulate the USD as: =UNIFORM(0,1) or =UNIFORM() –Produces a Uniform Standard Deviate (USD) –Special case of the Uniform distribution USD is building block for all random number generation using the Inverse Transformation method for simulation. Inverse Transform uses a USD to simulate a Uniform distribution as: X = Min + (Max-Min) * Uniform(0,1) X = Min + (Max-Min) * USD Uniform Standard Deviate (USD)

Simulate a Uniform Distribution Alternative ways to program the =Uniform( ) function = Uniform(Min, Max,[USD]) = Uniform(10,20) = Uniform(A1,A2) = Uniform(A1,A2,A3) where a USD is calculated in cell A3

Uses for a Uniform Standard Deviate USD can be used in all random number formulas in Simetar to facilitate correlating random variables For example in Simetar we can add USDs: =NORM(mean, std dev, [USD]) =TRIANGLE(min, middle, max, [USD]) = EMP( S i, F(S i ), [USD]) Note the [USD] means that USD is optional

Simulating Random Variables Must assume a probability distribution shape –Normal, Beta, Empirical, etc. Estimate parameters required for the assumed distribution Here are the parameters for selected distributions –Normal ( Mean, Std Deviation ) –Beta ( Alpha, Beta, Min, Max ) –Uniform ( Min, Max ) –Empirical ( S i, F(S i ) ) Often times we assume several distribution forms, estimate their parameters, simulate them and pick the one which best fits the data

Steps for Parameter Estimation Step 1: Check for the presence of a trend, cycle or structural pattern –If present remove it & work with the residuals (ẽ t ) –If no trend or structural pattern, use actual data (X’s) Step 2: Estimate parameters for several assumed distributions using the X’s or the residuals (ẽ t ) Step 3: Simulate the different distributions Step 4: Pick the best match based on –Mean, Standard Deviation -- use validation tests –Minimum and Maximum –Shape of the CDF vs. historical series –Penalty function =CDFDEV() to quantify differences

Parameter Estimator in Simetar Use Theta Icon in Simetar –Estimate parameters for 16 parametric distributions –Select MLE method of parameter estimation –Provides equations for simulating distributions

Parameter Estimator in Simetar Results for Theta Estimate parameters for 16 distributions –Selected MLE in this example –Provides equations for simulating distributions based on a common USD

Which is the Best Distribution? Use Simetar function =CDFDEV(History, SimData) –Perfect fit has a CDFDEV value of Zero –Pick the distribution with the lowest CDFDEV

Use the “View Distributions.xls” For a random variable with 10 observations can estimate the parameters and view the shape of the distribution