K. Ensor, STAT 421 1 Spring 2005 The Basics: Outline What is a time series? What is a financial time series? What is the purpose of our analysis? Classification.

Slides:



Advertisements
Similar presentations
FINANCIAL TIME-SERIES ECONOMETRICS SUN LIJIAN Feb 23,2001.
Advertisements

Autocorrelation Functions and ARIMA Modelling
Time Series Analysis -- An Introduction -- AMS 586 Week 2: 2/4,6/2014.
COMM 472: Quantitative Analysis of Financial Decisions
Part II – TIME SERIES ANALYSIS C4 Autocorrelation Analysis © Angel A. Juan & Carles Serrat - UPC 2007/2008.
1 MF-852 Financial Econometrics Lecture 11 Distributed Lags and Unit Roots Roy J. Epstein Fall 2003.
Time Series Building 1. Model Identification
STAT 497 APPLIED TIME SERIES ANALYSIS
Forecasting Purpose is to forecast, not to explain the historical pattern Models for forecasting may not make sense as a description for ”physical” behaviour.
1 Power 2 Econ 240C. 2 Lab 1 Retrospective Exercise: –GDP_CAN = a +b*GDP_CAN(-1) + e –GDP_FRA = a +b*GDP_FRA(-1) + e.
ARIMA Forecasting Lecture 7 and 8 - March 14-16, 2011
1 Engineering Computation Part 5. 2 Some Concepts Previous to Probability RANDOM EXPERIMENT A random experiment or trial can be thought of as any activity.
Modern methods The classical approach: MethodProsCons Time series regression Easy to implement Fairly easy to interpret Covariates may be added (normalization)
Modern methods The classical approach: MethodProsCons Time series regression Easy to implement Fairly easy to interpret Covariates may be added (normalization)
L7: ARIMA1 Lecture 7: ARIMA Model Process The following topics will be covered: Properties of Stock Returns AR model MA model ARMA Non-Stationary Process.
Review of Probability.
BOX JENKINS METHODOLOGY
STAT 497 LECTURE NOTES 2.
Ch2: Probability Theory Some basics Definition of Probability Characteristics of Probability Distributions Descriptive statistics.
It’s About Time Mark Otto U. S. Fish and Wildlife Service.
Data analyses 2008 Lecture Last Lecture Basic statistics Testing Linear regression parameters Skill.
K. Ensor, STAT Spring 2005 Model selection/diagnostics Akaike’s Information Criterion (AIC) –A measure of fit plus a penalty term for the number.
Introducing ITSM 2000 By: Amir Heshmaty Far. S EVERAL FUNCTION IN ITSM to analyze and display the properties of time series data to compute and display.
Week 21 Stochastic Process - Introduction Stochastic processes are processes that proceed randomly in time. Rather than consider fixed random variables.
Review of Random Process Theory CWR 6536 Stochastic Subsurface Hydrology.
K. Ensor, STAT Spring 2004 Memory characterization of a process How would the ACF behave for a process with no memory? What is a short memory series?
Time Series Basics Fin250f: Lecture 8.1 Spring 2010 Reading: Brooks, chapter
3.Analysis of asset price dynamics 3.1Introduction Price – continuous function yet sampled discretely (usually - equal spacing). Stochastic process – has.
Chapter 1 Random Process
MULTIVARIATE TIME SERIES & FORECASTING 1. 2 : autocovariance function of the individual time series.
Auto Regressive, Integrated, Moving Average Box-Jenkins models A stationary times series can be modelled on basis of the serial correlations in it. A non-stationary.
Statistics 349.3(02) Analysis of Time Series. Course Information 1.Instructor: W. H. Laverty 235 McLean Hall Tel:
1 EE571 PART 3 Random Processes Huseyin Bilgekul Eeng571 Probability and astochastic Processes Department of Electrical and Electronic Engineering Eastern.
Previously Definition of a stationary process (A) Constant mean (B) Constant variance (C) Constant covariance White Noise Process:Example of Stationary.
NONSTATIONARY PROCESSES 1 In the last sequence, the process shown at the top was shown to be stationary. The expected value and variance of X t were shown.
Computational Finance II: Time Series K.Ensor. What is a time series? Anything observed sequentially (by time?) Returns, volatility, interest rates, exchange.
Components of Time Series Su, Chapter 2, section II.
Ch16: Time Series 24 Nov 2011 BUSI275 Dr. Sean Ho HW8 due tonight Please download: 22-TheFed.xls 22-TheFed.xls.
Computational Finance II: Time Series Guest Lecture II K.Ensor.
Introduction to stochastic processes
Analysis of financial data Anders Lundquist Spring 2010.
Lecture 8 – Time Series Analysis: Part I - Basics Dr. Qing He University at Buffalo 1.
1 Autocorrelation in Time Series data KNN Ch. 12 (pp )
Chapter 6 Random Processes
Analysis of Financial Data Spring 2012 Lecture 4: Time Series Models - 1 Priyantha Wijayatunga Department of Statistics, Umeå University
Stochastic Process - Introduction
Multiple Random Variables and Joint Distributions
Covariance, stationarity & some useful operators
Introduction to Time Series Analysis
Time Series Analysis and Its Applications
Chapter 6: Autoregressive Integrated Moving Average (ARIMA) Models
Statistics 153 Review - Sept 30, 2008
Probabilistic Robotics
Model Building For ARIMA time series
Regression with Autocorrelated Errors
Stochastic models - time series.
Machine Learning Week 4.
Stochastic models - time series.
STOCHASTIC HYDROLOGY Random Processes
These slides are based on:
Econometrics I Professor William Greene Stern School of Business
Introduction to Time Series Analysis
Introduction to Time Series Analysis
Lecturer Dr. Veronika Alhanaqtah
Econometrics Chengyuan Yin School of Mathematics.
Time Series introduction in R - Iñaki Puigdollers
Why does the autocorrelation matter when making inferences?
FORECASTING VOLATILITY I
BOX JENKINS (ARIMA) METHODOLOGY
Stationary Stochastic Process
Presentation transcript:

K. Ensor, STAT Spring 2005 The Basics: Outline What is a time series? What is a financial time series? What is the purpose of our analysis? Classification of Time Series. Correlation –Autocorrelation –Partial Autocorrelation –Cross Correlation Basic transformation to stationarity –Differencing

K. Ensor, STAT Spring 2005 What is a time series? Review –Random variable –Distribution (cdf, pdf) –Moments Mean Variance Covariance Correlation Skewness Kurtosis Time Series –Random process – random variable is a function of time –Distribution? –Moments Mean Variance Covariance Correlation Skewness Kurtosis

K. Ensor, STAT Spring 2005

K. Ensor, STAT Spring 2005

K. Ensor, STAT Spring 2005 Further examples of a time series Anything observed sequentially (by time?) Returns, volatility, interest rates, exchange rates, bond yields, … Hourly temperature, hourly ozone levels ???

K. Ensor, STAT Spring 2005 What is different? The observations are not independent. There is correlation from observation to observation. Consider the log of the J&J series. Is there correlation in the observations over time?

K. Ensor, STAT Spring 2005 What are our objectives? Making decisions based on the observed realization requires: –Descriptive: Estimating summary measures (e.g. mean) –Inferential: Understanding / Modeling –Prediction / Forecasting –Control of the process If correlation is present between the observations then our typical approaches are not correct (as they assume iid samples).

K. Ensor, STAT Spring 2005 Classification of a Time Series Dimension of T –Time, space, space- time Nature of T –Discrete Equally Unequally spaced –Continuous Observed continuously Observed by some random process Dimension of X –Univariate –Multivariate State spce –Discrete –Continuous Memory types –Stationary No memory Short memory Long memory –Nonstationary

K. Ensor, STAT Spring 2005 Stationarity Strictly Stationary All finite dimensional distributions are the same. First and second moment structure does not change with time. Covariance Stationary What doesstationarityprovide?

K. Ensor, STAT Spring 2005 Autocorrelation

K. Ensor, STAT Spring 2005 Autocorrelation Function for a CSTS In theory… How to estimate this quantity?

K. Ensor, STAT Spring 2005 Autocorrelation? How would you determine or show correlation over time?

K. Ensor, STAT Spring 2005 Sample ACF and PACF Sample ACF – sample estimate of the autocorrelation function. –Substitute sample estimates of the covariance between X(t) and X(t+h). Note: We do not have “n” pairs but “n-h” pairs. –Subsitute sample estimate of variance. Sample PACF – correlation between observations X(t) and X(t+h) after removing the linear relationship of all observations in that fall between X(t) and X(t+h).

K. Ensor, STAT Spring 2005 Summary Plots

K. Ensor, STAT Spring 2005 Cross Correlation

K. Ensor, STAT Spring 2005 Multivariate Series How can we study the relationship between 2 or more time series? U.S. weekly interest rate series measured in percentages –Time: From 1/5/1962 to 9/10/1999. –Variables: r1(t) = The 1-year Treasury constant maturity rate r2(t) = The 3-year Treasury constant maturity rate And the corresponding change series –c1(t)=(1-B)r1(t) –c2(t)=(1-B)r2(t)

K. Ensor, STAT Spring 2005

K. Ensor, STAT Spring 2005 Scatterplots between series simultaneous in time and the change in each series. The two series are highly correlated.

K. Ensor, STAT Spring 2005

K. Ensor, STAT Spring 2005 What is the cross-correlation between the two series?

K. Ensor, STAT Spring 2005 Differencing to achieve Stationarity

K. Ensor, STAT Spring 2005 Detrending by taking first difference. Y(t)=X(t) – X(t-1) What happens to the trend? Suppose X(t)=a+bt+Z(t) Z(t) is a random variable.

K. Ensor, STAT Spring 2005 Sumary Plots of Detrended J&J log earnings per share.

K. Ensor, STAT Spring 2005 Removing Seasonal Trend – one way to proceed. Suppose Y(t)=g(t)+W(t) where g(t)=g(t-s) where s is our “season” for all t. W(t) is again a new random variable Form a new series U(t) by taking the “s” difference U(t)=Y(t)-Y(t-s) =g(t)-g(t-s) + W(t)-W(t-s) =W(t)-W(t-s) again a random variable

K. Ensor, STAT Spring 2005 Summary of Transformed J&J Series

K. Ensor, STAT Spring 2005 Summary of Transformations: X(t) = log (Q(t)) Y(t)=X(t)-X(t-1) = (1-B)X(t) U(t)= (1-B 4 )Y(t) U(t)=(1-B 4 ) (1-B)X(t)

K. Ensor, STAT Spring 2005 An example of Forecasting

K. Ensor, STAT Spring 2005 What is the next step? U(t) is a time series process called a moving average of order 1 (or possibly a MA(1) plus a seasonal MA(1)) –U(t)=(t-1) + (t) Proceed to estimate and then we can estimate summary information about the earnings per share as well as predict the future earnings per share.

K. Ensor, STAT Spring 2005 Forecast of J&J series

K. Ensor, STAT Spring 2005 Wrap up Basics of distribution theory. Classification of time series. Basics of stationarity. Correlation functions –Autocorrelation –Partial autocorrelation –Cross correlation Transformations to a stationary series –differencing