Monte Carlo Experiment With Path Dependent Trader Survival Rates



Similar documents
Pricing complex options using a simple Monte Carlo Simulation

Quantitative Methods for Finance

Chapter 11 Cash Flow Estimation and Risk Analysis ANSWERS TO SELECTED END-OF-CHAPTER QUESTIONS

Statistics for Retail Finance. Chapter 8: Regulation and Capital Requirements

Evaluating Trading Systems By John Ehlers and Ric Way

USING SPECTRAL RADIUS RATIO FOR NODE DEGREE TO ANALYZE THE EVOLUTION OF SCALE- FREE NETWORKS AND SMALL-WORLD NETWORKS

Internet Appendix to False Discoveries in Mutual Fund Performance: Measuring Luck in Estimated Alphas

On Correlating Performance Metrics

Waiting Times Chapter 7

A POPULATION MEAN, CONFIDENCE INTERVALS AND HYPOTHESIS TESTING

Adverse Impact Ratio for Females (0/ 1) = 0 (5/ 17) = Adverse impact as defined by the 4/5ths rule was not found in the above data.

1. What is the critical value for this 95% confidence interval? CV = z.025 = invnorm(0.025) = 1.96


Chapter 3 RANDOM VARIATE GENERATION

Dr Christine Brown University of Melbourne

SMIB A PILOT PROGRAM SYSTEM FOR STOCHASTIC SIMULATION IN INSURANCE BUSINESS DMITRII SILVESTROV AND ANATOLIY MALYARENKO

SYSM 6304: Risk and Decision Analysis Lecture 5: Methods of Risk Analysis

MTREPORT 4.0. User s Manual

Non Linear Dependence Structures: a Copula Opinion Approach in Portfolio Optimization

LDA at Work: Deutsche Bank s Approach to Quantifying Operational Risk

IST 301. Class Exercise: Simulating Business Processes

EVALUATING THE APPLICATION OF NEURAL NETWORKS AND FUNDAMENTAL ANALYSIS IN THE AUSTRALIAN STOCKMARKET

CRASHING-RISK-MODELING SOFTWARE (CRMS)

Diversifying with Negatively Correlated Investments. Monterosso Investment Management Company, LLC Q1 2011

Marshall-Olkin distributions and portfolio credit risk

RESP Investment Strategies

arxiv:physics/ v2 [physics.comp-ph] 9 Nov 2006

Common Core Unit Summary Grades 6 to 8

Project Time Management

Approaches to Stress Testing Credit Risk: Experience gained on Spanish FSAP

Featured article: Evaluating the Cost of Longevity in Variable Annuity Living Benefits

Traffic Engineering for Multiple Spanning Tree Protocol in Large Data Centers

More details on the inputs, functionality, and output can be found below.

Practical Applications of Stochastic Modeling for Disability Insurance

The Variability of P-Values. Summary

Traffic Driven Analysis of Cellular Data Networks

Exploratory data analysis (Chapter 2) Fall 2011

TRADING SYSTEM EVALUATION By John Ehlers and Mike Barna 1

Final Exam Practice Problem Answers

1 Determinants and the Solvability of Linear Systems

APPLICATION OF ADVANCED SEARCH- METHODS FOR AUTOMOTIVE DATA-BUS SYSTEM SIGNAL INTEGRITY OPTIMIZATION

Sensitivity Analysis of Safety Measures for Railway Tunnel Fire Accident

Impact of Remote Control Failure on Power System Restoration Time

NCSS Statistical Software Principal Components Regression. In ordinary least squares, the regression coefficients are estimated using the formula ( )

Profit Forecast Model Using Monte Carlo Simulation in Excel

Package samplesize4surveys

Optimization under uncertainty: modeling and solution methods

Portfolio Management for institutional investors

An introduction to Value-at-Risk Learning Curve September 2003

PROJECT RISK ANALYSIS AND MANAGEMENT

Portfolio choice under Cumulative Prospect Theory: sensitivity analysis and an empirical study

The Bank of Canada s Analytic Framework for Assessing the Vulnerability of the Household Sector

PROJECT TIME MANAGEMENT. 1 Powered by POeT Solvers Limited

Quantitative Impact Study 1 (QIS1) Summary Report for Belgium. 21 March 2006

Solving Simultaneous Equations and Matrices

Online Appendix Assessing the Incidence and Efficiency of a Prominent Place Based Policy

Single item inventory control under periodic review and a minimum order quantity

Facilitating On-Demand Risk and Actuarial Analysis in MATLAB. Timo Salminen, CFA, FRM Model IT

The Kelly criterion for spread bets

A Comparative Study of the Pickup Method and its Variations Using a Simulated Hotel Reservation Data

The accurate calibration of all detectors is crucial for the subsequent data

Data as of 30/04/2010 Page 1 of 9. Risk Questionnaire and Adviser Select Results Risk Profile Score from Questionnaire

Optimization: Continuous Portfolio Allocation

Monte Carlo Methods in Finance

Nexgen Software Services

Chapter 7 Section 1 Homework Set A

Bus u i s n i e n s e s s s Cas a e s, e, S o S l o u l t u io i n o n & A pp p r p oa o c a h

Portfolio Distribution Modelling and Computation. Harry Zheng Department of Mathematics Imperial College

Incorporating Internal Gradient and Restricted Diffusion Effects in Nuclear Magnetic Resonance Log Interpretation

Statistics in Medicine Research Lecture Series CSMC Fall 2014

Unit 1: Introduction to Quality Management

3.4 Statistical inference for 2 populations based on two samples

Fast Monte Carlo CVA using Exposure Sampling Method

A Coefficient of Variation for Skewed and Heavy-Tailed Insurance Losses. Michael R. Powers[ 1 ] Temple University and Tsinghua University

Simple Linear Regression Inference

CHAPTER 11. Proposed Project. Incremental Cash Flow for a Project. Treatment of Financing Costs. Estimating cash flows:

Chapter 11 Monte Carlo Simulation

Data Preparation and Statistical Displays

An Empirical Analysis of Insider Rates vs. Outsider Rates in Bank Lending

Basic Descriptive Statistics & Probability Distributions

Chapter 4. VoIP Metric based Traffic Engineering to Support the Service Quality over the Internet (Inter-domain IP network)

INTRODUCTION TO SURVEY DATA ANALYSIS THROUGH STATISTICAL PACKAGES

COMPUTING DURATION, SLACK TIME, AND CRITICALITY UNCERTAINTIES IN PATH-INDEPENDENT PROJECT NETWORKS

Uses of Derivative Spectroscopy

APPLYING COPULA FUNCTION TO RISK MANAGEMENT. Claudio Romano *

An Approach to Stress Testing the Canadian Mortgage Portfolio

Statistical Modeling and Analysis of Stop- Loss Insurance for Use in NAIC Model Act

Transcription:

Monte Carlo Experiment With Path Dependent Trader Survival Rates Which Ones Are Preferable, a Cancer Patient's or a Trader's 5-Year Survival Rates? Nassim Nicholas Taleb October 2003 Luck The idea is to look at a trader's (good or bad) 5 year survival rate (there is no need to go beyond, as we will see). It is done by generating random populations of traders under absorbtion/extinction constraints. The path dependence justifies the Monte Carlo in place of closed form experiment. The constraints are: 1) Peak-to-Valley of x% (say 20%) the trader is extinct once exceeded. PTV for a string between t 0 and T is the largest subsequent adverse deviation -Max 8S t - Min S t>t < t œ @t0,td 2) one year of losses exceeding a threshold and the business is history Note that we are not concerned with events inside the observation period Dt (here one month) We define the edge as the Coefficient of Variation, the "Sharpe", of the strategy. We can generate combinations and get the results in a Gaussian world (there is no need to complicate with fat tails: the results are sufficiently counterintuitive as they are) We illustrate the sensitivity of survival to the ex ante profile. Result: Clearly even with an ex ante the coefficient of variation of 1 E[X]/( è!!!!!!!!!!!! V@X D )=1, standard deviation (also called "Sharpe") the survival of a trader, owing to the path dependence of the selection process, is slim. One needs a lot a luck! << "Statistics`NormalDistribution`" << "Graphics`Graphics`" << "Statistics`DataManipulation`"

2 survivalrates1.nb Procedures ü Genrator of Random Runs (60 increments) The next program generates deviations for a given m and s pairs and retains 2 tables: YearlyReturns(year,t), 5 columns Cumulative Peak to Valey(year,t), 5 columns Generate@T_D := ForAt = 1, t T, V@tD = TableARandomANormalDistributionAµ dt, σ è!!!!!! dt EE, 8i, 1, 60<E; i B@tD = TableA V@tDPjT, 8i, 1, Length@V@tDD<E; j=1 Ry1@tD = B@tDP12T; Py1@tD = Table@ B@tDPiT + Min@Table@B@tDPjT, 8j, i + 1, 12<DD, 8i, 1, 11<D; Ry2@tD = B@tDP24T B@tDP12T; Py2@tD = Table@ B@tDPiT + Min@Table@B@tDPjT, 8j, i + 1, 24<DD, 8i, 1, 23<D; Ry3@tD = B@tDP36T B@tDP24T; Py3@tD = Table@ B@tDPiT + Min@Table@B@tDPjT, 8j, i + 1, 36<DD, 8i, 1, 35<D; Ry4@tD = B@tDP48T B@tDP36T; Py4@tD = Table@ B@tDPiT + Min@Table@B@tDPjT, 8j, i + 1, 48<DD, 8i, 1, 47<D; Ry5@tD = B@tDP60T B@tDP48T; Py5@tD = Table@ B@tDPiT + Min@Table@B@tDPjT, 8j, i + 1, 60<DD, 8i, 1, 59<D; Clear@V, B, PD; t++; YearlyReturns = Table@8Ry1@tD, Ry2@tD, Ry3@tD, Ry4@tD, Ry5@tD<, 8t, 1, T<D; CumPtv = Table@8Min@Py1@tDD, Min@Py2@tDD, Min@Py3@tDD, Min@Py4@tDD, Min@Py5@tDD<, 8t, 1, T<D;E ü Matrix Manipulations Procedure The yearly returns matrix comes in 5 lines, one per year and as many columns as simulation lines.

survivalrates1.nb 3 Procedure := DoAWinningyearsvector = Table@RangeCounts@YearlyReturnsPiT, 80<DP2T, 8i, 1, numberofsimulations<d; Print@"Mean Winning Years ", N@Mean@WinningyearsvectorDDD Print@"Sample Size ", numberofsimulationsd PrintA"Ex Ante C V Haka Sharpe L ", µ σ E Print@"Ex Post Returns ", TableForm@ Table@8i, Mean@Transpose@YearlyReturnsDPiTD<, 8i, 1, 5<DDD PrintA"Proportion of Profitable Years ", TableFormA Count@Winningyearsvector, id NATableA9i, =, 8i, 1, 5<EEEE numberofsimulations Print@"Unconditional Peak to Valley ", TableForm@ Table@8i, Mean@Transpose@CumPtvDPiTD<, 8i, 1, 5<DDD Print@"Peak to Valley after 5 Years "D Print@Histogram@Transpose@CumPtvDP5TDD Table@ If@And@YearlyReturnsPiTPjT > loss && CumPtvPiTPjT > minptvd, Surv@i, jd = 1, Surv@i, jd = 0D, 8i, 1, numberofsimulations<, 8j, 1, 5<D; FinalTable = TransposeATableATableA Surv@i, jd, 8z, 1, 5<E, 8i, 1, numberofsimulations<ee; Print@"Ratio of Survivors Under Conditions ", TableForm@Table@8i, N@Mean@FinalTablePiTDD<, 8i, 1, 5<DDDE z j=1 Running For a Set of Parameters à First Experiment, CV (i.e. "Sharpe" is 1) --The Optimistic Scenario µ=.2; σ=.2; dt = 1 12 ; Hminptv =.2;L; loss = 0; numberofsimulations = 1000; Timing@Generate@numberofsimulationsDD Procedure 849.201 Second, Null<

4 survivalrates1.nb Mean Winning Years 4.198 Sample Size 1000 Ex Ante C V Haka Sharpe L 1. Ex Post Returns 1 0.190711 2 0.200976 3 0.190939 4 0.205615 5 0.199848 Proportion of Profitable Years 1. 0. 2. 0.02 3. 0.157 4. 0.428 5. 0.395 Unconditional Peak to Valley 1 0.116353 2 0.166157 3 0.198919 4 0.218636 5 0.237238 Peak to Valley after 5 Years 100 80 60 40 20-0.6-0.5-0.4-0.3-0.2-0.1 Graphics

survivalrates1.nb 5 Ratio of Survivors Under Conditions 1 0.792 2 0.604 3 0.451 4 0.353 5 0.261 à Second Experiment, CV (i.e. "Sharpe" is 0) --Does it Make a Difference? Note that Ptv can become less than -100% (from initial capital) --we are dealing with Gaussian variates. µ=0; σ=.2; dt = 1 ê 12; minptv =.2; loss = 0; numberofsimulations = 1000; Generate@numberofsimulationsD êêtiming Procedure 862.14 Second, Null< Mean Winning Years 2.55 Sample Size 1000 Ex Ante C V Haka Sharpe L 0 Ex Post Returns 1 0.0116368 2 0.00116335 3 0.00407746 4 0.00917769 5 0.00368374 Proportion of Profitable Years 1. 0.152 2. 0.304 3. 0.304 4. 0.182 5. 0.03

6 survivalrates1.nb Unconditional Peak to Valley 1 0.173141 2 0.282292 3 0.365246 4 0.429513 5 0.490305 Peak to Valley after 5 Years 100 80 60 40 20-1.4-1.2-1 -0.8-0.6-0.4-0.2 Graphics Ratio of Survivors Under Conditions 1 0.478 2 0.203 3 0.074 4 0.031 5 0.015 à Third Experiment, CV (i.e. "Sharpe" is 1) --Tolerated Loss 4% (Generous) µ=.2; σ=.2; dt = 1 ê 12; minptv =.2;H minimum peak to valley L; loss = 0 H loss threshold for any given year L; numberofsimulations = 1000; Generate@numberofsimulationsD êêtiming Procedure 863.542 Second, Null<

survivalrates1.nb 7 Mean Winning Years 4.183 Sample Size 1000 Ex Ante C V Haka Sharpe L 1. Ex Post Returns 1 0.202086 2 0.207771 3 0.193197 4 0.198674 5 0.201268 Proportion of Profitable Years 1. 0. 2. 0.024 3. 0.153 4. 0.439 5. 0.384 Unconditional Peak to Valley 1 0.115885 2 0.164524 3 0.197358 4 0.220853 5 0.241323 Peak to Valley after 5 Years 100 80 60 40 20-0.6-0.5-0.4-0.3-0.2-0.1 Graphics

8 survivalrates1.nb Ratio of Survivors Under Conditions 1 0.789 2 0.607 3 0.448 4 0.346 5 0.263 à Fourth Experiment, CV (i.e. "Sharpe" is 1/2) --The Most Realistic Case Note that Ptv can become less than -100% (from initial capital) --we are dealing with Gaussian variates. µ=.1; σ=.2; dt = 1 ê 12; minptv =.2; loss = 0; numberofsimulations = 1000; Generate@numberofsimulationsD êêtiming Procedure 863.811 Second, Null< Mean Winning Years 3.398 Sample Size 1000 Ex Ante C V Haka Sharpe L 0.5 Ex Post Returns 1 0.102471 2 0.0992946 3 0.106599 4 0.0859277 5 0.100093 Proportion of Profitable Years 1. 0.029 2. 0.148 3. 0.336 4. 0.355 5. 0.129

survivalrates1.nb 9 Unconditional Peak to Valley 1 0.139648 2 0.208861 3 0.257875 4 0.299227 5 0.329683 Peak to Valley after 5 Years 100 80 60 40 20-0.8-0.6-0.4-0.2 Graphics Ratio of Survivors Under Conditions 1 0.658 2 0.393 3 0.233 4 0.132 5 0.076