A Glimpse of Representing Stochastic Processes. Nathaniel Osgood CMPT 858 March 22, 2011

Similar documents
Brooks, Introductory Econometrics for Finance, 3rd Edition

Monte Carlo Simulation (General Simulation Models)

GN47: Stochastic Modelling of Economic Risks in Life Insurance

Overview. We will discuss the nature of market risk and appropriate measures

Measurement of Market Risk

5.- RISK ANALYSIS. Business Plan

Monte Carlo Simulation (Random Number Generation)

Valuation of Asian Option. Qi An Jingjing Guo

Section 3.1: Discrete Event Simulation

Razor Risk Market Risk Overview

Milliman STAR Solutions - NAVI

Stochastic Modelling: The power behind effective financial planning. Better Outcomes For All. Good for the consumer. Good for the Industry.

Tests for Two Variances

STOCHASTIC COST ESTIMATION AND RISK ANALYSIS IN MANAGING SOFTWARE PROJECTS

Modelling the Sharpe ratio for investment strategies

Market Risk: FROM VALUE AT RISK TO STRESS TESTING. Agenda. Agenda (Cont.) Traditional Measures of Market Risk

STATISTICAL FLOOD STANDARDS

STOCHASTIC COST ESTIMATION AND RISK ANALYSIS IN MANAGING SOFTWARE PROJECTS

Solvency Opinion Scenario Analysis

Tests for One Variance

Analytical Finance 1 Seminar Monte-Carlo application for Value-at-Risk on a portfolio of Options, Futures and Equities

Review: Population, sample, and sampling distributions

Properties of the estimated five-factor model

Investment Horizon, Risk Drivers and Portfolio Construction

MEASURING PORTFOLIO RISKS USING CONDITIONAL COPULA-AR-GARCH MODEL

SIMULATION OF ELECTRICITY MARKETS

Calculating VaR. There are several approaches for calculating the Value at Risk figure. The most popular are the

Forecasting Volatility of Hang Seng Index and its Application on Reserving for Investment Guarantees. Herbert Tak-wah Chan Derrick Wing-hong Fung

Better decision making under uncertain conditions using Monte Carlo Simulation

Constructing Lapse Stress Scenarios

Reverse Sensitivity Testing: What does it take to break the model? Silvana Pesenti

AP Statistics Chapter 6 - Random Variables

Interval estimation. September 29, Outline Basic ideas Sampling variation and CLT Interval estimation using X More general problems

Prioritization of Climate Change Adaptation Options. The Role of Cost-Benefit Analysis. Session 8: Conducting CBA Step 7

Online Appendix of. This appendix complements the evidence shown in the text. 1. Simulations

Presented at the 2012 SCEA/ISPA Joint Annual Conference and Training Workshop -

Preprint: Will be published in Perm Winter School Financial Econometrics and Empirical Market Microstructure, Springer

Introduction Dickey-Fuller Test Option Pricing Bootstrapping. Simulation Methods. Chapter 13 of Chris Brook s Book.

Review of the Topics for Midterm I

Sampling and sampling distribution

Tests for the Matched-Pair Difference of Two Event Rates in a Cluster- Randomized Design

Modelling economic scenarios for IFRS 9 impairment calculations. Keith Church 4most (Europe) Ltd AUGUST 2017

Least Squares Monte Carlo (LSMC) life and annuity application Prepared for Institute of Actuaries of Japan

ANNUAL ACTUARIAL VALUATION OF THE PREPAID TUITION TRUST FUND FOR KENTUCKY S AFFORDABLE PREPAID TUITION JUNE 30, 2007

Seminar Stochastic Modeling Theory and Reality from an Actuarial Perspective

Monte Carlo Methods in Financial Engineering

Web Appendix. Are the effects of monetary policy shocks big or small? Olivier Coibion

XSG. Economic Scenario Generator. Risk-neutral and real-world Monte Carlo modelling solutions for insurers

Discrete Intra-Agent Dynamics: Statecharts

Excavation and haulage of rocks

Use of the Risk Driver Method in Monte Carlo Simulation of a Project Schedule

The private long-term care (LTC) insurance industry continues

Three Components of a Premium

Section 0: Introduction and Review of Basic Concepts

Full Monte. Looking at your project through rose-colored glasses? Let s get real.

First Order Delays. Nathaniel Osgood CMPT

ANNUAL ACTUARIAL VALUATION OF THE PREPAID TUITION TRUST FUND FOR KENTUCKY S AFFORDABLE PREPAID TUITION JUNE 30, 2012

F19: Introduction to Monte Carlo simulations. Ebrahim Shayesteh

ANNUAL ACTUARIAL VALUATION OF THE PREPAID TUITION TRUST FUND FOR KENTUCKY S AFFORDABLE PREPAID TUITION JUNE 30, 2017

Estimation risk for the VaR of portfolios...

Simulation. Decision Models

Lesson Plan for Simulation with Spreadsheets (8/31/11 & 9/7/11)

ELEMENTS OF MONTE CARLO SIMULATION

Week 7 Quantitative Analysis of Financial Markets Simulation Methods

INTERNATIONAL MONETARY FUND. Information Note on Modifications to the Fund s Debt Sustainability Assessment Framework for Market Access Countries

Real Options. Katharina Lewellen Finance Theory II April 28, 2003

Modelling Returns: the CER and the CAPM

Are Your Risk Tolerance and LDI Glide Path in Sync?

Publication date: 12-Nov-2001 Reprinted from RatingsDirect

KARACHI UNIVERSITY BUSINESS SCHOOL UNIVERSITY OF KARACHI BS (BBA) VI

Market Risk Analysis Volume IV. Value-at-Risk Models

Much of what appears here comes from ideas presented in the book:

Introduction to Algorithmic Trading Strategies Lecture 8

Confidence Intervals Introduction

Stochastic Analysis Of Long Term Multiple-Decrement Contracts

Domokos Vermes. Min Zhao

ESGs: Spoilt for choice or no alternatives?

Context Power analyses for logistic regression models fit to clustered data

Retirement. Optimal Asset Allocation in Retirement: A Downside Risk Perspective. JUne W. Van Harlow, Ph.D., CFA Director of Research ABSTRACT

Portfolio Risk Management and Linear Factor Models

The Central Limit Theorem (Solutions) COR1-GB.1305 Statistics and Data Analysis

Shifting our focus. We were studying statistics (data, displays, sampling...) The next few lectures focus on probability (randomness) Why?

The following content is provided under a Creative Commons license. Your support

A random walk in the Bakken Oil prices, investment and energy policy

XLSTAT TIP SHEET FOR BUSINESS STATISTICS CENGAGE LEARNING

AMA Implementation: Where We Are and Outstanding Questions

TEACHERS RETIREMENT BOARD. REGULAR MEETING Item Number: 7 CONSENT: ATTACHMENT(S): 1. DATE OF MEETING: November 8, 2018 / 60 mins

Approximating the Confidence Intervals for Sharpe Style Weights

Net Order Imbalance Indicator Support Document

Practical example of an Economic Scenario Generator

Introduction to Statistics I

CHAPTER 9 DUNNING CONFIG AND EXECUTION

Lecture 9 - Sampling Distributions and the CLT

Advanced Financial Modeling. Unit 2

Energy Price Processes

Callable Bond and Vaulation

Output Analysis for Simulations

PENNSYLVANIA 529 GUARANTEED SAVINGS PLAN

Homeowners Ratemaking Revisited

Transcription:

A Glimpse of Representing Stochastic Processes Nathaniel Osgood CMPT 858 March 22, 2011

Recall: Project Guidelines Creating one or more simulation models. Placing data into the model to customize it to a particular context (e.g. to a particular region). Running a baseline scenario with the existing model parameters, and commenting on its plausibility. Running one or more what if scenarios with the model to explore different possible situations. These situations could reflect the results of implementing different policies, or different possible external conditions. Performing one or more sensitivity analyses, in which assumptions in the model (in the form of parameter values, or structural elements of the model) are changed. A well-structured written report describing the above, and your findings. Report Due date: April 24

What I d like to See in the Report Introduction Background Comment on baseline scenario choice & plausibility of model results Sensitivity analyses (Parameters and/or structural) Investigation of what if scenarios Potential policies External conditions Model limitations & ideas for possible extensions Process learning Implications for our understanding of the world

Project Presentations Presentations will be 45 minutes in length Seeking 2 half days of presentations Encourage all students to attend Likely scheduling: Late in week of April 24 (just after report due) afternoon of April 28 & 29?

Monte Carlo Analyses in AnyLogic When running Monte Carlo analysis, we d like to summarize the results of multiple runs One option would be to display each trajectory over time; downside: quickly gets messy AnyLogic s solution Accumulate data regarding how many trajectories fall within given areas of value for a given interval of time using a Histogram2D Data Display the Histogram2D Chart

Hands on Model Use Ahead Load Sample Model: SIR Agent Based Calibration (Via Sample Models under Help Menu)

2D Histogram Data

Important Distinction (Declining Order of Aggregation) Experiment Collection of simulation Simulation Collection of replications that can yield findings across set of replications (e.g. mean value) Replication One run of the model

Flexibility Typically Ignored In most AnyLogic models, an Experiment is composed of a single Simulation, which is composed of a single Replication In most AnyLogic models which run ensembles of realizations, a simulation is composed of only a single realization

Accumulating the Histogram2D dataset from other datasets

Monte Carlo Sensitivity Analyses in AnyLogic

Monte Carlo Analyses in AnyLogic: Specifying Distributions for Parameters

Automatic Throttling of Monte Carlo Analyses

Reminder: Statistical Scaling Consider Taking the sample mean of n samples that vary independently around a mean If two samples x and y are independent samples of random variables X and Y, then Var[x+y]=Var[X]+Var[Y] So if we have n indep. samples x i from distribution X n Var xi nvar X i1 If we scale a random variable by a factor, the standard deviation scales by the same factor of => the variance scales by 2 i.e. StdDev[X]= StdDev[X], Var[X]= 2 Var[X]

Statistics of Sample Mean Recall: Sample Mean: From the preceding, we have Var m n x Var i i i1 i1 Var 2 2 n Var X This means that standard deviation for the sample mean of n samples varies as StdDev m Var m x nvar X n n n n So if we wish to divide the standard deviation of the sample mean by a factor of 2, we need to take 4x the number of Monte Carlo samples m n i1 n x StdDev X i 2 StdDev X Var X n n n

Dynamic Uncertainty: Stochastic Processes Examples of things commonly stochastically approximated Stock market Rainfall Oil prices Economic growth What considered stochastic will depend on the scope of the model Detailed model: Individual behaviour, transmission, etc. A meteorological model may not consider rainfall stochastic

0 0 1457 2914 4371 5828 Time (Day) Stochastic Processes in Vensim Baseline 50% 60% 70% 80% 90% 95% 98% 100% Average Variable Cost per Cubic Meter 0.6 0.45 0.3 0.15

Making a Vensim Flow Stochastic

Treat as a Sensitivity Analysis

Setting the Random Seed to Differ between Simulations

Monte Carlo Analysis with Fixed Parameter Values

Results of Monte Carlo Simulation Even without parameter variation, Substantial variability is still present!

Stochastic Processes in AnyLogic In AnyLogic, ABM and Discrete Event Models ( Network-Based Modeling ) are typically stochastic Transitions between states Event firing Messages (Frequent) timing of message send Target of messages Duration of a procedure As a result, there will be variation in the results from simulation to simulation

Summarizing Variability To gain confidence in model results, typically need to run an ensemble of realizations Deal with means, standard deviations, and empirical fractiles As is seen here, there are typically still broad regularities between most runs (e.g. rise & fall) Need to reason over a population of realizations statistics are very valuable Fractile within which historic value falls Mean difference in results between interventions

Closing Question: How can we best adapt our policies to deal with ongoing uncertainty? We are dealing here with making decisions in an environment that changes over time This uncertainty could come from Average Variable Cost per Cubic Meter Stochastic variability Baseline 50% 60% 70% 80% 90% 95% 98% 100% 0.6 0.45 0.3 0.15 0 0 1457 2914 4371 5828 Time (Day) Uncertainty regarding parameter value There is an incredibly vast # of possible policies

0 0 1457 2914 4371 5828 Time (Day) Stochastic Processes in Vensim Baseline 50% 60% 70% 80% 90% 95% 98% 100% Average Variable Cost per Cubic Meter 0.6 0.45 0.3 0.15