SlideShare uma empresa Scribd logo
1 de 24
Baixar para ler offline
Financial Time Series:
Concept and Forecast
Chainarong Kesamoon, PhD
Data Science Thailand Team

chainaron.kes@gmail.com
Data Science Thailand Meetup #2
6 Nov 2015
Outline:
What is time series?
How to model financial time series?
Forecasting
What is time series?
Numeric data
1, 1, 2, 3, 5, 8,…
2.8, 1.9, -10, 25, -6.7,…
Time series
measured by time
Time matters!!!
Examples
Financial Time Series
Stock prices
Market index
Money Exchange rates
gold, oil
Typical data set
source: Google Finance
We would like to know:
Tomorrow prices!!!
Chance of profit or loss
Future value of our
money
That’s all about
“Return & Risk”
Return
Today’s return=today’s price - yesterday’s price
Percentage return = Today’s return/yesterday’s price
Log return = log(today’s price) - log(yesterday’s price)
know return then we also know price
Better analyze returns than prices
Let’s analyze!
Correlation
Positive correlation :
More experience, more salary
Where there’s a will, there’s a way.
Negative correlation:
The higher the Doy, the lower the temperature.
The more one works, the less free time one has.
No correlation:
The color of your shirt, the color of my shoes.
Coefficient of Correlation
mpg Miles/(US) gallon
cyl Number of cylinders
disp Displacement (cu.in.)
hp Gross horsepower
drat Rear axle ratio
wt Weight (lb/1000)
qsec 1/4 mile time
vs V/S
am Transmission (0 = automatic, 1 = manual)
gear Number of forward gears
carb Number of carburetors
Correlation between returns on different days
Can we forecast the return?
Imagine you have tossed a
normal coin ten times, last
five outcomes were all head.
Do you expect that the next
outcome would be head?
If there is no correlation, the
next outcome would be like
tossing a coin.
Seem hopeless T__T
H T T H
T H H H
H H
1 2 3 4
5 6 7 8
9 10 11
?
Efficient Market Hypothesis
A financial economist and passionate defender of the efficient markets hypothesis (EMH)
was walking down the street with a friend. The friend stops and says, "Look, there's a $20
bill on the ground."
The economist turns and says, "Boy, this must be our lucky day! Better pick that up quick
because the market is so efficient it won't be there for very long. Finding a $20 bill lying
around happens so infrequently that it would be foolish to spend our time searching for
more of them. Certainly, after assigning a value to the time spent in the effort, an
'investment' in trying to find money lying on the street just waiting to be picked up would be
a poor one. I am also certainly not aware of lots of people, if any, getting rich mining
beaches with metal detectors."
When he had finished they both look down and the $20 bill was gone!
source: http://www.etf.com/sections/features/123.html
Let’s try another way
Why squared return?
The variance of return is calculated from squared returns.
Why variance? What is it?
Variance is the degree of variation
High variance => high volatility=> high risk
Volatility is forecastable
High risk, high return (but return can be either + or - )
Major Stylized Facts for Return
I. The distribution of returns is not normal, it has a high
peak and fat tails.
II. There is almost no correlation between returns for
different days.
III. There is positive correlation between squared returns
on nearby days, likewise for absolute returns.
Time series models
General time series models:
MA : moving average
AR : autoregressive
ARMA : autoregressive moving average
ARIMA, ARFIMA,…
Financial time series models:
EWMA : exponentially weighted moving average
(G)ARCH : (generalized) autoregressive conditional heteroskedastic
SV : stochastic volatility
Asset pricing model
Black-Scholes model
Robert F. Engle Tim Bollerslev
Nobel Prize in Economic Sciences 2003
GARCH model
Generalized AutoRegressive Conditional
Heteroskedasticity Model
rt+1 = µ + t+1✏t+1
2
t+1 = ! + ↵(rt µ)2
+ 2
t
where ✏t+1 ⇠ N(0, 1)
Examples
GARCH volatility forecasting
Using data up to 5 Nov 2015
Date Return SD
6 Nov 0 0.384
7 Nov 0 0.390
8 Nov 0 0.396
9 Nov 0 0.401
10 Nov 0 0.407
11 Nov 0 0.412
12 Nov 0 0.416
13 Nov 0 0.421
"When Professors Scholes
and Merton and I invested
in warrants, Professor
Merton lost the most
money. And I lost the least”
– Fischer Black –
Nobel Prize in Economic Sciences1997:
Fischer Black, Myron Scholes, and Robert
Merton
Challenging, isn’t it?
Financial time series is challenging as it is quite difficult to
forecast.
Multivariate time series is also of interest, but it is even more
difficult to model multiple time series together.
Most financial models were created some years ago, at the time
that less data were available.
Nowadays, we can access more and more data, that would be
a good opportunity to explore and create better models for
financial market.
–Chainarong Kesamoon
“Moltes Gracies”

Mais conteúdo relacionado

Mais procurados

PERFORMANCE ANALYSIS and PREDICTION of NEPAL STOCK MARKET (NEPSE) for INVESTM...
PERFORMANCE ANALYSIS and PREDICTION of NEPAL STOCK MARKET (NEPSE) for INVESTM...PERFORMANCE ANALYSIS and PREDICTION of NEPAL STOCK MARKET (NEPSE) for INVESTM...
PERFORMANCE ANALYSIS and PREDICTION of NEPAL STOCK MARKET (NEPSE) for INVESTM...
Hari KC
 
Big Data Analytics | What Is Big Data Analytics? | Big Data Analytics For Beg...
Big Data Analytics | What Is Big Data Analytics? | Big Data Analytics For Beg...Big Data Analytics | What Is Big Data Analytics? | Big Data Analytics For Beg...
Big Data Analytics | What Is Big Data Analytics? | Big Data Analytics For Beg...
Simplilearn
 

Mais procurados (20)

STOCK MARKET PREDICTION
STOCK MARKET PREDICTIONSTOCK MARKET PREDICTION
STOCK MARKET PREDICTION
 
Momentum strategy
Momentum strategyMomentum strategy
Momentum strategy
 
IRJET- Future Stock Price Prediction using LSTM Machine Learning Algorithm
IRJET-  	  Future Stock Price Prediction using LSTM Machine Learning AlgorithmIRJET-  	  Future Stock Price Prediction using LSTM Machine Learning Algorithm
IRJET- Future Stock Price Prediction using LSTM Machine Learning Algorithm
 
PERFORMANCE ANALYSIS and PREDICTION of NEPAL STOCK MARKET (NEPSE) for INVESTM...
PERFORMANCE ANALYSIS and PREDICTION of NEPAL STOCK MARKET (NEPSE) for INVESTM...PERFORMANCE ANALYSIS and PREDICTION of NEPAL STOCK MARKET (NEPSE) for INVESTM...
PERFORMANCE ANALYSIS and PREDICTION of NEPAL STOCK MARKET (NEPSE) for INVESTM...
 
Stock Market Analysis | Introduction
Stock Market Analysis | IntroductionStock Market Analysis | Introduction
Stock Market Analysis | Introduction
 
Stock market analysis
Stock market analysisStock market analysis
Stock market analysis
 
Time Series, Moving Average
Time Series, Moving AverageTime Series, Moving Average
Time Series, Moving Average
 
STOCK MARKET PREDICTION
STOCK MARKET PREDICTIONSTOCK MARKET PREDICTION
STOCK MARKET PREDICTION
 
Random walk theory
Random walk theoryRandom walk theory
Random walk theory
 
Big Data Analytics | What Is Big Data Analytics? | Big Data Analytics For Beg...
Big Data Analytics | What Is Big Data Analytics? | Big Data Analytics For Beg...Big Data Analytics | What Is Big Data Analytics? | Big Data Analytics For Beg...
Big Data Analytics | What Is Big Data Analytics? | Big Data Analytics For Beg...
 
stock market prediction
stock market predictionstock market prediction
stock market prediction
 
Measurement of Money Supply in India 2018
Measurement of Money Supply in India 2018Measurement of Money Supply in India 2018
Measurement of Money Supply in India 2018
 
Optimisation vs prediction
Optimisation vs predictionOptimisation vs prediction
Optimisation vs prediction
 
Forex ppt
Forex pptForex ppt
Forex ppt
 
Technical analysis Fundamentals
Technical analysis FundamentalsTechnical analysis Fundamentals
Technical analysis Fundamentals
 
Limiti del modello Black-Scholes-Merton e vantaggi del metodo Monte Carlo: an...
Limiti del modello Black-Scholes-Merton e vantaggi del metodo Monte Carlo: an...Limiti del modello Black-Scholes-Merton e vantaggi del metodo Monte Carlo: an...
Limiti del modello Black-Scholes-Merton e vantaggi del metodo Monte Carlo: an...
 
Deep Learning for Stock Prediction
Deep Learning for Stock PredictionDeep Learning for Stock Prediction
Deep Learning for Stock Prediction
 
An introduction to data warehousing
An introduction to data warehousingAn introduction to data warehousing
An introduction to data warehousing
 
Stock Market Prediction
Stock Market Prediction Stock Market Prediction
Stock Market Prediction
 
"Quant Trading for a Living – Lessons from a Life in the Trenches" by Andreas...
"Quant Trading for a Living – Lessons from a Life in the Trenches" by Andreas..."Quant Trading for a Living – Lessons from a Life in the Trenches" by Andreas...
"Quant Trading for a Living – Lessons from a Life in the Trenches" by Andreas...
 

Destaque

Destaque (9)

trading
tradingtrading
trading
 
quantmachine
quantmachinequantmachine
quantmachine
 
On Clustering Financial Time Series - Beyond Correlation
On Clustering Financial Time Series - Beyond CorrelationOn Clustering Financial Time Series - Beyond Correlation
On Clustering Financial Time Series - Beyond Correlation
 
Financial time series_forecasting_svm
Financial time series_forecasting_svmFinancial time series_forecasting_svm
Financial time series_forecasting_svm
 
Financial forecasting by time series 55660701
Financial forecasting by time series 55660701Financial forecasting by time series 55660701
Financial forecasting by time series 55660701
 
Managing Large Scale Financial Time-Series Data with Graphs
Managing Large Scale Financial Time-Series Data with Graphs Managing Large Scale Financial Time-Series Data with Graphs
Managing Large Scale Financial Time-Series Data with Graphs
 
Support Vector Machine
Support Vector MachineSupport Vector Machine
Support Vector Machine
 
NYC* Big Tech Day 2013: Financial Time Series
NYC* Big Tech Day 2013: Financial Time SeriesNYC* Big Tech Day 2013: Financial Time Series
NYC* Big Tech Day 2013: Financial Time Series
 
time series analysis
time series analysistime series analysis
time series analysis
 

Semelhante a Financial Time Series: Concept and Forecast (dsth Meetup#2)

Unexpected Returns Version 1a
Unexpected Returns   Version 1aUnexpected Returns   Version 1a
Unexpected Returns Version 1a
grennon
 
Hidden Treasure of High Frequency Dynamics
Hidden Treasure of High Frequency DynamicsHidden Treasure of High Frequency Dynamics
Hidden Treasure of High Frequency Dynamics
Olsen
 
Popular economicsciences2013
Popular economicsciences2013Popular economicsciences2013
Popular economicsciences2013
Giancarlo Aguilar
 

Semelhante a Financial Time Series: Concept and Forecast (dsth Meetup#2) (20)

introduction to financial time series analysis with R โดย อ.ดร.ชัยณรงค์ เกษา...
introduction to financial time series analysis with R  โดย อ.ดร.ชัยณรงค์ เกษา...introduction to financial time series analysis with R  โดย อ.ดร.ชัยณรงค์ เกษา...
introduction to financial time series analysis with R โดย อ.ดร.ชัยณรงค์ เกษา...
 
Unexpected Returns Version 1a
Unexpected Returns   Version 1aUnexpected Returns   Version 1a
Unexpected Returns Version 1a
 
Seigniorage Shares and Stablecoin
Seigniorage Shares and StablecoinSeigniorage Shares and Stablecoin
Seigniorage Shares and Stablecoin
 
Damien lamberton, bernard lapeyre, nicolas rabeau
Damien lamberton, bernard lapeyre, nicolas rabeauDamien lamberton, bernard lapeyre, nicolas rabeau
Damien lamberton, bernard lapeyre, nicolas rabeau
 
The Art and Science of Forecasting Financial Markets
The Art and Science of Forecasting Financial MarketsThe Art and Science of Forecasting Financial Markets
The Art and Science of Forecasting Financial Markets
 
Hidden Treasure of High Frequency Dynamics
Hidden Treasure of High Frequency DynamicsHidden Treasure of High Frequency Dynamics
Hidden Treasure of High Frequency Dynamics
 
HTHFD
HTHFDHTHFD
HTHFD
 
Pricing Foreign Exchange Risk
Pricing Foreign Exchange RiskPricing Foreign Exchange Risk
Pricing Foreign Exchange Risk
 
Qwafafew meeting 4
Qwafafew meeting 4Qwafafew meeting 4
Qwafafew meeting 4
 
Econophysics I: Basic Concepts - Thomas Guhr
Econophysics I: Basic Concepts - Thomas GuhrEconophysics I: Basic Concepts - Thomas Guhr
Econophysics I: Basic Concepts - Thomas Guhr
 
Fin415 Week 2 Slides
Fin415 Week 2 SlidesFin415 Week 2 Slides
Fin415 Week 2 Slides
 
project report(1)
project report(1)project report(1)
project report(1)
 
Popular economicsciences2013
Popular economicsciences2013Popular economicsciences2013
Popular economicsciences2013
 
4 things maybe you don't know about nasdaq-100 (posted 23th June 2017)
4 things maybe you don't know about nasdaq-100 (posted 23th June 2017)4 things maybe you don't know about nasdaq-100 (posted 23th June 2017)
4 things maybe you don't know about nasdaq-100 (posted 23th June 2017)
 
What Is It Worth
What Is It WorthWhat Is It Worth
What Is It Worth
 
Random Walks, Efficient Markets & Stock Prices
Random Walks, Efficient Markets & Stock PricesRandom Walks, Efficient Markets & Stock Prices
Random Walks, Efficient Markets & Stock Prices
 
Wealth Accumulation under Equity Trading; A Rational Approach
Wealth Accumulation under Equity Trading; A Rational ApproachWealth Accumulation under Equity Trading; A Rational Approach
Wealth Accumulation under Equity Trading; A Rational Approach
 
Tao Te Ching Essay.pdf
Tao Te Ching Essay.pdfTao Te Ching Essay.pdf
Tao Te Ching Essay.pdf
 
riskGRID ETRM Game ISS 2014 Rome Milan July 05 Stack Agrimax
riskGRID ETRM Game ISS 2014 Rome Milan July 05 Stack Agrimax riskGRID ETRM Game ISS 2014 Rome Milan July 05 Stack Agrimax
riskGRID ETRM Game ISS 2014 Rome Milan July 05 Stack Agrimax
 
ISS 2014 riskGRID ETRM Game
ISS 2014 riskGRID ETRM Game  ISS 2014 riskGRID ETRM Game
ISS 2014 riskGRID ETRM Game
 

Mais de Data Science Thailand

Mais de Data Science Thailand (20)

Data Science Thailand Meetup#11
Data Science Thailand Meetup#11Data Science Thailand Meetup#11
Data Science Thailand Meetup#11
 
Define Your Data (Science) Career
Define Your Data (Science) CareerDefine Your Data (Science) Career
Define Your Data (Science) Career
 
Drawing Your career in business analytics and data science
Drawing Your career in business analytics and data scienceDrawing Your career in business analytics and data science
Drawing Your career in business analytics and data science
 
Data Science fuels Creativity
Data Science fuels CreativityData Science fuels Creativity
Data Science fuels Creativity
 
Microsoft R Server for Data Sciencea
Microsoft R Server for Data ScienceaMicrosoft R Server for Data Sciencea
Microsoft R Server for Data Sciencea
 
Electronic Medical Records - Paperless to Big Data Initiative
Electronic Medical Records - Paperless to Big Data InitiativeElectronic Medical Records - Paperless to Big Data Initiative
Electronic Medical Records - Paperless to Big Data Initiative
 
Text Mining and Thai NLP
Text Mining and Thai NLP Text Mining and Thai NLP
Text Mining and Thai NLP
 
Machine learning in image processing
Machine learning in image processingMachine learning in image processing
Machine learning in image processing
 
CUSTOMER ANALYTICS & SEGMENTATION FOR CUSTOMER CENTRIC ORGANIZATION & MARKETI...
CUSTOMER ANALYTICS & SEGMENTATION FOR CUSTOMER CENTRIC ORGANIZATION & MARKETI...CUSTOMER ANALYTICS & SEGMENTATION FOR CUSTOMER CENTRIC ORGANIZATION & MARKETI...
CUSTOMER ANALYTICS & SEGMENTATION FOR CUSTOMER CENTRIC ORGANIZATION & MARKETI...
 
Bioinformatics in a Nutshell
Bioinformatics in a NutshellBioinformatics in a Nutshell
Bioinformatics in a Nutshell
 
Data Science Application in Business Portfolio & Risk Management
Data Science Application in Business Portfolio & Risk ManagementData Science Application in Business Portfolio & Risk Management
Data Science Application in Business Portfolio & Risk Management
 
Myths of Data Science
Myths of Data ScienceMyths of Data Science
Myths of Data Science
 
Hr Analytics
Hr AnalyticsHr Analytics
Hr Analytics
 
Marketing analytics
Marketing analyticsMarketing analytics
Marketing analytics
 
Precision Medicine - The Future of Healthcare
Precision Medicine - The Future of HealthcarePrecision Medicine - The Future of Healthcare
Precision Medicine - The Future of Healthcare
 
Big Data Analytics to Enhance Security
Big Data Analytics to Enhance SecurityBig Data Analytics to Enhance Security
Big Data Analytics to Enhance Security
 
Single Nucleotide Polymorphism Analysis (SNPs)
Single Nucleotide Polymorphism Analysis (SNPs)Single Nucleotide Polymorphism Analysis (SNPs)
Single Nucleotide Polymorphism Analysis (SNPs)
 
Using hadoop for big data
Using hadoop for big dataUsing hadoop for big data
Using hadoop for big data
 
My Spark Journey
My Spark JourneyMy Spark Journey
My Spark Journey
 
Technology behind-real-time-log-analytics
Technology behind-real-time-log-analytics Technology behind-real-time-log-analytics
Technology behind-real-time-log-analytics
 

Último

Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 
Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...
Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...
Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...
gajnagarg
 
怎样办理纽约州立大学宾汉姆顿分校毕业证(SUNY-Bin毕业证书)成绩单学校原版复制
怎样办理纽约州立大学宾汉姆顿分校毕业证(SUNY-Bin毕业证书)成绩单学校原版复制怎样办理纽约州立大学宾汉姆顿分校毕业证(SUNY-Bin毕业证书)成绩单学校原版复制
怎样办理纽约州立大学宾汉姆顿分校毕业证(SUNY-Bin毕业证书)成绩单学校原版复制
vexqp
 
怎样办理圣路易斯大学毕业证(SLU毕业证书)成绩单学校原版复制
怎样办理圣路易斯大学毕业证(SLU毕业证书)成绩单学校原版复制怎样办理圣路易斯大学毕业证(SLU毕业证书)成绩单学校原版复制
怎样办理圣路易斯大学毕业证(SLU毕业证书)成绩单学校原版复制
vexqp
 
Jual obat aborsi Bandung ( 085657271886 ) Cytote pil telat bulan penggugur ka...
Jual obat aborsi Bandung ( 085657271886 ) Cytote pil telat bulan penggugur ka...Jual obat aborsi Bandung ( 085657271886 ) Cytote pil telat bulan penggugur ka...
Jual obat aborsi Bandung ( 085657271886 ) Cytote pil telat bulan penggugur ka...
Klinik kandungan
 
怎样办理圣地亚哥州立大学毕业证(SDSU毕业证书)成绩单学校原版复制
怎样办理圣地亚哥州立大学毕业证(SDSU毕业证书)成绩单学校原版复制怎样办理圣地亚哥州立大学毕业证(SDSU毕业证书)成绩单学校原版复制
怎样办理圣地亚哥州立大学毕业证(SDSU毕业证书)成绩单学校原版复制
vexqp
 
Reconciling Conflicting Data Curation Actions: Transparency Through Argument...
Reconciling Conflicting Data Curation Actions:  Transparency Through Argument...Reconciling Conflicting Data Curation Actions:  Transparency Through Argument...
Reconciling Conflicting Data Curation Actions: Transparency Through Argument...
Bertram Ludäscher
 
Top profile Call Girls In Satna [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In Satna [ 7014168258 ] Call Me For Genuine Models We ...Top profile Call Girls In Satna [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In Satna [ 7014168258 ] Call Me For Genuine Models We ...
nirzagarg
 
In Riyadh ((+919101817206)) Cytotec kit @ Abortion Pills Saudi Arabia
In Riyadh ((+919101817206)) Cytotec kit @ Abortion Pills Saudi ArabiaIn Riyadh ((+919101817206)) Cytotec kit @ Abortion Pills Saudi Arabia
In Riyadh ((+919101817206)) Cytotec kit @ Abortion Pills Saudi Arabia
ahmedjiabur940
 
Lecture_2_Deep_Learning_Overview-newone1
Lecture_2_Deep_Learning_Overview-newone1Lecture_2_Deep_Learning_Overview-newone1
Lecture_2_Deep_Learning_Overview-newone1
ranjankumarbehera14
 
一比一原版(曼大毕业证书)曼尼托巴大学毕业证成绩单留信学历认证一手价格
一比一原版(曼大毕业证书)曼尼托巴大学毕业证成绩单留信学历认证一手价格一比一原版(曼大毕业证书)曼尼托巴大学毕业证成绩单留信学历认证一手价格
一比一原版(曼大毕业证书)曼尼托巴大学毕业证成绩单留信学历认证一手价格
q6pzkpark
 
一比一原版(UCD毕业证书)加州大学戴维斯分校毕业证成绩单原件一模一样
一比一原版(UCD毕业证书)加州大学戴维斯分校毕业证成绩单原件一模一样一比一原版(UCD毕业证书)加州大学戴维斯分校毕业证成绩单原件一模一样
一比一原版(UCD毕业证书)加州大学戴维斯分校毕业证成绩单原件一模一样
wsppdmt
 
Top profile Call Girls In dimapur [ 7014168258 ] Call Me For Genuine Models W...
Top profile Call Girls In dimapur [ 7014168258 ] Call Me For Genuine Models W...Top profile Call Girls In dimapur [ 7014168258 ] Call Me For Genuine Models W...
Top profile Call Girls In dimapur [ 7014168258 ] Call Me For Genuine Models W...
gajnagarg
 

Último (20)

Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...
Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...
Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...
 
Ranking and Scoring Exercises for Research
Ranking and Scoring Exercises for ResearchRanking and Scoring Exercises for Research
Ranking and Scoring Exercises for Research
 
Harnessing the Power of GenAI for BI and Reporting.pptx
Harnessing the Power of GenAI for BI and Reporting.pptxHarnessing the Power of GenAI for BI and Reporting.pptx
Harnessing the Power of GenAI for BI and Reporting.pptx
 
Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...
Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...
Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...
 
怎样办理纽约州立大学宾汉姆顿分校毕业证(SUNY-Bin毕业证书)成绩单学校原版复制
怎样办理纽约州立大学宾汉姆顿分校毕业证(SUNY-Bin毕业证书)成绩单学校原版复制怎样办理纽约州立大学宾汉姆顿分校毕业证(SUNY-Bin毕业证书)成绩单学校原版复制
怎样办理纽约州立大学宾汉姆顿分校毕业证(SUNY-Bin毕业证书)成绩单学校原版复制
 
怎样办理圣路易斯大学毕业证(SLU毕业证书)成绩单学校原版复制
怎样办理圣路易斯大学毕业证(SLU毕业证书)成绩单学校原版复制怎样办理圣路易斯大学毕业证(SLU毕业证书)成绩单学校原版复制
怎样办理圣路易斯大学毕业证(SLU毕业证书)成绩单学校原版复制
 
Dubai Call Girls Peeing O525547819 Call Girls Dubai
Dubai Call Girls Peeing O525547819 Call Girls DubaiDubai Call Girls Peeing O525547819 Call Girls Dubai
Dubai Call Girls Peeing O525547819 Call Girls Dubai
 
Jual obat aborsi Bandung ( 085657271886 ) Cytote pil telat bulan penggugur ka...
Jual obat aborsi Bandung ( 085657271886 ) Cytote pil telat bulan penggugur ka...Jual obat aborsi Bandung ( 085657271886 ) Cytote pil telat bulan penggugur ka...
Jual obat aborsi Bandung ( 085657271886 ) Cytote pil telat bulan penggugur ka...
 
怎样办理圣地亚哥州立大学毕业证(SDSU毕业证书)成绩单学校原版复制
怎样办理圣地亚哥州立大学毕业证(SDSU毕业证书)成绩单学校原版复制怎样办理圣地亚哥州立大学毕业证(SDSU毕业证书)成绩单学校原版复制
怎样办理圣地亚哥州立大学毕业证(SDSU毕业证书)成绩单学校原版复制
 
Reconciling Conflicting Data Curation Actions: Transparency Through Argument...
Reconciling Conflicting Data Curation Actions:  Transparency Through Argument...Reconciling Conflicting Data Curation Actions:  Transparency Through Argument...
Reconciling Conflicting Data Curation Actions: Transparency Through Argument...
 
Top profile Call Girls In Satna [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In Satna [ 7014168258 ] Call Me For Genuine Models We ...Top profile Call Girls In Satna [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In Satna [ 7014168258 ] Call Me For Genuine Models We ...
 
5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed
5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed
5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed
 
In Riyadh ((+919101817206)) Cytotec kit @ Abortion Pills Saudi Arabia
In Riyadh ((+919101817206)) Cytotec kit @ Abortion Pills Saudi ArabiaIn Riyadh ((+919101817206)) Cytotec kit @ Abortion Pills Saudi Arabia
In Riyadh ((+919101817206)) Cytotec kit @ Abortion Pills Saudi Arabia
 
Lecture_2_Deep_Learning_Overview-newone1
Lecture_2_Deep_Learning_Overview-newone1Lecture_2_Deep_Learning_Overview-newone1
Lecture_2_Deep_Learning_Overview-newone1
 
一比一原版(曼大毕业证书)曼尼托巴大学毕业证成绩单留信学历认证一手价格
一比一原版(曼大毕业证书)曼尼托巴大学毕业证成绩单留信学历认证一手价格一比一原版(曼大毕业证书)曼尼托巴大学毕业证成绩单留信学历认证一手价格
一比一原版(曼大毕业证书)曼尼托巴大学毕业证成绩单留信学历认证一手价格
 
Predicting HDB Resale Prices - Conducting Linear Regression Analysis With Orange
Predicting HDB Resale Prices - Conducting Linear Regression Analysis With OrangePredicting HDB Resale Prices - Conducting Linear Regression Analysis With Orange
Predicting HDB Resale Prices - Conducting Linear Regression Analysis With Orange
 
Vadodara 💋 Call Girl 7737669865 Call Girls in Vadodara Escort service book now
Vadodara 💋 Call Girl 7737669865 Call Girls in Vadodara Escort service book nowVadodara 💋 Call Girl 7737669865 Call Girls in Vadodara Escort service book now
Vadodara 💋 Call Girl 7737669865 Call Girls in Vadodara Escort service book now
 
一比一原版(UCD毕业证书)加州大学戴维斯分校毕业证成绩单原件一模一样
一比一原版(UCD毕业证书)加州大学戴维斯分校毕业证成绩单原件一模一样一比一原版(UCD毕业证书)加州大学戴维斯分校毕业证成绩单原件一模一样
一比一原版(UCD毕业证书)加州大学戴维斯分校毕业证成绩单原件一模一样
 
Top profile Call Girls In dimapur [ 7014168258 ] Call Me For Genuine Models W...
Top profile Call Girls In dimapur [ 7014168258 ] Call Me For Genuine Models W...Top profile Call Girls In dimapur [ 7014168258 ] Call Me For Genuine Models W...
Top profile Call Girls In dimapur [ 7014168258 ] Call Me For Genuine Models W...
 

Financial Time Series: Concept and Forecast (dsth Meetup#2)

  • 1. Financial Time Series: Concept and Forecast Chainarong Kesamoon, PhD Data Science Thailand Team
 chainaron.kes@gmail.com Data Science Thailand Meetup #2 6 Nov 2015
  • 2. Outline: What is time series? How to model financial time series? Forecasting
  • 3. What is time series? Numeric data 1, 1, 2, 3, 5, 8,… 2.8, 1.9, -10, 25, -6.7,… Time series measured by time Time matters!!!
  • 5. Financial Time Series Stock prices Market index Money Exchange rates gold, oil
  • 6. Typical data set source: Google Finance
  • 7. We would like to know: Tomorrow prices!!! Chance of profit or loss Future value of our money That’s all about “Return & Risk”
  • 8. Return Today’s return=today’s price - yesterday’s price Percentage return = Today’s return/yesterday’s price Log return = log(today’s price) - log(yesterday’s price) know return then we also know price
  • 11. Correlation Positive correlation : More experience, more salary Where there’s a will, there’s a way. Negative correlation: The higher the Doy, the lower the temperature. The more one works, the less free time one has. No correlation: The color of your shirt, the color of my shoes.
  • 12. Coefficient of Correlation mpg Miles/(US) gallon cyl Number of cylinders disp Displacement (cu.in.) hp Gross horsepower drat Rear axle ratio wt Weight (lb/1000) qsec 1/4 mile time vs V/S am Transmission (0 = automatic, 1 = manual) gear Number of forward gears carb Number of carburetors
  • 13. Correlation between returns on different days
  • 14. Can we forecast the return? Imagine you have tossed a normal coin ten times, last five outcomes were all head. Do you expect that the next outcome would be head? If there is no correlation, the next outcome would be like tossing a coin. Seem hopeless T__T H T T H T H H H H H 1 2 3 4 5 6 7 8 9 10 11 ?
  • 15. Efficient Market Hypothesis A financial economist and passionate defender of the efficient markets hypothesis (EMH) was walking down the street with a friend. The friend stops and says, "Look, there's a $20 bill on the ground." The economist turns and says, "Boy, this must be our lucky day! Better pick that up quick because the market is so efficient it won't be there for very long. Finding a $20 bill lying around happens so infrequently that it would be foolish to spend our time searching for more of them. Certainly, after assigning a value to the time spent in the effort, an 'investment' in trying to find money lying on the street just waiting to be picked up would be a poor one. I am also certainly not aware of lots of people, if any, getting rich mining beaches with metal detectors." When he had finished they both look down and the $20 bill was gone! source: http://www.etf.com/sections/features/123.html
  • 17. Why squared return? The variance of return is calculated from squared returns. Why variance? What is it? Variance is the degree of variation High variance => high volatility=> high risk Volatility is forecastable High risk, high return (but return can be either + or - )
  • 18. Major Stylized Facts for Return I. The distribution of returns is not normal, it has a high peak and fat tails. II. There is almost no correlation between returns for different days. III. There is positive correlation between squared returns on nearby days, likewise for absolute returns.
  • 19. Time series models General time series models: MA : moving average AR : autoregressive ARMA : autoregressive moving average ARIMA, ARFIMA,… Financial time series models: EWMA : exponentially weighted moving average (G)ARCH : (generalized) autoregressive conditional heteroskedastic SV : stochastic volatility Asset pricing model Black-Scholes model
  • 20. Robert F. Engle Tim Bollerslev Nobel Prize in Economic Sciences 2003 GARCH model Generalized AutoRegressive Conditional Heteroskedasticity Model rt+1 = µ + t+1✏t+1 2 t+1 = ! + ↵(rt µ)2 + 2 t where ✏t+1 ⇠ N(0, 1)
  • 21. Examples GARCH volatility forecasting Using data up to 5 Nov 2015 Date Return SD 6 Nov 0 0.384 7 Nov 0 0.390 8 Nov 0 0.396 9 Nov 0 0.401 10 Nov 0 0.407 11 Nov 0 0.412 12 Nov 0 0.416 13 Nov 0 0.421
  • 22. "When Professors Scholes and Merton and I invested in warrants, Professor Merton lost the most money. And I lost the least” – Fischer Black – Nobel Prize in Economic Sciences1997: Fischer Black, Myron Scholes, and Robert Merton
  • 23. Challenging, isn’t it? Financial time series is challenging as it is quite difficult to forecast. Multivariate time series is also of interest, but it is even more difficult to model multiple time series together. Most financial models were created some years ago, at the time that less data were available. Nowadays, we can access more and more data, that would be a good opportunity to explore and create better models for financial market.