PREDICTABILITY OF NON- LINEAR TRADING RULES IN THE US STOCK MARKET CHONG & LAM 2010.

Slides:



Advertisements
Similar presentations
Dummy Dependent variable Models
Advertisements

Introduction Describe what panel data is and the reasons for using it in this format Assess the importance of fixed and random effects Examine the Hausman.
Financial Econometrics
Ordinary least Squares
Regression Analysis.
1 CAPM Betas The Capital Asset Pricing Model (“CAPM”) [ R s - R f ] = b 0 + b 1 [ R M - R f ] + e People commonly refer to the b 0 in this model as the.
Threshold Autoregressive. Several tests have been proposed for assessing the need for nonlinear modeling in time series analysis Some of these.
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 ~ Curve Fitting ~ Least Squares Regression Chapter.
Part II – TIME SERIES ANALYSIS C5 ARIMA (Box-Jenkins) Models
6-1 Introduction To Empirical Models 6-1 Introduction To Empirical Models.
Regression Analysis Module 3. Regression Regression is the attempt to explain the variation in a dependent variable using the variation in independent.
Bivariate Regression Analysis
1 Lecture 2: ANOVA, Prediction, Assumptions and Properties Graduate School Social Science Statistics II Gwilym Pryce
Econometric Details -- the market model Assume that asset returns are jointly multivariate normal and independently and identically distributed through.
Kernel methods - overview
Simple Linear Regression
Threshold Autoregressive (TAR) Models Movements between regimes governed by an observed variable. TAR model: Where s t-k is the state determining variable.
KYIV SCHOOL OF ECONOMICS Financial Econometrics (2nd part): Introduction to Financial Time Series May 2011 Instructor: Maksym Obrizan Lecture notes II.
Lecture 20 Simple linear regression (18.6, 18.9)
Dealing with Heteroscedasticity In some cases an appropriate scaling of the data is the best way to deal with heteroscedasticity. For example, in the model.
C82MCP Diploma Statistics School of Psychology University of Nottingham 1 Linear Regression and Linear Prediction Predicting the score on one variable.
FINANCIAL ECONOMETRICS FALL 2000 Rob Engle. OUTLINE DATA MOMENTS FORECASTING RETURNS EFFICIENT MARKET HYPOTHESIS FOR THE ECONOMETRICIAN TRADING RULES.
Correlation and Regression Analysis
Quantitative Trading Strategy based on Time Series Technical Analysis Group Member: Zhao Xia Jun Lorraine Wang Lu Xiao Zhang Le Yu.
NEURAL NETWORKS FOR TECHNICAL ANALYSIS: A STUDY ON KLCI 授課教師:楊婉秀 報告人:李宗霖.
Marketing Research Aaker, Kumar, Day and Leone Tenth Edition
Statistical Arbitrage Ying Chen, Leonardo Bachega Yandong Guo, Xing Liu March, 2010.
1 Least squares procedure Inference for least squares lines Simple Linear Regression.
The Power of Moving Averages in Financial Markets By: Michael Viscuso.
LECTURE 2. GENERALIZED LINEAR ECONOMETRIC MODEL AND METHODS OF ITS CONSTRUCTION.
Size Effect Matthew Boyce Huibin Hu Rajesh Raghunathan Lina Yang.
#1 EC 485: Time Series Analysis in a Nut Shell. #2 Data Preparation: 1)Plot data and examine for stationarity 2)Examine ACF for stationarity 3)If not.
Determinants of Credit Default Swap Spread: Evidence from the Japanese Credit Derivative Market.
Chap 14-1 Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chapter 14 Additional Topics in Regression Analysis Statistics for Business.
MANAGERIAL ECONOMICS 11 th Edition By Mark Hirschey.
Various topics Petter Mostad Overview Epidemiology Study types / data types Econometrics Time series data More about sampling –Estimation.
Ordinary Least Squares Estimation: A Primer Projectseminar Migration and the Labour Market, Meeting May 24, 2012 The linear regression model 1. A brief.
Copyright © 2011 Pearson Education, Inc. The Simple Regression Model Chapter 21.
Chapter 14 Inference for Regression AP Statistics 14.1 – Inference about the Model 14.2 – Predictions and Conditions.
Byron Gangnes Econ 427 lecture 3 slides. Byron Gangnes A scatterplot.
Chapter 11 Correlation and Simple Linear Regression Statistics for Business (Econ) 1.
AP STATISTICS LESSON 14 – 1 ( DAY 1 ) INFERENCE ABOUT THE MODEL.
Robert Engle UCSD and NYU and Robert F. Engle, Econometric Services DYNAMIC CONDITIONAL CORRELATIONS.
STAT 497 LECTURE NOTE 9 DIAGNOSTIC CHECKS 1. After identifying and estimating a time series model, the goodness-of-fit of the model and validity of the.
Linear Regression Basics III Violating Assumptions Fin250f: Lecture 7.2 Spring 2010 Brooks, chapter 4(skim) 4.1-2, 4.4, 4.5, 4.7,
Estimation Method of Moments (MM) Methods of Moment estimation is a general method where equations for estimating parameters are found by equating population.
Chapter 8: Simple Linear Regression Yang Zhenlin.
June 30, 2008Stat Lecture 16 - Regression1 Inference for relationships between variables Statistics Lecture 16.
Chapter 14 Introduction to Regression Analysis. Objectives Regression Analysis Uses of Regression Analysis Method of Least Squares Difference between.
BUSINESS MATHEMATICS & STATISTICS. Module 6 Correlation ( Lecture 28-29) Line Fitting ( Lectures 30-31) Time Series and Exponential Smoothing ( Lectures.
1 Ka-fu Wong University of Hong Kong A Brief Review of Probability, Statistics, and Regression for Forecasting.
Analysis of financial data Anders Lundquist Spring 2010.
1 AAEC 4302 ADVANCED STATISTICAL METHODS IN AGRICULTURAL RESEARCH Part II: Theory and Estimation of Regression Models Chapter 5: Simple Regression Theory.
Statistics 350 Lecture 2. Today Last Day: Section Today: Section 1.6 Homework #1: Chapter 1 Problems (page 33-38): 2, 5, 6, 7, 22, 26, 33, 34,
MODEL DIAGNOSTICS By Eni Sumarminingsih, Ssi, MM.
1 Lecture Plan : Statistical trading models for energy futures.: Stochastic Processes and Market Efficiency Trading Models Long/Short one.
Forecasting. Model with indicator variables The choice of a forecasting technique depends on the components identified in the time series. The techniques.
1 Simple Linear Regression Chapter Introduction In Chapters 17 to 19 we examine the relationship between interval variables via a mathematical.
Vera Tabakova, East Carolina University
Inference for Least Squares Lines
Part 5 - Chapter
Part 5 - Chapter 17.
Linear Regression.
Chapter 6: Autoregressive Integrated Moving Average (ARIMA) Models
Part 5 - Chapter 17.
Techniques for Data Analysis Event Study
Chapter 3 Statistical Concepts.
Chapter 14 Inference for Regression
Tutorial 6 SEG rd Oct..
FORECASTING VOLATILITY I
Presentation transcript:

PREDICTABILITY OF NON- LINEAR TRADING RULES IN THE US STOCK MARKET CHONG & LAM 2010

Overview Liu Min Qi Yichen Zhang Fengtian  Literature review of the paper  A brief introduction of the 3 models used in the paper  The strategies and results  Model selection for our project  Data selection for our project  Statistical tests for data selected  Model regression techniques (parameter estimation and trading strategies for SETAR model)  Algorithm in java  Demonstrate SETAR model (JAVA program)  Results and analysis

Literature Review  The paper examines the effect of 3 models  Namely Variable Moving Average (VMA Model) Autoregressive Model (AR Model) Self-Exciting Threshold Autoregressive Model (SETAR Model)  On four major US indices Dow Jones Industrial Average (DJIA) NASDAQ composite index New York Stock Exchange composite index Standard and Poor 500 index (S&P 500)

VMA Model  General Form  VMA(S, L) Where S represents the short term window And L represents the long term window Calculated from the below formula for a n day moving average Models used in the paper includes VMA(1, 50), VMA(1, 150) and VMA(1, 200)

AR Model  General Form   Commonly referred as AR (p) Model Where p is the order of autoregressive part

AR Model  A linear time series model  For the paper, an AR (1) Model was used   ∆Y t is the natural log difference of the stock index Where ∆Y t = Y t - Y t-1  Alphas are the fitted coefficient  ε t is the residual error  AR (1) was chosen because the estimated coefficients are significant, suggesting it is good enough for modelling dynamics of return series

SETAR Model  General Form:   Usually referred as SETAR(k, p) model k is the number of regimes p is the order of the autoregressive part

SETAR Model  A non-linear time series model  An extension of AR models  Higher degree of flexibility due to the threshold parameter Which introduces a regime switching behavior

SETAR Model  For the paper, a SETAR(2, 1) model was chosen   ∆Y t is the natural log difference of the stock index Where ∆Y t = Y t - Y t-1  Alphas and betas are the fitted coefficient  ε t is the residual error  d is the delay factor  γ is the threshold parameter

SETAR Model  Why SETAR (2, 1)?  Because (as claimed by paper) It is simple and has good predictability Threshold parameter already captures non-linearity Therefore additional benefit of higher autoregressive order is small The estimated coefficients are significant based on statistical tests Suggesting first order model is good enough to describe dynamics of the return series

Strategies  For VMA  Pretty straightforward Buy if MA(S) > MA(L) Sell if MA(S) < MA(L)  For AR and SETAR  Model fitting is required for every w observations Buy if > 0 Sell if < 0

Trading ruleBuySellBuy>0Sell>0Buy - Sell SETAR(1,50) E-04 SETAR(1,150) E-03 SETAR(1,200) E-03 AR(1,50) E-04 AR(1,150) E-04 AR(1,200) E-03 VMA(1,50) E-04 VMA(1,150) E-04 VMA(1,200) E-04 Dow Jones Industrial Average index. ‘Buy>0’ and ‘Sell>0’ are the fraction of positive buy and sell returns. Buy, Sell and Buy-Sell columns show the one day conditional mean for buy, sell and buy-sell returns

NASDAQ composite index Trading ruleBuySellBuy>0Sell>0Buy - Sell SETAR(1,50) E-03 SETAR(1,150) E-03 SETAR(1,200) E-03 AR(1,50) E-03 AR(1,150) E-03 AR(1,200) E-03 VMA(1,50) E-03 VMA(1,150) E-04 VMA(1,200) E-04

New York Stock Exchange composite index Trading ruleBuySellBuy>0Sell>0Buy - Sell SETAR(1,50) E-03 SETAR(1,150) E-03 SETAR(1,200) E-03 AR(1,50) E-03 AR(1,150) E-03 AR(1,200) E-03 VMA(1,50) E-04 VMA(1,150) E-04 VMA(1,200) E-04

Standard and Poor 500 index Trading ruleBuySellBuy>0Sell>0Buy - Sell SETAR(1,50) E-04 SETAR(1,150) E-04 SETAR(1,200) E-03 AR(1,50) E-04 AR(1,150) E-04 AR(1,200) E-04 VMA(1,50) E-04 VMA(1,150) E-04 VMA(1,200) E-04

Results  Performed using observation window period of:  50, 150, and 200 days  SETAR performed slightly better than AR for DJIA and S&P 500  AR performed slightly better in NASDAQ  Both SETAR and AR outperformed VMA

Model Selection  Therefore, SETAR model was chosen for our project  Because of the better results obtained from the paper  And also because of its non-linearity Which gives it flexibility in modelling  However, simulation may be slow due to a need for multi-parameter fitting for each signal

Data Selection  We had chosen the HK’s Hang Seng Index and Singapore’s Straits Times Index  Data selection (from yahoo finance)  Hang Seng Index  Daily closing price from 31 st Dec 1986 to 31 st Dec 2010  Total 5962 Observations  Straits Times Index  Daily closing price from 31 st Dec 1987 to 31 st Dec 2010  Total 5754 Observations

Index Statistics  Summary statistics for daily log returns – full sample  JB stat represents the Jarque-Bera test for normality  ρ (i) is the estimated autocorrelation at lag i  Q(5) is the Ljung-Box Q statistic at lag 5  Numbers marked with * are significant at 1% level Heng Seng index Straits Times Index Count Mean Standard Error Standard Deviation Sample Variance Kurtosis * * Skewness * * JB stat * * ρ(1) ρ(2) ρ(3) ρ(4) ρ(5) Q(5) ** **

Statistical Results  From the values of skewness, kurtosis, and Jarque-Bera statistics  Returns are leptokurtic, skewed, and not normally distributed  Ljung-Box Q statistics at 5 th lag significant at 1%  Suggestive of substantial serial correlation in stock returns  Essential for existence of trading-rule profits  These results are consistent with that found in the main paper  Which may be indicative of the model’s efficiency on the Hang Seng Index and Straits Times Index

Parameter estimation  Model:

Parameter estimation  Use Ordinary Least Square method to find γ and θ. (Refer to Bruce E. Hansen (1997) Inference in TAR Models. Studies in Nonlinear Dynamics & Econometrics, Volume 2, Issue 1)

Parameter estimation Remarks: 1.In our case, d (delay parameter) = 1. 2.Observe that the residual variance only takes on at most n distinct values as γ is varied, we set γ = Δ Y t-d, t = 2,…,n.

Parameter estimation  Thus, the estimate of θ is Given n observations, we use OLS to obtain the fitted coefficients γ and θ and predict ∆Y t+1 based on ∆Y t.

Trading strategy  The SETAR trading strategy is as follows: where W is the observation window and is the conditional expectation of Δ Y t+1 based on most recent W observations up to day t.

Trading strategy  Remarks:  Just imagine that we use the model to predict the price tomorrow. If the predicted price is higher than today actual price, then we buy. Otherwise, we sell.  The value of α and β change with the observation window, as we use the most recent w observations. So as we move, we roll the window forward and update the α and β to get the next prediction of Δ Y.

Trading strategy  For example, given W = 50 and n = 100,  1. Obtain γ and α 0 α 1 β 0 β 1.  2. Obtain Δ Y t+1 based on Δ Y t and estimated parameters.  3. Buy if Δ Y t+1 > 0. Sell if Δ Y t+1 < 0.  4. Shift the observation window (set t = t+1) and repeat Step 1 to Step 3.

Algorithm in java  The model

Algorithm in java

Least squares method

Algorithm in java

Actual stock index moving by time HANG SENG INDEX

SETAR(1, 50) model Predicted stock index moving by time - HANG SENG INDEX

Actual stock index moving by time - STAITS TIMES INDEX

SETAR(1, 50) model Predicted stock index moving by time - STRAITS TIMES INDEX

SETAR(1, 150) model Predicted stock index moving by time - HANG SENG INDEX

SETAR(1, 200) model Predicted stock index moving by time - HANG SENG INDEX

Empirical results of implementing the trading strategies on the HANG SENG INDEX Trading rule BuySell σ(Buy)σ(Sell) Buy>0Sell>0Buy-Sell SETAR(1, 50) SETAR(1, 150) SETAR(1, 200)

Empirical results of implementing the trading strategies on the STRAITS TIMES INDEX Trading ruleBuySell σ(Buy)σ(Sell) Buy>0Sell>0Buy-Sell SETAR(1, 50) SETAR(1, 150) SETAR(1, 200)

Future work T-Statistics Mean return of buy periods. Mean return of sell periods. Buy- sell return. AR Model The performance of the nonlinear trading rule (SETAR) is compared with that of the linear model (AR).

Thank You