Software Tools for Simulation H. Scott Matthews 12-706/73-359 Lecture 17 - Oct. 26, 2005.

Slides:



Advertisements
Similar presentations
McGraw-Hill/Irwin Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved. A PowerPoint Presentation Package to Accompany Applied Statistics.
Advertisements

Design of Experiments Lecture I
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.
Introduction to Risk Analysis Using Excel. Learning Objective.
Monte Carlo Simulation A technique that helps modelers examine the consequences of continuous risk Most risks in real world generate hundreds of possible.
Simulation Operations -- Prof. Juran.
Propagation of Error Ch En 475 Unit Operations. Quantifying variables (i.e. answering a question with a number) 1. Directly measure the variable. - referred.
1 Spreadsheet Modeling & Decision Analysis: A Practical Introduction to Management Science, 3e by Cliff Ragsdale.
Estimation and Uncertainty Dr. Deanna Matthews / Lecture 7 - Sept 18, 2002.
Software Tools for Sensitivity and Uncertainty Analysis H. Scott Matthews / Lecture 11 - Oct. 6, 2004.
1 Monte-Carlo Simulation Simulation with Spreadsheets.
Contemporary Engineering Economics, 4 th edition, © 2007 Risk Simulation Lecture No. 49 Chapter 12 Contemporary Engineering Economics Copyright, © 2006.
1 Simulation: Modeling Uncertainty with Monte Carlo /
Estimation and Uncertainty H. Scott Matthews / Lecture 10 - Oct. 1, 2003.
Estimation and Uncertainty H. Scott Matthews / Lecture 10 - Oct. 4, 2004.
A random variable that has the following pmf is said to be a binomial random variable with parameters n, p The Binomial random variable.
1 Simulation: Modeling Uncertainty with Monte Carlo /
511 Friday Feb Math/Stat 511 R. Sharpley Lecture #15: Computer Simulations of Probabilistic Models.
Monte Carlo Analysis A Technique for Combining Distributions.
Monté Carlo Simulation MGS 3100 – Chapter 9. Simulation Defined A computer-based model used to run experiments on a real system.  Typically done on a.
Simulation.
Delivering Integrated, Sustainable, Water Resources Solutions Monte Carlo Simulation Robert C. Patev North Atlantic Division – Regional Technical.
Introduction to ModelingMonte Carlo Simulation Expensive Not always practical Time consuming Impossible for all situations Can be complex Cons Pros Experience.
Lecture 11 Implementation Issues – Part 2. Monte Carlo Simulation An alternative approach to valuing embedded options is simulation Underlying model “simulates”
Computer Simulation A Laboratory to Evaluate “What-if” Questions.
Example 16.1 Ordering calendars at Walton Bookstore
5-1 Business Statistics: A Decision-Making Approach 8 th Edition Chapter 5 Discrete Probability Distributions.
Monte Carlo Simulation and Personal Finance Jacob Foley.
1 Theoretical Physics Experimental Physics Equipment, Observation Gambling: Cards, Dice Fast PCs Random- number generators Monte- Carlo methods Experimental.
Chapter 10 Introduction to Simulation Modeling Monte Carlo Simulation.
Sampling Methods  Sampling refers to how observations are “selected” from a probability distribution when the simulation is run. 1.
Contemporary Engineering Economics, 6 th edition Park Copyright © 2016 by Pearson Education, Inc. All Rights Reserved Risk Simulation Lecture No. 40 Chapter.
1 Lesson 8: Basic Monte Carlo integration We begin the 2 nd phase of our course: Study of general mathematics of MC We begin the 2 nd phase of our course:
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. 1 Simulation.
SUPPLEMENT TO CHAPTER NINETEEN Irwin/McGraw-Hill © The McGraw-Hill Companies, Inc., 1999 SIMULATION 19S-1 Chapter 19 Supplement Simulation.
Random Thoughts 2012 (COMP 066) Jan-Michael Frahm Jared Heinly.
Outline of Chapter 9: Using Simulation to Solve Decision Problems Real world decisions are often too complex to be analyzed effectively using influence.
ETM 607 – Input Modeling General Idea of Input Modeling Data Collection Identifying Distributions Parameter estimation Goodness of Fit tests Selecting.
4-1 Continuous Random Variables 4-2 Probability Distributions and Probability Density Functions Figure 4-1 Density function of a loading on a long,
Propagation of Error Ch En 475 Unit Operations. Quantifying variables (i.e. answering a question with a number) 1. Directly measure the variable. - referred.
Copyright ©2011 Pearson Education, Inc. publishing as Prentice Hall 5-1 Business Statistics: A Decision-Making Approach 8 th Edition Chapter 5 Discrete.
FIN 614: Financial Management Larry Schrenk, Instructor.
Monte Carlo Process Risk Analysis for Water Resources Planning and Management Institute for Water Resources 2008.
Probability Refresher COMP5416 Advanced Network Technologies.
Expectation. Let X denote a discrete random variable with probability function p(x) (probability density function f(x) if X is continuous) then the expected.
Engineering Systems Analysis for Design Richard de Neufville  Massachusetts Institute of Technology Use of Simulation Slide 1 of 17 Use of 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.
Lec. 08 – Discrete (and Continuous) Probability Distributions.
Continuous Random Variables Much of the material contained in this presentation can be found at this excellent website
- 1 - Computer model under uncertainty In previous lecture on accuracy assessment –We considered mostly deterministic models. – We did not distinguish.
Statistics Presentation Ch En 475 Unit Operations.
Lecture 3 Types of Probability Distributions Dr Peter Wheale.
Probability Distributions ( 확률분포 ) Chapter 5. 2 모든 가능한 ( 확률 ) 변수의 값에 대해 확률을 할당하는 체계 X 가 1, 2, …, 6 의 값을 가진다면 이 6 개 변수 값에 확률을 할당하는 함수 Definition.
Chapter 19 Monte Carlo Valuation. © 2013 Pearson Education, Inc., publishing as Prentice Hall. All rights reserved.19-2 Monte Carlo Valuation Simulation.
Markov Chain Monte Carlo in R
Computer Simulation Henry C. Co Technology and Operations Management,
6. Risk Analysis for the New Venture Using Monte Carlo Simulation
Monte Carlo Simulation Random Number Generation
Statistical Modelling
Prepared by Lloyd R. Jaisingh
Monte Carlo Simulation
Discrete Probability Distributions
Bayes Net Learning: Bayesian Approaches
Monte Carlo Simulation Managing uncertainty in complex environments.
Statistics Review ChE 477 Winter 2018 Dr. Harding.
Simulation Modeling.
Probability Review for Financial Engineers
Lecture 5 b Faten alamri.
Monte Carlo Simulation
Distribution-free Monte Carlo for population viability analysis
Presentation transcript:

Software Tools for Simulation H. Scott Matthews / Lecture 17 - Oct. 26, 2005

Admin Issues zFinal Project proposals due today yRunning late? Friday at latest. zMidterm projects back on Monday yLook good so far. Thanks. zMidterm Grade discussion ySimple scale, average of first 3-4 HW’s. No class participation/etc adjustment. yIntention to keep you working through end of semester.

Final Notes on Uncertainty zIt is inherent to everything we do zOur goal then is to best understand and model its existence, make better results zWe ‘internalize’ the uncertainty by making ranges or distributions of variables zWe see the effects by performing sensitivity analysis (one of three methods)

Monte Carlo Simulation - Background / History zInvented by Ulam in 1940’s (claim to fame - a-bomb project) yWanted to figure out odds of winning solitaire yDeveloped method for setting up problem and doing lots of iterations to guess answer yHis contribution: using the “fast computers” of the time to help the effort. zLater, named after Monte Carlo (famous for gambling)

Monte Carlo Simulation zWhat is it? yAttempt to mimic real world / uncertainty zHow to do it? yReplace single assumptions / variables with probability distributions yTools then randomly draw from your distributions and use these random draws as the assumptions/variables, and run them through your model

Monte Carlo Method zMonte Carlo analysis’ 3 steps yFirst, specify probability distributions in place of constants/ variables ySecond, trial by random draws (plug them in) yThird, repeat for many (000s) of trials xProduces some distribution of results - look at the distribution as the answer instead of a single point yDoing Monte Carlo doesn’t “give you the answer”! xLaw of large numbers says convergence

Monte Carlo Simulations zUse RiskSim add-in from website zAdds special probability functions to excel yExcel has some, but these are better yAlso adds monte carlo math to excel zDistributions: Binomial, Cumulative, Discrete, Exponential, Integer, Normal, Poisson, Triangular, Uniform yCan do almost anything with these as base

Let’s Test It zReplace Simple Input with Random Variable, then look at results y“1” -> Normal (0,1) with 50 trials yNote difference between “one value” as shown in result cell of spreadsheet xWhat does this one cell value show? yVersus running it multiple times and looking at the result xDo “output results” match what we would expect? xWhat if we do more trials? Up to 3000.

Revisiting Previous Spreadsheets zPenny? zIRA? zHW 2 Dams zPhoto Sensors?

Using Monte Carlo Methods zInstead of our ‘point estimates’, use probabilistic functions yPhoto-RiskSim worksheet as starting point yBulb and elec. cost obvious to do with prob. functions yOther variables are constant (e.g., number of bulbs) yAssume bulb cost is triangular, 3.5, 6, 10 yElec cost normal with mean 0.05, stdev.005 yNow what kind of result will we get? xUse with “Tools-> Risk Simulation” (one output) yAgain, photo sensor case not ideal for this - look at production cost example

Wrap-Up zLook at effect of number of trials ( ) yRiskSim Summary worksheet shows 300 trials - note if you do it again, results would be different! zCould do all of this with excel, would just be harder (as usual) (see ExcelOnly worksheet) zAdd-ins like this (or simplify this kind of analysis - you should definitely use these instead. zWe have much better models - and knowledge of our results now

Putting it Together zHopefully its more clear to you now why we have devoted time recently to: yUnderstanding probability distributions, and when and how to use specific ones yHow to interpret pdf/cdf figures