Materials for Lecture 08 Chapters 4 and 5 Chapter 16 Sections 3.2-3.7.3 Lecture 08 Bernoulli & Empirical.xls Lecture 08 Normality Test.xls Lecture 08 Parameter.

Slides:



Advertisements
Similar presentations
Brief Review –Forecasting for 3 weeks –Simulation Motivation for building simulation models Steps for developing simulation models Stochastic variables.
Advertisements

Lecture (11,12) Parameter Estimation of PDF and Fitting a Distribution Function.
CmpE 104 SOFTWARE STATISTICAL TOOLS & METHODS MEASURING & ESTIMATING SOFTWARE SIZE AND RESOURCE & SCHEDULE ESTIMATING.
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.
Simulation Operations -- Prof. Juran.
Session 7a. Decision Models -- Prof. Juran2 Overview Monte Carlo Simulation –Basic concepts and history Excel Tricks –RAND(), IF, Boolean Crystal Ball.
Sampling Distributions (§ )
RESEARCH METHODOLOGY & STATISTICS LECTURE 6: THE NORMAL DISTRIBUTION AND CONFIDENCE INTERVALS MSc(Addictions) Addictions Department.
Probability Distributions and Stochastic Budgeting AEC 851 – Agribusiness Operations Management Spring, 2006.
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 8 Estimating Single Population Parameters
Chapter 8 Estimation: Additional Topics
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.
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 Modeling and Analysis Session 12 Comparing Alternative System Designs.
Contemporary Engineering Economics, 4 th edition, © 2007 Risk Simulation Lecture No. 49 Chapter 12 Contemporary Engineering Economics Copyright, © 2006.
Brief Review –Forecasting for 3 weeks –Simulation Motivation for building simulation models Steps for developing simulation models Stochastic variables.
Chap 9-1 Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chapter 9 Estimation: Additional Topics Statistics for Business and Economics.
Chapter Sampling Distributions and Hypothesis Testing.
EEM332 Design of Experiments En. Mohd Nazri Mahmud
Materials for Lecture 13 Purpose summarize the selection of distributions and their appropriate validation tests Explain the use of Scenarios and Sensitivity.
Inferences About Process Quality
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.
Lecture II-2: Probability Review
1/49 EF 507 QUANTITATIVE METHODS FOR ECONOMICS AND FINANCE FALL 2008 Chapter 9 Estimation: Additional Topics.
Simulation.
Delivering Integrated, Sustainable, Water Resources Solutions Monte Carlo Simulation Robert C. Patev North Atlantic Division – Regional Technical.
Hypothesis Testing and T-Tests. Hypothesis Tests Related to Differences Copyright © 2009 Pearson Education, Inc. Chapter Tests of Differences One.
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.
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.
Mote Carlo Method for Uncertainty The objective is to introduce a simple (almost trivial) example so that you can Perform.
Monte Carlo Simulation and Personal Finance Jacob Foley.
Bayesian inference review Objective –estimate unknown parameter  based on observations y. Result is given by probability distribution. Bayesian inference.
6.1 - One Sample One Sample  Mean μ, Variance σ 2, Proportion π Two Samples Two Samples  Means, Variances, Proportions μ 1 vs. μ 2.
Multiple Regression Forecasts Materials for this lecture Demo Lecture 8Multiple Regression.XLSX Read Chapter 15 Pages 8-9 Read all of Chapter 16’s Section.
About the Exam No cheat sheet Bring a calculator.
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,
Normal Distribution Introduction. Probability Density Functions.
Engineering Economic Analysis Canadian Edition
1 SMU EMIS 7364 NTU TO-570-N Inferences About Process Quality Updated: 2/3/04 Statistical Quality Control Dr. Jerrell T. Stracener, SAE Fellow.
Materials for Lecture 08 Chapters 4 and 5 Chapter 16 Sections Lecture 08 Bernoulli.xlsx Lecture 08 Normality Test.xls Lecture 08 Simulation Model.
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.
IS 4800 Empirical Research Methods for Information Science Class Notes March 13 and 15, 2012 Instructor: Prof. Carole Hafner, 446 WVH
Economics 173 Business Statistics Lecture 4 Fall, 2001 Professor J. Petry
5-1 ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. May 28, 2009 Inventory # Chapter 5 Six Sigma.
Monte Carlo Process Risk Analysis for Water Resources Planning and Management Institute for Water Resources 2008.
1 Topic 5 - Joint distributions and the CLT Joint distributions –Calculation of probabilities, mean and variance –Expectations of functions based on joint.
Statistics 300: Elementary Statistics Sections 7-2, 7-3, 7-4, 7-5.
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.
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.
Materials for Lecture 19 Readings Chapter 14
Lecture 3 Types of Probability Distributions Dr Peter Wheale.
The Practice of Statistics, 5th Edition Starnes, Tabor, Yates, Moore Bedford Freeman Worth Publishers CHAPTER 11 Inference for Distributions of Categorical.
Modeling and Simulation CS 313
Supplementary Chapter B Optimization Models with Uncertainty
Prepared by Lloyd R. Jaisingh
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.
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
Materials for Lecture 18 Chapters 3 and 6
Probability & Statistics Probability Theory Mathematical Probability Models Event Relationships Distributions of Random Variables Continuous Random.
The Normal Probability Distribution Summary
Sampling Distributions (§ )
Presentation transcript:

Materials for Lecture 08 Chapters 4 and 5 Chapter 16 Sections Lecture 08 Bernoulli & Empirical.xls Lecture 08 Normality Test.xls Lecture 08 Parameter Est.xls Lecture 08 Normal.xls Lecture 08 Simulate a Reg Model.xls

Stochastic Simulation Purpose of simulation is to estimate the unknown probability distribution for a KOV so decision makers can make a better decision –Simulate because we can not observe and measure the KOV distribution directly –Want to test alternative values for control variables Sample PDFs for random variables, calculate values of KOV for many iterations Record KOV Analyze KOV distribution

Stochastic Variables Any variable the decision maker can not control is thought to be stochastic In agriculture we think of yield as stochastic as it is subject to weather For most businesses the prices of inputs and outputs are not directly controlled by management so they are stochastic. –Production may be random as well. Include the most important stochastic variables in simulation models –Your model can not include all random variables

Stochastic Simulation In economics we use simulation because we can not experiment on live subjects, a business or the economy without injury In other fields they can fabricate an experiment –Health sciences they feed/treat multiple rats on different chemicals –Animal science feed multiple pens of steers, chickens, cows, etc. –Engineers run a motor under different controlled situations (temp, RPMs, lubricants, fuel mixes) – Vets treat different pens of animals with different meds –Agronomists set up randomized block treatments for a particular seed variety All of these are just different iterations of “models”

Iterations, How Many are Enough? Change the number of iterations based on nature of the problem is adequate. − Some studies use 1,000’s because they are using a Monte Carlo sampling procedure which is less precise than Latin hypercube −Simetar uses a Latin hypercube so 500 is an adequate sample size Specify the number of iterations in the Simetar simulation engine Specify the output variables’ names and location

Normal distribution a continuous distribution that produces a bell shaped distribution with set probabilities Parameters are –Mean –Standard Deviation Normal distribution reaches to + and - infinity. –Can produce negative values so be careful –Can produce extremely high values Most of us have memorized several probabilities for the normal distribution: –66% of observation within +/- 1  of the mean –95% of observation within +/- 2  of the mean –50% of observations lie above and below the mean. Normal Distribution

Normal distribution is used frequently, particularly when simulating a regression model Parameters for a Normal distribution –Mean expressed as Ῡ or Ŷ –Standard Deviation σ (or SEP from a regression model) Assume yield is a random variable and have production function data, such as: –Ỹ = a + b 1 Fert + b 2 Water + ẽ –Deterministic component is: a + b 1 Fert + b 2 Water –Stochastic component is: ẽ Stochastic component, ẽ, is assumed to be distributed Normal –Mean of zero –Standard deviation of σ e See Lecture 8 Simulate a Reg Model.XLS Simulating Random Variables

PDF and CDF for a Normal Dist. f(x)F(x) Probability Density FunctionCumulative Distribution Function -- ++ ++ --

Use the Normal Distribution When: Use the Normal distribution if you have lots of observations and have tested for normality Watch for infeasible values from a Normal distribution (negative yields and prices)

Problems with the Normal It is easy to use, so it often used when it is not appropriate It does not allow for extreme events (BS’s) –No way to account for record breaking outliers because the distribution is defined by Mean and Std Dev. Std Dev is the “average” deviation from the mean and averages out BS’s Market outliers are washed away in the average It is the foundation for Sigma 6 –So it suffers from all of the problems of the Normal –Creates a false sense of security because it never sees a record braking outlier

Test for Normality Simetar provides an easy to use procedure for testing Normality that includes: –S-W – Shapiro-Wilks –A-D – Anderson-Darling –CvM – Cramer-von Mises –K-S – Kolmogornov-Smiroff –Chi-Squared Simetar’s Hypothesis Testing Icon (Ho Hi) provides a tab to “Test for Normality”

Normal Distribution =NORM( Mean, Standard Deviation) =NORM( 10,3) =NORM( A1, A2) Standard Normal Deviate (SND) =NORM(0,1) or =NORM() SND is the Z-score for a standard normal distribution allowing you to simulate any Normal distribution SND is used as follows: Ỹ = Mean + Standard Deviation*NORM(0,1) Ỹ = Mean + Standard Deviation*SND Ỹ = A1 + (A2 * A3) where a SND is in cell A3 Simulating a Normal Distribution

General formula for the Truncated Normal =TNORM( Mean, Std Dev, [Min], [Max],[USD] ) Truncated Downside only =TNORM( 10, 3, 5) Truncated Upside only =TNORM( 10, 3,, 15) Truncated Both ends =TNORM( 10, 3, 5, 15) Truncated both ends with a USD in general form =TNORM( 10, 3, 5, 15, USD) Truncated Normal Distribution

Example Model of Net Returns for a Business Model -Stochastic Variables -- Yield and Price -Management Variables -- Acreage and Costs (fixed and variable) -KOV -- Net Returns -Write out the equations and exogenous values Equations and their order

Program a Simulation Model in Excel/Simetar  -- Input Data Section of the Worksheet 1VC / acre VC / Y0.25 3Acre100 4Fixed Cost 10 5Yield Mean & Std. Dev See Lecture 08 Simulation Model with Simetar.XLS ACB Price Mean & Std. Dev

Program Model in Excel/Simetar  -- Generate Random Variables and Simulate NR 13Stochastic Yield Formulas in Column B 14 Mean150= B5 15 Std. Dev.30= C5 16 SND0.362= NORM ( ) 17 Random Yield160.86= B14 + B15 * B16 18Stochastic Price 19 Mean2.00= B6 20 Std. Dev.0.40= C6 21 SND-0.216= NORM ( ) 22 Random Price1.9136= B19 + B20 * B21 23Receipts from Market 24 Yield160.86= B17 25 Price1.9136= B22 26 Acres100= B3 27 Receipts = B24 * B25 * B Calculate Costs 30 Fixed Cost10= B4 31 VC/acre4000= B1 * B3 32 VC/Y2412.9= B2 * B17 * B4 33 Total6422.9= Sum (B30 : B32) ABC Net Returns = B27 – B33

1X PDF for Bernoulli B(0.75) X CDF for Bernoulli B(0.75) PDF and CDF for a Bernoulli Distribution. Bernoulli Distribution Parameter is ‘p’ or the probability that the variable is 1 or TRUE Simulate Bernoulli in Simetar as = Bernoulli(p) = Bernoulli(0.25)

Use Bernoulli in a conditional distribution as demonstrated: –It rains 20% of time during June and if it rains, the amount is distributed U(0.1, 0.9) Cell A2 =BERNOULLI(0.20) Cell A3 =UNIFORM(0.1, 0.9) * A2 –Probability of mechanical failure is 5%, cost of repair is $10,000, $20,000, or $30,000 Cell A4 =BERNOULLI(0.050) Cell A5 =DEMPIRICAL(10000, 20000, 30000) Cell A6 = A4 * A5 Bernoulli Distribution