N-tuple S&P Patterns Across Decades, 1950s to 2011

Slides:



Advertisements
Similar presentations
Artificial Intelligence 12. Two Layer ANNs
Advertisements

Time Series and Neural Networks Comparison on Gold, Oil, and the Euro A.G. Malliaris, Mary Malliaris Loyola University Chicago School of Business Administration.
Randomized Strategies and Temporal Difference Learning in Poker Michael Oder April 4, 2002 Advisor: Dr. David Mutchler.
1 AFDC MAFC Training Program Shanghai 8-12 December 2008 Value at Risk Christine Brown Associate Professor Department of Finance The University of Melbourne.
Application of Stacked Generalization to a Protein Localization Prediction Task Melissa K. Carroll, M.S. and Sung-Hyuk Cha, Ph.D. Pace University, School.
Artificial Neural Networks vs. The Beating the Dow Strategy Dr. John C. Merkel III Morehouse College $
T T18-03 Exponential Smoothing Forecast Purpose Allows the analyst to create and analyze the "Exponential Smoothing Average" forecast. The MAD.
Data Mining.
An Investigation into the Relationship between Semantic and Content Based Similarity Using LIDC Grace Dasovich Robert Kim Midterm Presentation August 21.
MR2300: MARKETING RESEARCH PAUL TILLEY Unit 10: Basic Data Analysis.
Simulation Basic Concepts. NEED FOR SIMULATION Mathematical models we have studied thus far have “closed form” solutions –Obtained from formulas -- forecasting,
The Central Limit Theorem For simple random samples from any population with finite mean and variance, as n becomes increasingly large, the sampling distribution.
Introduction to Directed Data Mining: Neural Networks
Chapter 7 (part 3) Neural Networks. What are Neural Networks? An extremely simplified version of the brain Essentially a function approximator  Transform.
The Stock Market Forecasting and Risk Management System using Genetic Programming Li Wang Ross School of Business Ann Arbor, MI
Rohit Ray ESE 251. What are Artificial Neural Networks? ANN are inspired by models of the biological nervous systems such as the brain Novel structure.
Modeling the Behavior of the S&P 500 Index Mary Malliaris Loyola University Chicago 10 th IEEE Conference on Artificial Intelligence for Applications.
DATA MINING FOR DECISION MAKING Mary Malliaris Loyola University Chicago DSI Annual Meeting Baltimore November 16, 2013.
Chapter 9: Simulation Spreadsheet-Based Decision Support Systems Prof. Name Position (123) University Name.
Stockup ™ Takes the guesswork out of Buy, Sell, and Hold! A Technical Presentation…...
Example 12.6 A Financial Planning Model | 12.2 | 12.3 | 12.4 | 12.5 | 12.7 |12.8 | 12.9 | | | | | | |
DATA MINING Team #1 Kristen Durst Mark Gillespie Banan Mandura University of DaytonMBA APR 09.
1 Financial Informatics –IX: Financial Neural Computing Khurshid Ahmad, Professor of Computer Science, Department of Computer Science Trinity College,
Midterm Review Rao Vemuri 16 Oct Posing a Machine Learning Problem Experience Table – Each row is an instance – Each column is an attribute/feature.
Data on demands of the market may be needed for a number of purposes to assist an organization in its long-term, medium and short-term decisions. Forecasting.
Artificial Neural Networks (ANN). Output Y is 1 if at least two of the three inputs are equal to 1.
A History of Risk and Return
Artificial Neural Networks
A Taylor Rule with Monthly Data A.G. Malliaris Mary.E. Malliaris Loyola University Chicago.
M. E. Malliaris Loyola University Chicago, S. G. Malliaris Yale University,
Using Data Mining Technologies to find Currency Trading Rules A. G. Malliaris M. E. Malliaris Loyola University Chicago Multinational Finance Society,
Discrete Distributions The values generated for a random variable must be from a finite distinct set of individual values. For example, based on past observations,
Forecasting to account for seasonality Regularly repeating movements that can be tied to recurring events (e.g. winter) in a time series that varies around.
UFE 2003 Analysis June 1, UFE 2003 ANALYSIS Compiled by the Load Profiling Group ERCOT Energy Analysis & Aggregation June 1, 2005.
GOLD, OIL AND THE EURO: HYPOTHESES AND TIME SERIES ANALYSIS A. G. Malliaris and Mary E. Malliaris Loyola University Chicago The Athenian Policy Forum and.
1 Introduction to Neural Networks And Their Applications.
GOLD, OIL AND THE EURO: HYPOTHESES AND TIME SERIES ANALYSIS FOR FUTURES DATA A. G. Malliaris and Mary E. Malliaris Loyola University Chicago 84 TH ANNUAL.
Pencil-and-Paper Neural Networks Prof. Kevin Crisp St. Olaf College.
Neural Networks II By Jinhwa Kim. 2 Neural Computing is a problem solving methodology that attempts to mimic how human brain function Artificial Neural.
Multi-Layer Perceptron
Revenue Generation in Hospital Foundations: Neural Network versus Regression Model Recommendations Mary E. Malliaris Loyola University Chicago Maria Pappas.
Do What Needs to Be Done Today. The secret of happy successful living is to do what needs to be done now, and not worry about the past or the future.
Akram Bitar and Larry Manevitz Department of Computer Science
1 FORECASTING ENERGY PRODUCT PRICES M.E. Malliaris Loyola University Chicago S.G. Malliaris Massachusetts Institute of Technology.
Investigating Patterns Cornell Notes & Additional Activities.
Beating the Best: A Neural Network Challenges the Black- Scholes Formula Mary Malliaris and Linda Salchenberger Loyola University Chicago Ninth IEEE Conference.
 Probability in Propagation. Transmission Rates  Models discussed so far assume a 100% transmission rate to susceptible individuals (e.g. Firefighter.
Reservoir Uncertainty Assessment Using Machine Learning Techniques Authors: Jincong He Department of Energy Resources Engineering AbstractIntroduction.
1 1 Slide Simulation Professor Ahmadi. 2 2 Slide Simulation Chapter Outline n Computer Simulation n Simulation Modeling n Random Variables and Pseudo-Random.
1 1 Slide © 2004 Thomson/South-Western Simulation n Simulation is one of the most frequently employed management science techniques. n It is typically.
Data Analytics CMIS Short Course part II Day 1 Part 1: Introduction Sam Buttrey December 2015.
N-tuple S&P Patterns Across Decades, 1950s to 2011 A.G. Malliaris and Mary Malliaris Euro Working FinancialGroup May 3-5, 2012, Rome, Italy.
The Pentium Goes to Vegas Training a Neural Network to Play BlackJack Paul Ruvolo and Christine Spritke.
Neural Networks for Predicting Options Volatility Mary Malliaris and Linda Salchenberger Loyola University Chicago World Congress on Neural Networks San.
Conjoint Analysis. 1. Managers frequently want to know what utility a particular product feature or service feature will have for a consumer. 2. Conjoint.
Djohan Wahyudi Supervised by: Prof. Dr. Pericles A. Mitkas Vivia Nikolaidou 1.
Chapter 11 – Neural Nets © Galit Shmueli and Peter Bruce 2010 Data Mining for Business Intelligence Shmueli, Patel & Bruce.
Asymmetries in Forecasting Energy Product Prices APF Conference, Deutsche Bundesbank Frankfurt, Germany 2004 M. E. Malliaris Loyola University Chicago.
Prepared by Fayes Salma.  Introduction: Financial Tasks  Data Mining process  Methods in Financial Data mining o Neural Network o Decision Tree  Trading.
Generation of Domestic Electricity Load Profiles
Computer Simulation Henry C. Co Technology and Operations Management,
Robert Anderson SAS JMP
A Taylor Rule with Monthly Data
Mid Semester UEB Energy Analysis of a Wastewater Treatment Plant by using Artificial Neural Network Presented by: Dr. Nor Azuana Ramli Electrical Engineering.
Managing Underwriting Risk & Capital
Introduction to Neural Networks And Their Applications - Basics
Networking Strategy for the Development of Quality Assurance and Accreditation Policy in Higher Education: A comparative study between Kingdom of Bahrain.
III. Introduction to Neural Networks And Their Applications - Basics
How a Financial Crisis Affects Data Mining Results: A Case Study
Akram Bitar and Larry Manevitz Department of Computer Science
Presentation transcript:

N-tuple S&P Patterns Across Decades, 1950s to 2011 A. G. (Tassos) Malliaris Mary Malliaris LOYOLA UNIVERSITY CHICAGO The Korea Institute of Finance and The Athenian Policy Forum Conference Seoul, Korea June 16-18, 2013

Purpose To investigate the Up and Down movements of the S&P 500 from 1950 through 2011 And to use that information to forecast the direction tomorrow of the S&P 500

Data Daily closing prices from 1/3/1950 to 7/19/2011 Over 15,000 observations were transformed into Up [U] or Down [D] by comparing today’s value to yesterday’s Up and Down movements were recorded from 1 up to 7 days

Up [U] and Down [D] movements per decade, 1950 through 2011.

Two-Day Patterns Across Decades

Three-Day Patterns

Four to Seven-Day patterns Strings were formed, for example, UDDU through DUDUDDU From 16 to 128 patterns [too many to display on a slide] Columns also created counting the number of Up movements within a string

Number of Ups in Two Days

Number of Ups in Three Days

Number of Ups in Four Days

Number of Ups in Five Days

Forecasting Training set: data from January 1950 through December 2009 [15,087 rows]. Validation set: January 2010 through mid-September 2011 [387 rows] Training set patterns were used as inputs for models that were then used to predict the Validation set

Forecasting Methodologies Pattern Forecasts with 1 to 7 Days Decision Tree Neural Network Random Forecasts

The Forecast Decision by Pattern, an Example Training set 4-day patterns Count DDUD 760 DDUU 1050 Validation Set Pattern Up through Today Most Likely Move Tomorrow DDU U Suppose that DDU has occurred. Past history tells us that, for the next day, DDUU is more likely to occur than DDUD. So, for tomorrow, we will forecast Up when the three days before tomorrow have the pattern DDU.

Decision Tree Forecasts Decision Tree Methodology: C5.0 Software Package: SPSS Modeler Target: Tomorrow’s Direction Inputs: : the up-down patterns from one to seven days, the number of up days in 1 to five days, and the closing value today

Decision Tree Variable Importance This Modeler technique also ranks the input variables in terms of importance, with more important variables occurring higher up on the tree. The variables ranked highest in importance to the forecast were the direction today the closing value today the 7-day pattern [for example UDUUDDU] number of Up movements in the last three days.

Neural Network Forecasts Neural Network Methodology: Back Propagation; two hidden layers Software Package: SPSS Modeler Target: Tomorrow’s Direction Inputs included: the up-down patterns from one to seven days, the number of up days in 1 to five days, and the closing value today

Neural Network Variable Importance SPSS Modeler also ranks the input variables in terms of their importance to the neural network The variables ranked highest in importance with this methodology were the patterns in the 4 day through 7 day strings the number of Ups in the past three days the closing value

Comparing Methods by Calculating Gain or Loss Daily Gain/Loss Summed Over 387 Days Change in Index Actual Direction Predicted Direction Amount of Gain/Loss -5 Down 5 Up

Random Forecast A random number was generated for each day in the validation set If the random value was less than .5 then Down was predicted, otherwise the forecast was Up. The amount of gain/loss was calculated over the Validation set This was repeated 100,000 times

RANDOM WALK SIMULATIONS Total gains/losses for 100,000 simulated random forecasts for 387 days

Number of correct directional forecasts for each methodology Down Up Number Correct 2 Day String 72 123 195 3 Day String 41 164 205 4 Day String Decision Tree 43 168 211 5 Day String 45 167 212 7 Day String 48 6 Day String 40 178 218 1 Day String 219 Neural Net 61 161 222

Total amount gained or lost per strategy, and comparison to the random simulations Type of Forecast Total Amount Gained/Lost Amount as Std Deviations in the Random Distribution 2 Day String -21.08 -0.087 Decision Tree 168.16 0.715 3 Day String 174.34 0.742 4 Day String 1 Day String 193.96 0.825 7 Day String 306.92 1.303 5 Day String 307.22 1.305 6 Day String 335.84 1.426 Neural Net 393.4 1.67

Conclusions The number of up movements is greater than down movements across the decades. Patterns of Up and Down movement from the past can be useful for forecasting future movement The highest gain from simple patterns came from using the 6-day strings The neural network, a more complex methodology, yielded the greatest gain