STAT Financial Time Series

Similar documents
Econometría 2: Análisis de series de Tiempo

LECTURES 2-3 : Stochastic Processes, Autocorrelation function. Stationarity.

STAT 248: EDA & Stationarity Handout 3

Module 9: Stationary Processes

Stochastic Processes: I. consider bowl of worms model for oscilloscope experiment:

STAT Financial Time Series

STAT Financial Time Series

Stat 248 Lab 2: Stationarity, More EDA, Basic TS Models

Statistics of stochastic processes

STAT Financial Time Series

Econ 424 Time Series Concepts

TIME SERIES AND FORECASTING. Luca Gambetti UAB, Barcelona GSE Master in Macroeconomic Policy and Financial Markets

Nonlinear time series

Time Series Analysis -- An Introduction -- AMS 586

Class 1: Stationary Time Series Analysis

Lesson 7: Estimation of Autocorrelation and Partial Autocorrela

ENSC327 Communications Systems 19: Random Processes. Jie Liang School of Engineering Science Simon Fraser University

STAT 153, FALL 2015 HOMEWORK 1 SOLUTIONS

Week 5 Quantitative Analysis of Financial Markets Characterizing Cycles

Lesson 4: Stationary stochastic processes

Reliability and Risk Analysis. Time Series, Types of Trend Functions and Estimates of Trends

Stochastic Processes

White Noise Processes (Section 6.2)

STA 6857 Autocorrelation and Cross-Correlation & Stationary Time Series ( 1.4, 1.5)

Lecture 3: Autoregressive Moving Average (ARMA) Models and their Practical Applications

Applied time-series analysis

1. Fundamental concepts

Introduction to Stochastic processes

1. Stochastic Processes and Stationarity

Estimation of the Mean and the ACVF

Prof. Dr. Roland Füss Lecture Series in Applied Econometrics Summer Term Introduction to Time Series Analysis

STAT 443 Final Exam Review. 1 Basic Definitions. 2 Statistical Tests. L A TEXer: W. Kong

The autocorrelation and autocovariance functions - helpful tools in the modelling problem

2. (a) What is gaussian random variable? Develop an equation for guassian distribution

Some Time-Series Models

Properties of Summation Operator

On 1.9, you will need to use the facts that, for any x and y, sin(x+y) = sin(x) cos(y) + cos(x) sin(y). cos(x+y) = cos(x) cos(y) - sin(x) sin(y).

Lecture 1: Brief Review on Stochastic Processes

Stochastic Processes. Monday, November 14, 11

white noise Time moving average

The distribution inherited by Y is called the Cauchy distribution. Using that. d dy ln(1 + y2 ) = 1 arctan(y)

MODELING INFLATION RATES IN NIGERIA: BOX-JENKINS APPROACH. I. U. Moffat and A. E. David Department of Mathematics & Statistics, University of Uyo, Uyo

For a stochastic process {Y t : t = 0, ±1, ±2, ±3, }, the mean function is defined by (2.2.1) ± 2..., γ t,

IV. Covariance Analysis

Deterministic. Deterministic data are those can be described by an explicit mathematical relationship

8.2 Harmonic Regression and the Periodogram

Minitab Project Report Assignment 3

Part III Example Sheet 1 - Solutions YC/Lent 2015 Comments and corrections should be ed to

Pure Random process Pure Random Process or White Noise Process: is a random process {X t, t 0} which has: { σ 2 if k = 0 0 if k 0

Introduction to Signal Processing

Lecture 1: Fundamental concepts in Time Series Analysis (part 2)

ELEG 3143 Probability & Stochastic Process Ch. 6 Stochastic Process

Midterm Suggested Solutions

Review Session: Econometrics - CLEFIN (20192)

Module 3. Descriptive Time Series Statistics and Introduction to Time Series Models

{ } Stochastic processes. Models for time series. Specification of a process. Specification of a process. , X t3. ,...X tn }

Random Variables. Random variables. A numerically valued map X of an outcome ω from a sample space Ω to the real line R

ECON 616: Lecture 1: Time Series Basics

Appendix A Random Variables and Stochastic Processes

NANYANG TECHNOLOGICAL UNIVERSITY SEMESTER II EXAMINATION MAS451/MTH451 Time Series Analysis TIME ALLOWED: 2 HOURS

Introduction to Probability and Stochastic Processes I

Ch.10 Autocorrelated Disturbances (June 15, 2016)

Solar irradiance forecasting for Chulalongkorn University location using time series models

STAT 520: Forecasting and Time Series. David B. Hitchcock University of South Carolina Department of Statistics

Spectral representations and ergodic theorems for stationary stochastic processes

Regression with correlation for the Sales Data

MATH4210 Financial Mathematics ( ) Tutorial 7

Discrete time processes

for valid PSD. PART B (Answer all five units, 5 X 10 = 50 Marks) UNIT I

Stochastic process for macro

Time Series Solutions HT 2009

3. ARMA Modeling. Now: Important class of stationary processes

E X A M. Probability Theory and Stochastic Processes Date: December 13, 2016 Duration: 4 hours. Number of pages incl.

Stochastic processes: basic notions

Time Series Models and Inference. James L. Powell Department of Economics University of California, Berkeley

Definition of a Stochastic Process

ECE353: Probability and Random Processes. Lecture 18 - Stochastic Processes

EEM 409. Random Signals. Problem Set-2: (Power Spectral Density, LTI Systems with Random Inputs) Problem 1: Problem 2:

Multivariate Time Series

STAT 720 TIME SERIES ANALYSIS. Lecture Notes. Dewei Wang. Department of Statistics. University of South Carolina

Part II. Time Series

Ross Bettinger, Analytical Consultant, Seattle, WA

13. Time Series Analysis: Asymptotics Weakly Dependent and Random Walk Process. Strict Exogeneity

Random Vectors 1. STA442/2101 Fall See last slide for copyright information. 1 / 30

Questions and Answers on Unit Roots, Cointegration, VARs and VECMs

Non-Stationary Time Series and Unit Root Testing

Stochastic Process II Dr.-Ing. Sudchai Boonto

1 Time Series Concepts and Challenges

Empirical Market Microstructure Analysis (EMMA)

Time Series Analysis - Part 1

ELEMENTS OF PROBABILITY THEORY

Communication Theory II

Time Series Analysis. Solutions to problems in Chapter 5 IMM

Chapter 7. Confidence Sets Lecture 30: Pivotal quantities and confidence sets

In terms of measures: Exercise 1. Existence of a Gaussian process: Theorem 2. Remark 3.

University of Oxford. Statistical Methods Autocorrelation. Identification and Estimation

MA 575 Linear Models: Cedric E. Ginestet, Boston University Revision: Probability and Linear Algebra Week 1, Lecture 2

18.S096 Problem Set 4 Fall 2013 Time Series Due Date: 10/15/2013

Problem Set 1 Solution Sketches Time Series Analysis Spring 2010

1.1 Review of Probability Theory

Transcription:

STAT 6104 - Financial Time Series Chapter 2 - Probability Models Chun Yip Yau (CUHK) STAT 6104:Financial Time Series 1 / 34

Agenda 1 Introduction 2 Stochastic Process Definition 1 Stochastic Definition 2 Finite dimensional distribution function Definition 3 Strictly Stationary Definition 4 Weakly Stationary Definition 5 Auto covariance function 3 Strictly and Weakly Stationary 4 Examples 5 Sample Correlation Function 6 Summary Chun Yip Yau (CUHK) STAT 6104:Financial Time Series 2 / 34

Introduction Assume that we have done the preliminary analysis to remove trend T t and seasonality S t N t = X t T t S t We use basic probability theories and construct models to describe the microscopic component {N t } Chun Yip Yau (CUHK) STAT 6104:Financial Time Series 3 / 34

Agenda 1 Introduction 2 Stochastic Process Definition 1 Stochastic Definition 2 Finite dimensional distribution function Definition 3 Strictly Stationary Definition 4 Weakly Stationary Definition 5 Auto covariance function 3 Strictly and Weakly Stationary 4 Examples 5 Sample Correlation Function 6 Summary Chun Yip Yau (CUHK) STAT 6104:Financial Time Series 4 / 34

Agenda 1 Introduction 2 Stochastic Process Definition 1 Stochastic Definition 2 Finite dimensional distribution function Definition 3 Strictly Stationary Definition 4 Weakly Stationary Definition 5 Auto covariance function 3 Strictly and Weakly Stationary 4 Examples 5 Sample Correlation Function 6 Summary Chun Yip Yau (CUHK) STAT 6104:Financial Time Series 5 / 34

Stochastic Process - Definition 1 Stochastic A collection of random variable {X t : t R} is called a stochastic process Continuous {X(t) : 0 t < } Discrete {X t : t = 1, 2,..., n} Chun Yip Yau (CUHK) STAT 6104:Financial Time Series 6 / 34

Stochastic Process - Definition 1 Stochastic Understand the meaning of stochastic: {X t : t = 1, 2,..., n} can be regarded as a function of time t We assume that there is a sample space Ω (a set of all possible scenario) that generate the randomness Ω = (ω 1, ω 2, ω 3,......) ω 1 X t (ω 1 ), ω 2 X t (ω 2 ) For a fixed ω, X t (ω) is called a sample function/ realization/ sample path In practice, we can only observe one sample path (i.e. the situation is generated by one particular ω ) Chun Yip Yau (CUHK) STAT 6104:Financial Time Series 7 / 34

Agenda 1 Introduction 2 Stochastic Process Definition 1 Stochastic Definition 2 Finite dimensional distribution function Definition 3 Strictly Stationary Definition 4 Weakly Stationary Definition 5 Auto covariance function 3 Strictly and Weakly Stationary 4 Examples 5 Sample Correlation Function 6 Summary Chun Yip Yau (CUHK) STAT 6104:Financial Time Series 8 / 34

Stochastic Process - Definition 2 Finite dimensional distribution function Finite dimensional distribution functions: F t (x) = P (X t1 x 1,..., X tn x n ) for all possible t = (t 1, t 2,..., t n ) where, 1 t 1 < t 2 < < t n and (X 1, X 2,..., X n ) R n, n = 1, 2,... Chun Yip Yau (CUHK) STAT 6104:Financial Time Series 9 / 34

Agenda 1 Introduction 2 Stochastic Process Definition 1 Stochastic Definition 2 Finite dimensional distribution function Definition 3 Strictly Stationary Definition 4 Weakly Stationary Definition 5 Auto covariance function 3 Strictly and Weakly Stationary 4 Examples 5 Sample Correlation Function 6 Summary Chun Yip Yau (CUHK) STAT 6104:Financial Time Series 10 / 34

Stochastic Process - Definition 3 Strictly Stationary Strictly stationary - distribution of a process does not change {X t } is said to be strictly stationary if 1. for all n 2. for all (t 1, t 2,..., t n ) 3. for all τ (X t1,..., X tn ) d = (X t1 +τ,..., X tn+τ ) where d = means equal in distribution Chun Yip Yau (CUHK) STAT 6104:Financial Time Series 11 / 34

Agenda 1 Introduction 2 Stochastic Process Definition 1 Stochastic Definition 2 Finite dimensional distribution function Definition 3 Strictly Stationary Definition 4 Weakly Stationary Definition 5 Auto covariance function 3 Strictly and Weakly Stationary 4 Examples 5 Sample Correlation Function 6 Summary Chun Yip Yau (CUHK) STAT 6104:Financial Time Series 12 / 34

Stochastic Process - Definition 4 Weakly Stationary Weakly Stationary: same mean same variance same covariance {X t } is said to be weakly stationary/ second order stationary/ wide-sense stationary if 1) E(X t ) = µ constant mean 2) Cov(X t, X t+τ ) = γ(τ) for all t and all τ (auto-covariance only depends on time lag τ, but not time t) Chun Yip Yau (CUHK) STAT 6104:Financial Time Series 13 / 34

Agenda 1 Introduction 2 Stochastic Process Definition 1 Stochastic Definition 2 Finite dimensional distribution function Definition 3 Strictly Stationary Definition 4 Weakly Stationary Definition 5 Auto covariance function 3 Strictly and Weakly Stationary 4 Examples 5 Sample Correlation Function 6 Summary Chun Yip Yau (CUHK) STAT 6104:Financial Time Series 14 / 34

Stochastic Process - Definition 5 Auto covariance function Auto covariance function(acvf) γ(τ) = Cov(X t, X t+τ) ) Auto correlation function(acf) ρ(τ) = Cov(X t,x t+τ ) Var(Xt )Var(X t+τ ) = γ(τ) γ(0) γ(0) = Var(X t ) Stationary = Var(X t+τ ) Chun Yip Yau (CUHK) STAT 6104:Financial Time Series 15 / 34

Agenda 1 Introduction 2 Stochastic Process Definition 1 Stochastic Definition 2 Finite dimensional distribution function Definition 3 Strictly Stationary Definition 4 Weakly Stationary Definition 5 Auto covariance function 3 Strictly and Weakly Stationary 4 Examples 5 Sample Correlation Function 6 Summary Chun Yip Yau (CUHK) STAT 6104:Financial Time Series 16 / 34

Strictly vs Weakly Stationary Strictly: distribution of the process unchange Weakly: mean/covariance unchange Strictly stationary implies weakly stationary whenever E(X 2 t ) < Weakly stationary implies strictly stationary when {X t } is normal,but in general not true Chun Yip Yau (CUHK) STAT 6104:Financial Time Series 17 / 34

Strictly vs Weakly Stationary 1. X 1, X 2,..., X n iid t 2 {X t } : Strictly stationary But E(X 2 t ) =, {X t } : NOT weakly stationary 2. X 1, X 2,..., X n iid t 3 Now E(X 2 t ) <, {X t } : Strictly and Weakly stationary 3. X 1 exp(1) 1, X 2, X 3,... iid N (0, 1) {X t } : Weakly stationary, E(X i ) = 0, Var(X i ) = 1, Cov(X i, X i+k ) = 0 {X t } : NOT Strictly stationary, since distribution of X 1,X 2 are not equal (i.e.f X1 (x 1 ) F Xt (x 2 )) Chun Yip Yau (CUHK) STAT 6104:Financial Time Series 18 / 34

Agenda 1 Introduction 2 Stochastic Process Definition 1 Stochastic Definition 2 Finite dimensional distribution function Definition 3 Strictly Stationary Definition 4 Weakly Stationary Definition 5 Auto covariance function 3 Strictly and Weakly Stationary 4 Examples 5 Sample Correlation Function 6 Summary Chun Yip Yau (CUHK) STAT 6104:Financial Time Series 19 / 34

Example 1 {X t } : i.i.d. random variables ρ(τ) = { 1, τ = 0 0, τ 1 (1) If a time series satisfies (1), it is called a white noise sequence i.i.d. white noise white noise i.i.d. (e.g.x 1 exp(1), X k N (0, 1), k 2) Chun Yip Yau (CUHK) STAT 6104:Financial Time Series 20 / 34

Example 2 If {Y t } satisfies {Y 1 = Y 2 = = Y }, then ρ(τ) = Cov(Y, Y ) = 1 for all τ Essentially there is only one observation (all the observations are equal) Chun Yip Yau (CUHK) STAT 6104:Financial Time Series 21 / 34

Example 3 X t = A cos θt + B sin θt where A and B are i.i.d. random variables with mean 0 and variance σ 2 Cov(X t+h, X t ) E(X t ) = E(A) cos θt + E(B) sin θt = 0 = Cov(A cos θ(t + h) + B sin θ(t + h), A cos θt + B sin θt) = cos θtcos θ(t + h)var(a) + sin θtsin θ(t + h)var(b) = σ 2 cos(θ(t + h) θt) ( cos(a B) = cos A cos B + sin A sin B) = σ 2 cos θh X t is weakly stationary! Chun Yip Yau (CUHK) STAT 6104:Financial Time Series 22 / 34

Agenda 1 Introduction 2 Stochastic Process Definition 1 Stochastic Definition 2 Finite dimensional distribution function Definition 3 Strictly Stationary Definition 4 Weakly Stationary Definition 5 Auto covariance function 3 Strictly and Weakly Stationary 4 Examples 5 Sample Correlation Function 6 Summary Chun Yip Yau (CUHK) STAT 6104:Financial Time Series 23 / 34

ACVF and ACF ACVF : γ(τ) = Cov(X t, X t+τ ) ACF : ρ(τ) = Cov(X t,x t+τ ) = γ(τ) Var(X t )Var(X t+τ ) γ(0) Both ACVF and ACF are population quantities. It means that they involve the true distribution of the process {X t } If we have a dataset X 1, X 2,..., X n but we do not know the true probability distribution of the time series, we can estimate the ACF/ACVF by Sample ACVF: C k = 1 n Sample ACF : r k = C k /C 0 n k t=1 (X t X)(X t+k X) Chun Yip Yau (CUHK) STAT 6104:Financial Time Series 24 / 34

Correlogram - ACF plot Correlogram - ACF plot: A graph to summarize r k Example 1 Example 2 Use k up to k = n/3, otherwise r k is not accurate By definition, r 0 = c 0 c 0 = 1 Chun Yip Yau (CUHK) STAT 6104:Financial Time Series 25 / 34

Sample Correlation Function Questions need to address: Is Corr(X t, X t+k ) = 0? Is r k significantly different from 0? Solution: r k N (0, 1 n ) for each fixed k when n is large Chun Yip Yau (CUHK) STAT 6104:Financial Time Series 26 / 34

Short Memory vs Long Memory Short Memory = Short term correlation Long Memory = long term correlation Chun Yip Yau (CUHK) STAT 6104:Financial Time Series 27 / 34

Examples of ACF function Y t = Z t, {Z t } are i.i.d. Y t = 0.9Y t 1 + Z t Y t = 0.4Y t 1 + Z t Y t = 0.5Y t 1 + Z t Chun Yip Yau (CUHK) STAT 6104:Financial Time Series 28 / 34

Examples of ACF function Y t = a cos(tω), where a, ω are constants Chun Yip Yau (CUHK) STAT 6104:Financial Time Series 29 / 34

Examples of ACF function Y t = Y t 1 + Z t Y t = at + Z t 1. For both cases, ACF decay very slowly (Non-stationary) 2. In practice, we need to detrend and study Chun Yip Yau (CUHK) STAT 6104:Financial Time Series 30 / 34

Agenda 1 Introduction 2 Stochastic Process Definition 1 Stochastic Definition 2 Finite dimensional distribution function Definition 3 Strictly Stationary Definition 4 Weakly Stationary Definition 5 Auto covariance function 3 Strictly and Weakly Stationary 4 Examples 5 Sample Correlation Function 6 Summary Chun Yip Yau (CUHK) STAT 6104:Financial Time Series 31 / 34

Summary of Chapter 2 ACVF : γ(τ) = Cov(X t, X t+τ ) ACF : ρ(τ) = Cov(X t, X t+τ ) Var(X t )Var(X t+τ ) = γ(τ) γ(0) Sample ACVF : C k = 1 n n k Sample ACF : r k = C k /C 0 t=1 (X t X)(X t+k X) Chun Yip Yau (CUHK) STAT 6104:Financial Time Series 32 / 34

Summary of Chapter 2 ACF plot (ACF r k against lag k): r k N (0, 1 n ) Chun Yip Yau (CUHK) STAT 6104:Financial Time Series 33 / 34

Summary of Chapter 2 Short memory Long memory Non-stationary Chun Yip Yau (CUHK) STAT 6104:Financial Time Series 34 / 34