Top Banner
Financial Time Series Analysis with Wavelets Rishi Kumar Baris Temelkuran
26

Financial Time Series Analysis with Wavelets Rishi Kumar Baris Temelkuran.

Dec 13, 2015

Download

Documents

Simon Carson
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Financial Time Series Analysis with Wavelets Rishi Kumar Baris Temelkuran.

Financial Time Series Analysis with Wavelets

Rishi Kumar

Baris Temelkuran

Page 2: Financial Time Series Analysis with Wavelets Rishi Kumar Baris Temelkuran.

Agenda

Wavelet Denoising Threshold Selection Threshold Application

Applications Asset Pricing Technical Analysis

Page 3: Financial Time Series Analysis with Wavelets Rishi Kumar Baris Temelkuran.

Denoising Techniques

4 choices to make Wavelet

Haar, Daub4 Threshold Selection Application of Thresholding Depth of Wavelet Decomposition

1, 2

Page 4: Financial Time Series Analysis with Wavelets Rishi Kumar Baris Temelkuran.

Threshold Selection

Universal Threshold Minimax Stein's Unbiased Risk Hybrid of Stein’s and Universal

Page 5: Financial Time Series Analysis with Wavelets Rishi Kumar Baris Temelkuran.

Threshold Selection

Universal Threshold

Let z1,…,zN be IID N(0,σε2) random

variables

NU log2ˆ

N

NzPt

t

as

1log2)max(

Page 6: Financial Time Series Analysis with Wavelets Rishi Kumar Baris Temelkuran.

Threshold Selection

Minimax Does not have a closed formula. Tries to find an estimator that attains the

minimax risk

Does not over-smooth by picking abrupt changes

),ˆ( sup inf)(~

ˆxxRF

xx

Page 7: Financial Time Series Analysis with Wavelets Rishi Kumar Baris Temelkuran.

Threshold Selection

Stein's Unbiased Risk

Threshold minimizes the estimated risk

),(min}:{#2),(1

2

k

iii zzikzSURE

),(minarg0

zSURES

Page 8: Financial Time Series Analysis with Wavelets Rishi Kumar Baris Temelkuran.

Threshold Application

Hard Thresholding

Soft Thresholding

otherwise 0

if

ttH oo

, ) )(( ttS oosign

0 if0

0 if)(

x

xxx

Page 9: Financial Time Series Analysis with Wavelets Rishi Kumar Baris Temelkuran.

Asset Pricing

Fama French Framework Cross sectional variation of equity returns Sensitivity to various sources of risk

Market Risk (1 factor) Systematic Factor Risk (2 factors)

Factors should be proxies for real, macroeconomic, aggregate, nondiversifiable risk

Page 10: Financial Time Series Analysis with Wavelets Rishi Kumar Baris Temelkuran.

Asset Pricing

Fama French Framework Pricing Relation

Regression

HMLi

SMBi

Mi

ft

it hsRRE )(

it

HMLti

SMBti

ft

Mtii

ft

it RhRsRRRR )(

Page 11: Financial Time Series Analysis with Wavelets Rishi Kumar Baris Temelkuran.

Wavelet Denoising

High Frequency Data: daily Use Denoising to Clean

Predictor Variables Response Variables

Goals Improve Regression Fit Decrease Out-of-Sample Error of

Expected Excess Return

Page 12: Financial Time Series Analysis with Wavelets Rishi Kumar Baris Temelkuran.

Data

Daily returns: 19630701 to 20021231 Factors:

market return - risk free return (small - big) market cap returns (high - low) book to market returns

Assets IBM, GE, 6 Fama-French portfolios

Page 13: Financial Time Series Analysis with Wavelets Rishi Kumar Baris Temelkuran.

Model Fit Tests

R-square Regress using sliding window (e.g. 2 year) Compute Rsquare

Mean Square Error in forecasting Regress using sliding window Forecast using regression Betas for 14 days Compare MSE of with actuals

Pricing Relation Test Compute mean of excess return for out-of-sample data

(e.g. 1 year forward) Compare with estimated expected excess return

Page 14: Financial Time Series Analysis with Wavelets Rishi Kumar Baris Temelkuran.

Results

Expected Soft thresholding will work better Daub4 will work better than Haar

Empirical General: no statistically significant

improvement Few odd cases: improved R-square

FF portfolio using Daub4, soft, universal and heuristic

Page 15: Financial Time Series Analysis with Wavelets Rishi Kumar Baris Temelkuran.

Technical Analysis

Charting, pattern watching Common practice among traders Not well studied in academia Our work modeled after seminal paper

by Lo et al

Page 16: Financial Time Series Analysis with Wavelets Rishi Kumar Baris Temelkuran.

Goal

Determine if Technical Patterns have information content

Distribution of conditional returns (post-pattern) is different from distribution of unconditional returns

Replace Lo’s Kernel regression based smoothing algorithm (for pattern recognition) with wavelet denoising

Page 17: Financial Time Series Analysis with Wavelets Rishi Kumar Baris Temelkuran.

Common Technical Patterns

Page 18: Financial Time Series Analysis with Wavelets Rishi Kumar Baris Temelkuran.

Pattern Recognition

Parameterize patterns Characterize patterns by geometry of

local extrema Need denoised price path for

securities

Page 19: Financial Time Series Analysis with Wavelets Rishi Kumar Baris Temelkuran.

Defining Patterns

Defined in terms of sequences of local extrema e.g. head and shoulders

e1 is a max e3 > e1, e3 > e5 e1 and e5 within 4% of their average e2 and e4 within 4% of their average

Page 20: Financial Time Series Analysis with Wavelets Rishi Kumar Baris Temelkuran.

Wavelet Smoothing

Smooth out noise for pattern recognition

Mimics human cognition in extracting regularity from noisy data

Page 21: Financial Time Series Analysis with Wavelets Rishi Kumar Baris Temelkuran.

Information Content

Measure 1 day conditional return after completion of pattern continuously compounded lagged by 3 days to allow for reaction time to

pattern Measure 1 day unconditional return

Random sample, periodic sample Check if both return series are from the

same distribution

Page 22: Financial Time Series Analysis with Wavelets Rishi Kumar Baris Temelkuran.

Data and Testing

Data Stocks from Nasdaq 100 index 19950101 to 19991231 Daily price

Goodness-of-fit Normalize returns from each stock Combine all conditional returns to increase

strength of test Kolmogorov-Smirnov goodness-of-fit test

Page 23: Financial Time Series Analysis with Wavelets Rishi Kumar Baris Temelkuran.

Example Detected Pattern

Page 24: Financial Time Series Analysis with Wavelets Rishi Kumar Baris Temelkuran.

Results

About 300 Head&Shoulders pattern detected in 5 year data per denoising technique

Distribution of conditional returns found significantly different from the distribution of unconditional returns

Patterns have information content!

Page 25: Financial Time Series Analysis with Wavelets Rishi Kumar Baris Temelkuran.

Conclusion

Wavelet analysis seems to add little value in asset pricing paradigm

Wavelet smoothing might prove useful in cognitive/behavioral finance studies in its ability to mimic human cognition

Page 26: Financial Time Series Analysis with Wavelets Rishi Kumar Baris Temelkuran.

The End

Questions?