7. Analysis of performance of trading strategies

Slides:



Advertisements
Similar presentations
: INTRODUCTION TO Machine Learning Parametric Methods.
Advertisements

COMM 472: Quantitative Analysis of Financial Decisions
Applications of Stochastic Processes in Asset Price Modeling Preetam D’Souza.
1 Market Efficiency in the Emerging Securitized Real Estate Markets Felix Schindler Centre for European Economic Research (ZEW) Milan, 26 th of June 2010.
ETHEM ALPAYDIN © The MIT Press, Lecture Slides for.
INTRODUCTION TO Machine Learning ETHEM ALPAYDIN © The MIT Press, Lecture Slides for.
Empirical Financial Economics The Efficient Markets Hypothesis Review of Empirical Financial Economics Stephen Brown NYU Stern School of Business UNSW.
Genetic Programming and the Predictive Power of Internet Message Traffic James D Thomas Katia Sycara.
FINANCIAL ECONOMETRICS FALL 2000 Rob Engle. OUTLINE DATA MOMENTS FORECASTING RETURNS EFFICIENT MARKET HYPOTHESIS FOR THE ECONOMETRICIAN TRADING RULES.
The Lognormal Distribution
Chapter 10: Risk and return: lessons from market history
On Model Validation Techniques Alex Karagrigoriou University of Cyprus "Quality - Theory and Practice”, ORT Braude College of Engineering, Karmiel, May.
Time, Dynamics, and Uncertainty Notes and code only.
Estimating the Conditional CAPM with Overlapping Data Inference Esben Hedegaard and Bob Hodrick Arizona State Univ. Columbia and NBER March 22, 2013.
Lecture 18 Mutual Funds. Net Asset Value NAV = net asset value MVA = market value of assets L = funds liabilities NSO = number of shares outstanding.
0 Presentation by: Austin Applegate Michael Cormier Paul Hodulik Carl Nordberg Nikki Zadikoff Global Asset Allocation February, Granite Investments.
1 Chapter 12 Simple Linear Regression. 2 Chapter Outline  Simple Linear Regression Model  Least Squares Method  Coefficient of Determination  Model.
1 8. Back-testing of trading strategies 8.1Bootstrap Brock et al (1992), Davidson & Hinkley (1997), Fusai & Roncoroni (2008). Bootstrap: picking up at.
Hedging and speculative strategies using index futures Finance S. Mann, Fall 2001 Short hedge: Sell Index futures - offset market losses on portfolio.
Measurement of Market Risk. Market Risk Directional risk Relative value risk Price risk Liquidity risk Type of measurements –scenario analysis –statistical.
Hedging and speculative strategies using index futures Short hedge: Sell Index futures - offset market losses on portfolio by generating gains on futures.
INTRODUCTION TO Machine Learning 3rd Edition
McGraw-Hill/Irwin Copyright © 2005 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 9 The Capital Asset Pricing Model.
INTRODUCTION TO MACHINE LEARNING 3RD EDITION ETHEM ALPAYDIN © The MIT Press, Lecture.
Market Efficiency.
1 Introduction to Statistics − Day 4 Glen Cowan Lecture 1 Probability Random variables, probability densities, etc. Lecture 2 Brief catalogue of probability.
Bias and Variance of the Estimator PRML 3.2 Ethem Chp. 4.
Machine Learning 5. Parametric Methods.
ES 07 These slides can be found at optimized for Windows)
Lecture 1: Basic Statistical Tools. A random variable (RV) = outcome (realization) not a set value, but rather drawn from some probability distribution.
Presentation : “ Maximum Likelihood Estimation” Presented By : Jesu Kiran Spurgen Date :
Model Comparison. Assessing alternative models We don’t ask “Is the model right or wrong?” We ask “Do the data support a model more than a competing model?”
ETHEM ALPAYDIN © The MIT Press, Lecture Slides for.
The Four Lessons I Hope you Get out of 410
Stochastic Process - Introduction
Statistical Estimation
HST 583 fMRI DATA ANALYSIS AND ACQUISITION
PDF, Normal Distribution and Linear Regression
Empirical Financial Economics
Chapter 9 Market Efficiency.
Monte Carlo Stock Price Forecasting and Portfolio Optimization
Measures of Dispersion
Futures Contracts and Portfolio Management
Chapter 4: Sampling and Statistical Inference
Statistics in MSmcDESPOT
STAT 312 Chapter 7 - Statistical Intervals Based on a Single Sample
Liquidity Premia & Transaction costs
RETURN CONCEPTS Dr. David Krause AIM Program Marquette University.
Bias and Variance of the Estimator
William N. Goetzmann Yale School of Management
STAT120C: Final Review.
CI for μ When σ is Unknown
Hypothesis Theory examples.
Chapter Twenty One Option Valuation.
INTRODUCTION TO Machine Learning
Model Comparison.
Discrete Event Simulation - 4
Modelling Input Data Chapter5.
Chapter 3 Statistical Concepts.
Cross-validation for the selection of statistical models
Market Efficiency and Behavioral Finance
Stock Prediction with ARIMA
Module 3 Forecasting a Single Variable from its own History, continued
PSY 626: Bayesian Statistics for Psychological Science
CHAPTER 15 SUMMARY Chapter Specifics
Chapter 3 A Review of Statistical Principles Useful in Finance
State-Space Models for Time Series
Overview & backtesting
Threshold Autoregressive
Presentation transcript:

7. Analysis of performance of trading strategies 7.1 Basic concepts “It is hard to make predictions, especially about the future” (Mark Twain) => standard disclaimer of asset management institutions : “Past investment performance does not guarantee future returns”. Back testing: prediction models are fitted (in-sample) and tested (out-of-sample) using past empirical data. Walk-forward testing: for 10-year sample, 1-5-year in-sample, 6th year out-of-sample (1-5,6); then (2-6, 7), etc. Usually, variance-stationary models. More is better? What’s S&P 500? Regime shifts caused by macroeconomic events or changes in regulatory policies (e.g. introduction of Euro in 1999, changes in the up-tick rule, etc.) => Markov-switching models (Tsay (2005)).

7. Analysis of performance of trading strategies 7.1 Basic concepts (continued) Danger of over-fitting: “too good to be true” in-sample accuracy => disaster out-of-sample (fitting the noise). MLE-based Akaike information criterion (AIC): AIC = -2 ln[L(n, N)]/N + 2n/N L(n, N) is likelihood for N points in sample and n model parameters. For ARMA(p, q) with Gaussian noise, AIC(p, q, N) = ln(σp,q2) +2(p+q)/N. Optimal ARMA(p, q) yields minimal AIC. Alas, optimal ARMA(p, q) in-sample may not be optimal out-of-sample (Hansen (2010)). Data snooping bias: the best predictor in the UN database for the S&P 500 stock index is production of butter in Bangladesh (Sullivan et al (1999)). Resampling!!!

7. Analysis of performance of trading strategies 7.2 Performance measures Performance is studied for a time interval >> round-trip transaction. Market imperfections: bid/ask spread, finite liquidity, transaction fees. - Realized (!) total (compound) return – ultimate benchmark R = (1 + r1)(1+r2)… - 1 Is this just luck? - Percentage of winning trades p - Ratio of average winning amount to average losing amount r - Kelly’s criterion for estimating the optimal fraction of trading capital, f, to be used in each trade: f = (pr – 1 + p)/r – valid only asymptotically (be careful!.. (Thorp (2006), Poundstone (2006)).

7. Analysis of performance of trading strategies 7.2 Performance measures (continued) - Multiple trades => probability distribution => comparing strategies - If distribution ~ N(µ, σ), t-value t = Check null hypothesis (µ = 0) using t distribution with N-1 degrees of freedom. - Comparing two strategies (or buys and sells (LeBrock et al (1992)): t = Usually not N(µ, σ)... Hence Wilcoxon (Mann-Whitney) test for medians and Kolmogorov-Smirnov test.

7. Analysis of performance of trading strategies 7.2 Performance measures (continued 2) - Sharpe ratio => Sortino ratio (only negative returns are counted in σ). - Informational ratio for comparing with (buy-and-hold) index strategy: IR = (E[ri] - E[r0])/σi0 - Maximum drawdown: maximum price drop after its peak MD = max[ max X(s) - X(t) ] t [0, T] s [0, t] For random walk with no drift (Magdon-Ismail & Atiya (2004)) : E[MD] = 1.2533σ - Calmar ratio: Sharpe ratio with σ => MD - Number of consecutive losing trades: no strategy works forever...

Max Drawdown