The Autocorrelation Function and AR(1), AR(2) Models
|
|
- Amie Sanders
- 6 years ago
- Views:
Transcription
1 The Autocorrelation Function and AR(1), AR(2) Models Al Nosedal University of Toronto January 21, 2016 Al Nosedal University of Toronto The Autocorrelation Function and AR(1), AR(2) Models January 21, / 61
2 Definition The sample autocovariance function is defined as ˆγ(h) = 1 n h (x t+h x)(x t x), n t=1 with ˆγ( h) = ˆγ(h) for h = 0, 1,..., n 1. Al Nosedal University of Toronto The Autocorrelation Function and AR(1), AR(2) Models January 21, / 61
3 Definition The sample autocorrelation function is defined as ˆρ(h) = ˆγ(h) ˆγ(0). Al Nosedal University of Toronto The Autocorrelation Function and AR(1), AR(2) Models January 21, / 61
4 Toy Example To understand autocorrelation it is first necessary to understand what it means to lag a time series. Y (t) = Y t =(3,4,5,6,7,8,9,10,11,12) Y lagged 1 = Y (t 1) = Y t 1 =(*,3,4,5,6,7,8,9,10,11) Al Nosedal University of Toronto The Autocorrelation Function and AR(1), AR(2) Models January 21, / 61
5 Toy Example (cont.) Find the sample autocorrelation at lag 1 for the following time series: Y (t) = (3, 4, 5, 6, 7, 8, 9, 10, 11, 12). Answer. ˆρ(1) = 0.7 Al Nosedal University of Toronto The Autocorrelation Function and AR(1), AR(2) Models January 21, / 61
6 R Code y<-3:12 ### function to find autocorrelation when lag=1; my.auto<-function(x){ n<-length(x) denom<-(x-mean(x))%*%(x-mean(x))/n num<-(x[-n]-mean(x))%*%(x[-1]-mean(x))/n result<-num/denom return(result) } my.auto(y) ## [,1] ## [1,] 0.7 Al Nosedal University of Toronto The Autocorrelation Function and AR(1), AR(2) Models January 21, / 61
7 An easier way of finding autocorrelations Using R, we can easily find the autocorrelation at any lag k. y<-3:12 auto.lag1<-acf(y,lag=1)$acf[2] auto.lag1 Al Nosedal University of Toronto The Autocorrelation Function and AR(1), AR(2) Models January 21, / 61
8 Series y ACF Lag ## [1] 0.7 Al Nosedal University of Toronto The Autocorrelation Function and AR(1), AR(2) Models January 21, / 61
9 Background It is natural to plot the autocovariances and/or the autocorrelations versus lag. Further, it will be important to develop some notion of what would be expected from such a plot if the errors are white noise (meaning no special time series techniques are required) in contrast to the situation strong serial correlation is present. Al Nosedal University of Toronto The Autocorrelation Function and AR(1), AR(2) Models January 21, / 61
10 Graph of autocorrelations A graph of the lags against the corresponding autocorrelations is called a correlogram. The following lines of code can be used to make a correlogram in R. ### autocorrelation function for ###a random series set.seed(2016); y<-rnorm(25); acf(y,lag=8,main="random Series N(0,1)"); Al Nosedal University of Toronto The Autocorrelation Function and AR(1), AR(2) Models January 21, / 61
11 Graph Random Series N(0,1) ACF Lag Al Nosedal University of Toronto The Autocorrelation Function and AR(1), AR(2) Models January 21, / 61
12 The AR(1) Model Autocorrelation and Autocovariance For the AR(1) model, x j = a 1 x j 1 + w j, x j = a1 2x j 2 + a 1 w j 1 + w j, and in general x j = a1 kx j k + k t=1 at 1 1 w j t+1. Furthermore γ(1) = E(x j x j 1 ) = E([a 1 x j 1 + w k ]x j 1 ) = a 1 σar 2 = a 1γ(0). Al Nosedal University of Toronto The Autocorrelation Function and AR(1), AR(2) Models January 21, / 61
13 The AR(1) Model Autocorrelation and Autocovariance More generally, γ(k) = E(x j x j k ) = E([a k 1 x j k + k t=1 at 1 1 w j t+1 ]x j k ) = a k 1 γ(0). So, in general ρ(k) = a k 1. Al Nosedal University of Toronto The Autocorrelation Function and AR(1), AR(2) Models January 21, / 61
14 The AR(1) Model Autocorrelation and Autocovariance For AR(1), the relationship of variance in the series to variance in white noise is σ 2 AR = E(x jx j ) = E([a 1 x j 1 + w j ][a 1 x j 1 + w j ]) = a 2 1 σ2 AR + σ2 w, so σ 2 AR = σ2 w 1 a1 2. Al Nosedal University of Toronto The Autocorrelation Function and AR(1), AR(2) Models January 21, / 61
15 The Stationary AR(1) is an MA model of infinite order Here we introduce the fundamental duality between AR and MA models. We can keep going backward in time using the first-order autoregressive model: x t = a 1 x t 1 + w t x t = a 1 (a 1 x t 2 + w t 1 ) + w t or x t = a 2 1 x t 2 + (a 1 w t 1 + w t ) = a 2 1 (a 1x t 3 + w t 2 ) + (a 1 w t 1 + w t ) = a 3 1 x t 3 + a 2 1 w t 2 + a 1 w t 1 + w t Al Nosedal University of Toronto The Autocorrelation Function and AR(1), AR(2) Models January 21, / 61
16 The Stationary AR(1) is an MA model of infinite order Continuing back to minus infinity we would get x t = w t + a 1 w t 1 + a1w 2 t 2 + a1x 3 t which makes sense if it is the case that a1 k 0 as k rapidly enough for the series to converge to a finite limit. This is our stationary condition. Al Nosedal University of Toronto The Autocorrelation Function and AR(1), AR(2) Models January 21, / 61
17 The Stationary AR(1) is an MA model of infinite order The expression for x t is then x t = a1w i t i The AR(1) model can thus be written as an MA( ) model. i=0 Al Nosedal University of Toronto The Autocorrelation Function and AR(1), AR(2) Models January 21, / 61
18 The AR(1) process is not always stationary The variance of the AR(1) process is given by ( ) σar 2 = Var(x t) = Var a1w i t i σar 2 = Var(x t) = σw 2 (1 + a1 2 + (a1) (a1) (a1) ) If a 1 = 1 or if a 1 is larger, this variance will increase without bound. i=0 Al Nosedal University of Toronto The Autocorrelation Function and AR(1), AR(2) Models January 21, / 61
19 The Yule-Walker equations The development of these useful equations is not difficult. Write the general AR(p) model as x t = a 1 x t 1 + a 2 x t a p x t p + w t where we assume that x t is a zero-mean process (or that the mean has been subtracted) and that w t is a white-noise process and that E(w t x t k ) = 0 for k > 0. Once again, compute γ(k): γ(k) = E(x t x t k ) Al Nosedal University of Toronto The Autocorrelation Function and AR(1), AR(2) Models January 21, / 61
20 The Yule-Walker equations γ(k) = E(x t x t k ) = E[(a 1 x t 1 + a 2 x t a p x t p + w t )x t k ] γ(k) = E(x t x t k ) = a 1 E[x t 1 x t k ] + a 2 E[x t 2 x t k ] a p E[x t p x t k ] + E[w t x t k ] Al Nosedal University of Toronto The Autocorrelation Function and AR(1), AR(2) Models January 21, / 61
21 The Yule-Walker equations From the definition of the autocovariance γ(k) of a stationary process, it is a function only of the lag between observations. Thus, γ(k) = E(x t x t k ) = E(x t+s x t+s k ). We can use this fact to simplify γ(k) = E(x t x t k ) = a 1 E[x t 1 x t k ] + a 2 E[x t 2 x t k ] a p E[x t p x t k ] + E[w t x t k ] to obtain γ(k) = a 1 γ(k 1) + a 2 γ(k 2) a p γ(k p) + E(w t x t k ) Al Nosedal University of Toronto The Autocorrelation Function and AR(1), AR(2) Models January 21, / 61
22 The Yule-Walker equations For k > 0 we know that the last term is zero. γ(k) = a 1 γ(k 1) + a 2 γ(k 2) a p γ(k p). If we divide by the variance of the series γ(0) = σar 2 and recall the definition of the autocorrelation ρ(k) = γ(k) γ(0), we obtain the Yule-Walker equations ρ(k) = a 1 ρ(k 1) + a 2 ρ(k 2) a p ρ(k p), k > 0. Al Nosedal University of Toronto The Autocorrelation Function and AR(1), AR(2) Models January 21, / 61
23 The Yule-Walker equations These are extremely important equations. For k = 0, we obtain γ(0) = σ 2 AR = a 1γ( 1) + a 2 γ( 2) a p γ( p) + E(w t x t ). We can find E(w t x t ) as follows: E(x t w t ) = E[a 1 x t 1 w t + a 2 x t 2 w t a p x t p w t + w 2 t ] = E(w 2 t ) = σ 2 w. (because E(x t k w t ) = 0 for k > 0.) Al Nosedal University of Toronto The Autocorrelation Function and AR(1), AR(2) Models January 21, / 61
24 The Yule-Walker equations Recalling that γ( s) = γ(s), we have that γ(0) = σ 2 AR = a 1γ(1) + a 2 γ(2) a p γ(p) + σ 2 w, and dividing by γ(0) on both sides, we obtain or 1 = a 1 ρ(1) + a 2 ρ(2) a p ρ(p) + σ2 w σ 2 AR σ 2 w = σ 2 AR (1 a 1ρ(1) a 2 ρ(2)... a p ρ(p). Al Nosedal University of Toronto The Autocorrelation Function and AR(1), AR(2) Models January 21, / 61
25 Why are Yule-Walker equations so important? We can use equations and ρ(k) = a 1 ρ(k 1) + a 2 ρ(k 2) a p ρ(k p), k > 0. σ 2 w = σ 2 AR (1 a 1ρ(1) a 2 ρ(2)... a p ρ(p). to estimate, say, a 1, a 2, σ 2 w from the autocorrelations if we knew that the order of the model is p = 2. Al Nosedal University of Toronto The Autocorrelation Function and AR(1), AR(2) Models January 21, / 61
26 AR(2) Process This process is defined by It can be shown that x t = a 1 x t 1 + a 2 x t 2 + w t. a 1 = a 2 = ρ(1)[1 ρ(2)] 1 ρ(1) 2 ρ(2) ρ(1)2 1 ρ(1) 2 Al Nosedal University of Toronto The Autocorrelation Function and AR(1), AR(2) Models January 21, / 61
27 Stationarity conditions for an AR(2) process We recently discovered that the equation for the variance of an AR(p) process was σ 2 AR = For an AR(2) process this reduces to σ 2 w 1 ρ(1)a 1 ρ(2)a 2... ρ(p)a p. σ 2 AR = σ 2 w 1 ρ(1)a 1 ρ(2)a 2. Al Nosedal University of Toronto The Autocorrelation Function and AR(1), AR(2) Models January 21, / 61
28 Stationarity conditions for an AR(2) process Substituting our expressions for a 1 and a 2 can be shown to yield (after a little bit of algebra) σ 2 AR = (1 a 2 )σ 2 w (1 + a 2 )(1 a 1 a 2 )(1 + a 1 a 2 ) Al Nosedal University of Toronto The Autocorrelation Function and AR(1), AR(2) Models January 21, / 61
29 Stationarity conditions for an AR(2) process Using the facts that autocorrelations must be less than 1, and each factor in the denominator and numerator must be positive, we can derive the conditions 1 < a 2 < 1 a 2 + a 1 < 1 a 2 a 1 < 1 The inequalities define the stationarity region for AR(2). Al Nosedal University of Toronto The Autocorrelation Function and AR(1), AR(2) Models January 21, / 61
30 Scatterplot to Illustrate the AR(1) Model The model AR(1) is about the correlation between an error and the previous error. First consider white noise. In this case there should be no correlation between the errors and the shifted errors. On the other hand, consider AR(1) errors with a 1 = 0.7. Al Nosedal University of Toronto The Autocorrelation Function and AR(1), AR(2) Models January 21, / 61
31 R Code n<-1000; error<-rep(0,n); a1<-0.7; # simulating white noise; set.seed(9999); noise<-rnorm(n,0,2); # simulating AR(1); error = filter(noise,filter=(0.7),method="recursive",init=0); plot(error[-n],error[-1],xlab="errors", ylab="shifted errors"); title("ar(1) errors, a=0.7" ); Al Nosedal University of Toronto The Autocorrelation Function and AR(1), AR(2) Models January 21, / 61
32 Scatterplot AR(1) errors, a=0.7 shifted errors errors Al Nosedal University of Toronto The Autocorrelation Function and AR(1), AR(2) Models January 21, / 61
33 Autocorrelation Function acf(error); Al Nosedal University of Toronto The Autocorrelation Function and AR(1), AR(2) Models January 21, / 61
34 Autocorrelation Function Series error ACF Lag Al Nosedal University of Toronto The Autocorrelation Function and AR(1), AR(2) Models January 21, / 61
35 Based on the formulas already derived and the choice used in the code (a 1 = 0.7): ρ(0) = 1 by definition ρ(1) = a 1 1 = 0.7 ρ(2) = a 2 1 = 0.49 ρ(3) = a 3 1 = ρ(4) = a 4 1 = Al Nosedal University of Toronto The Autocorrelation Function and AR(1), AR(2) Models January 21, / 61
36 R Code acf(error,plot=false)[0:4]; ## ## Autocorrelations of series 'error', by lag ## ## ## Al Nosedal University of Toronto The Autocorrelation Function and AR(1), AR(2) Models January 21, / 61
37 Examples of Stable and Unstable AR(1) Models Consider the following three cases of AR(1) data: 1. a 1 = a 1 = a 1 = 1.01 Al Nosedal University of Toronto The Autocorrelation Function and AR(1), AR(2) Models January 21, / 61
38 Case 1 n<-100; error<-rep(0,n); a1<- -0.9; set.seed(9999); noise<-rnorm(n,0,2); error <- filter(noise,filter=(a1),method="recursive", init=0); plot.ts(error,main="a = -0.9, n =100"); acf(error); Al Nosedal University of Toronto The Autocorrelation Function and AR(1), AR(2) Models January 21, / 61
39 Case 1. Time Series a = 0.9, n =100 error Time Al Nosedal University of Toronto The Autocorrelation Function and AR(1), AR(2) Models January 21, / 61
40 Case 1. Correlogram Series error ACF Lag Al Nosedal University of Toronto The Autocorrelation Function and AR(1), AR(2) Models January 21, / 61
41 Case 2 n<-100; error<-rep(0,n); a1<- 0.5; set.seed(9999); noise<-rnorm(n,0,2); error <- filter(noise,filter=(a1),method="recursive", init=0); plot.ts(error,main="a = 0.5, n =100"); acf(error); Al Nosedal University of Toronto The Autocorrelation Function and AR(1), AR(2) Models January 21, / 61
42 Case 2. Time Series a = 0.5, n =100 error Time Al Nosedal University of Toronto The Autocorrelation Function and AR(1), AR(2) Models January 21, / 61
43 Case 2. Correlogram Series error ACF Lag Al Nosedal University of Toronto The Autocorrelation Function and AR(1), AR(2) Models January 21, / 61
44 Case 3 n<-100; error<-rep(0,n); a1<- 1.1; set.seed(9999); noise<-rnorm(n,0,2); error <- filter(noise,filter=(a1),method="recursive", init=0); plot.ts(error,main="a = 1.1, n =100"); acf(error); Al Nosedal University of Toronto The Autocorrelation Function and AR(1), AR(2) Models January 21, / 61
45 Case 3. Time Series a = 1.1, n =100 error Time Al Nosedal University of Toronto The Autocorrelation Function and AR(1), AR(2) Models January 21, / 61
46 Case 3. Correlogram Series error ACF Lag Al Nosedal University of Toronto The Autocorrelation Function and AR(1), AR(2) Models January 21, / 61
47 The AR(2) Model Autocorrelation and Autocovariance The model is: x t = a 1 x t 1 + a 2 x t 2 + w t, and the autocovariances can be characterized with recursive relationships. Al Nosedal University of Toronto The Autocorrelation Function and AR(1), AR(2) Models January 21, / 61
48 γ(1) and ρ(1) γ(1) = E(x j x j 1 ) = E([a 1 x j 1 + a 2 x j 2 + w j ]x j 1 ) = a 1 γ(0) + a 2 γ(1), so it is easy to see that ρ(1) = a 1 1 a 2. Al Nosedal University of Toronto The Autocorrelation Function and AR(1), AR(2) Models January 21, / 61
49 ρ(2) and ρ(3) Doing something similar, and ρ(2) = a 2 1 (1 a 2 ) + a 2 ρ(3) = a3 1 + a 1a 2 (1 a 2 ) + a 1a 2. Al Nosedal University of Toronto The Autocorrelation Function and AR(1), AR(2) Models January 21, / 61
50 σ 2 AR = γ(0) It can be shown that, for the AR(2) model, σ 2 AR = σ 2 W 1 a 1 ρ(1) a 2 ρ(2). Al Nosedal University of Toronto The Autocorrelation Function and AR(1), AR(2) Models January 21, / 61
51 Simulating Data for AR(2) Models n<-100; error<-rep(0,n); a1<- 0.8; a2<- -0.7; set.seed(9999); noise<-rnorm(n,0,2); error <- filter(noise,filter=c(a1,a2),method="recursive"); acf(error); Al Nosedal University of Toronto The Autocorrelation Function and AR(1), AR(2) Models January 21, / 61
52 Correlogram Series error ACF Lag Al Nosedal University of Toronto The Autocorrelation Function and AR(1), AR(2) Models January 21, / 61
53 Autocorrelations Based on the formulas already derived and the choices used in the code (a 1 = 0.8, a 2 = 0.7): ρ(0) = 1, ρ(1) = a 1 1 a 2 = , ρ(2) = a 1 ρ(1) + a 2 ρ(0) 0.8(0.4706) 0.7(1) , ρ(3) = a 1 ρ(2) + a 2 ρ(1) 0.8( ) 0.7(0.4706) , etc. Al Nosedal University of Toronto The Autocorrelation Function and AR(1), AR(2) Models January 21, / 61
54 Stable and Unstable AR(2) Models Recall the AR(2) process is stationary when: i) a 1 + a 2 < 1, ii) a 2 a 1 < 1, and iii) a 2 < 1. Al Nosedal University of Toronto The Autocorrelation Function and AR(1), AR(2) Models January 21, / 61
55 Examples of Stable and Unstable AR(2) Models Stable: a 1 = 1.60 and a 2 = Stable: a 1 = 0.30 and a 2 = Stable: a 1 = 0.30 and a 2 = Unstable violates (i): a 1 = and a 2 = Unstable violates (ii): a 1 = and a 2 = Unstable violates (iii): a 1 = 0 and a 2 = Al Nosedal University of Toronto The Autocorrelation Function and AR(1), AR(2) Models January 21, / 61
56 Unstable case a 1 = and a 2 = n<-100; error<-rep(0,n); a1< ; a2< ; set.seed(9); noise<-rnorm(n,0,2); error <- filter(noise,filter=c(a1,a2),method="recursive"); plot.ts(error,main="a1 = 0.5 and a2=-0.505, n =100"); Al Nosedal University of Toronto The Autocorrelation Function and AR(1), AR(2) Models January 21, / 61
57 Unstable case a 1 = and a 2 = a1 = 0.5 and a2=0.505, n =100 error Time Al Nosedal University of Toronto The Autocorrelation Function and AR(1), AR(2) Models January 21, / 61
58 Unstable case a 1 = and a 2 = n<-100; error<-rep(0,n); a1< ; a2< ; set.seed(9); noise<-rnorm(n,0,2); error <- filter(noise,filter=c(a1,a2),method="recursive"); plot.ts(error,main="a1 = and a2=0.500, n =100"); Al Nosedal University of Toronto The Autocorrelation Function and AR(1), AR(2) Models January 21, / 61
59 Unstable case a 1 = and a 2 = a1 = and a2=0.500, n =100 error Time Al Nosedal University of Toronto The Autocorrelation Function and AR(1), AR(2) Models January 21, / 61
60 Unstable case a 1 = 0 and a 2 = n<-100; error<-rep(0,n); a1<- 0; a2< ; set.seed(9); noise<-rnorm(n,0,2); error <- filter(noise,filter=c(a1,a2),method="recursive"); plot.ts(error,main="a1 = 0 and a2= -1.05, n =100"); Al Nosedal University of Toronto The Autocorrelation Function and AR(1), AR(2) Models January 21, / 61
61 Unstable case a 1 = 0 and a 2 = a1 = 0 and a2= 1.05, n =100 error Time Al Nosedal University of Toronto The Autocorrelation Function and AR(1), AR(2) Models January 21, / 61
Statistical Analysis of Data from the Stock Markets. UiO-STK4510 Autumn 2015
Statistical Analysis of Data from the Stock Markets UiO-STK4510 Autumn 2015 Sampling Conventions We observe the price process S of some stock (or stock index) at times ft i g i=0,...,n, we denote it by
More informationThis homework assignment uses the material on pages ( A moving average ).
Module 2: Time series concepts HW Homework assignment: equally weighted moving average This homework assignment uses the material on pages 14-15 ( A moving average ). 2 Let Y t = 1/5 ( t + t-1 + t-2 +
More informationChapter 5 Univariate time-series analysis. () Chapter 5 Univariate time-series analysis 1 / 29
Chapter 5 Univariate time-series analysis () Chapter 5 Univariate time-series analysis 1 / 29 Time-Series Time-series is a sequence fx 1, x 2,..., x T g or fx t g, t = 1,..., T, where t is an index denoting
More informationIntroduction to Computational Finance and Financial Econometrics Descriptive Statistics
You can t see this text! Introduction to Computational Finance and Financial Econometrics Descriptive Statistics Eric Zivot Summer 2015 Eric Zivot (Copyright 2015) Descriptive Statistics 1 / 28 Outline
More informationI. Return Calculations (20 pts, 4 points each)
University of Washington Winter 015 Department of Economics Eric Zivot Econ 44 Midterm Exam Solutions This is a closed book and closed note exam. However, you are allowed one page of notes (8.5 by 11 or
More informationForecasting: an introduction. There are a variety of ad hoc methods as well as a variety of statistically derived methods.
Forecasting: an introduction Given data X 0,..., X T 1. Goal: guess, or forecast, X T or X T+r. There are a variety of ad hoc methods as well as a variety of statistically derived methods. Illustration
More informationThe University of Chicago, Booth School of Business Business 41202, Spring Quarter 2009, Mr. Ruey S. Tsay. Solutions to Final Exam
The University of Chicago, Booth School of Business Business 41202, Spring Quarter 2009, Mr. Ruey S. Tsay Solutions to Final Exam Problem A: (42 pts) Answer briefly the following questions. 1. Questions
More informationYafu Zhao Department of Economics East Carolina University M.S. Research Paper. Abstract
This version: July 16, 2 A Moving Window Analysis of the Granger Causal Relationship Between Money and Stock Returns Yafu Zhao Department of Economics East Carolina University M.S. Research Paper Abstract
More informationEconometrics II. Seppo Pynnönen. Spring Department of Mathematics and Statistics, University of Vaasa, Finland
Department of Mathematics and Statistics, University of Vaasa, Finland Spring 2018 Part IV Financial Time Series As of Feb 5, 2018 1 Financial Time Series Asset Returns Simple returns Log-returns Portfolio
More informationActuarial Society of India EXAMINATIONS
Actuarial Society of India EXAMINATIONS 7 th June 005 Subject CT6 Statistical Models Time allowed: Three Hours (0.30 am 3.30 pm) INSTRUCTIONS TO THE CANDIDATES. Do not write your name anywhere on the answer
More informationForecasting Financial Markets. Time Series Analysis
Forecasting Financial Markets Time Series Analysis Copyright 1999-2011 Investment Analytics Copyright 1999-2011 Investment Analytics Forecasting Financial Markets Time Series Analysis Slide: 1 Overview
More informationCourse information FN3142 Quantitative finance
Course information 015 16 FN314 Quantitative finance This course is aimed at students interested in obtaining a thorough grounding in market finance and related empirical methods. Prerequisite If taken
More informationCharacterization of the Optimum
ECO 317 Economics of Uncertainty Fall Term 2009 Notes for lectures 5. Portfolio Allocation with One Riskless, One Risky Asset Characterization of the Optimum Consider a risk-averse, expected-utility-maximizing
More informationThe University of Chicago, Booth School of Business Business 41202, Spring Quarter 2011, Mr. Ruey S. Tsay. Solutions to Final Exam.
The University of Chicago, Booth School of Business Business 41202, Spring Quarter 2011, Mr. Ruey S. Tsay Solutions to Final Exam Problem A: (32 pts) Answer briefly the following questions. 1. Suppose
More informationForecasting Exchange Rate between Thai Baht and the US Dollar Using Time Series Analysis
Forecasting Exchange Rate between Thai Baht and the US Dollar Using Time Series Analysis Kunya Bowornchockchai International Science Index, Mathematical and Computational Sciences waset.org/publication/10003789
More informationStatistics for Business and Economics
Statistics for Business and Economics Chapter 5 Continuous Random Variables and Probability Distributions Ch. 5-1 Probability Distributions Probability Distributions Ch. 4 Discrete Continuous Ch. 5 Probability
More informationModelling financial data with stochastic processes
Modelling financial data with stochastic processes Vlad Ardelean, Fabian Tinkl 01.08.2012 Chair of statistics and econometrics FAU Erlangen-Nuremberg Outline Introduction Stochastic processes Volatility
More informationBooth School of Business, University of Chicago Business 41202, Spring Quarter 2014, Mr. Ruey S. Tsay. Solutions to Midterm
Booth School of Business, University of Chicago Business 41202, Spring Quarter 2014, Mr. Ruey S. Tsay Solutions to Midterm Problem A: (30 pts) Answer briefly the following questions. Each question has
More informationChapter 5 Univariate time-series analysis. () Chapter 5 Univariate time-series analysis 1 / 59
Chapter 5 Univariate time-series analysis () Chapter 5 Univariate time-series analysis 1 / 59 Time-Series Time-series is a sequence fx 1, x 2,..., x T g or fx t g, t = 1,..., T, where t is an index denoting
More informationChapter 5 Discrete Probability Distributions. Random Variables Discrete Probability Distributions Expected Value and Variance
Chapter 5 Discrete Probability Distributions Random Variables Discrete Probability Distributions Expected Value and Variance.40.30.20.10 0 1 2 3 4 Random Variables A random variable is a numerical description
More informationFiscal and Monetary Policies: Background
Fiscal and Monetary Policies: Background Behzad Diba University of Bern April 2012 (Institute) Fiscal and Monetary Policies: Background April 2012 1 / 19 Research Areas Research on fiscal policy typically
More informationConditional Heteroscedasticity
1 Conditional Heteroscedasticity May 30, 2010 Junhui Qian 1 Introduction ARMA(p,q) models dictate that the conditional mean of a time series depends on past observations of the time series and the past
More informationChapter 4 Level of Volatility in the Indian Stock Market
Chapter 4 Level of Volatility in the Indian Stock Market Measurement of volatility is an important issue in financial econometrics. The main reason for the prominent role that volatility plays in financial
More informationThis thesis is protected by copyright which belongs to the author.
A University of Sussex PhD thesis Available online via Sussex Research Online: http://sro.sussex.ac.uk/ This thesis is protected by copyright which belongs to the author. This thesis cannot be reproduced
More informationMTH6154 Financial Mathematics I Stochastic Interest Rates
MTH6154 Financial Mathematics I Stochastic Interest Rates Contents 4 Stochastic Interest Rates 45 4.1 Fixed Interest Rate Model............................ 45 4.2 Varying Interest Rate Model...........................
More informationDiscrete probability distributions
Discrete probability distributions Probability distributions Discrete random variables Expected values (mean) Variance Linear functions - mean & standard deviation Standard deviation 1 Probability distributions
More informationNotation. P τ. Let us assume that the prices and the interest rates follow a stationary stochastic process.
Notation Let Pt τ denote the price at time t of a risk-free, pure-discount bond worth one dollar at its maturity in τ years, at time t + τ. Thus Pt 0 =. Let τ t denote the yield to maturity on this bond.
More informationHandout 4: Gains from Diversification for 2 Risky Assets Corporate Finance, Sections 001 and 002
Handout 4: Gains from Diversification for 2 Risky Assets Corporate Finance, Sections 001 and 002 Suppose you are deciding how to allocate your wealth between two risky assets. Recall that the expected
More informationFinancial Econometrics: Problem Set # 3 Solutions
Financial Econometrics: Problem Set # 3 Solutions N Vera Chau The University of Chicago: Booth February 9, 219 1 a. You can generate the returns using the exact same strategy as given in problem 2 below.
More informationx f(x) D.N.E
Limits Consider the function f(x) x2 x. This function is not defined for x, but if we examine the value of f for numbers close to, we can observe something interesting: x 0 0.5 0.9 0.999.00..5 2 f(x).5.9.999
More informationPairs trading. Gesina Gorter
Pairs trading Gesina Gorter December 12, 2006 Contents 1 Introduction 3 11 IMC 3 12 Pairs trading 4 13 Graduation project 5 14 Outline 6 2 Trading strategy 7 21 Introductory example 8 22 Data 14 23 Properties
More information2-4 Completing the Square
2-4 Completing the Square Warm Up Lesson Presentation Lesson Quiz Algebra 2 Warm Up Write each expression as a trinomial. 1. (x 5) 2 x 2 10x + 25 2. (3x + 5) 2 9x 2 + 30x + 25 Factor each expression. 3.
More informationFinancial Time Series Analysis (FTSA)
Financial Time Series Analysis (FTSA) Lecture 6: Conditional Heteroscedastic Models Few models are capable of generating the type of ARCH one sees in the data.... Most of these studies are best summarized
More informationARIMA-GARCH and unobserved component models with. GARCH disturbances: Are their prediction intervals. different?
ARIMA-GARCH and unobserved component models with GARCH disturbances: Are their prediction intervals different? Santiago Pellegrini, Esther Ruiz and Antoni Espasa July 2008 Abstract We analyze the effects
More informationINFORMATION EFFICIENCY HYPOTHESIS THE FINANCIAL VOLATILITY IN THE CZECH REPUBLIC CASE
INFORMATION EFFICIENCY HYPOTHESIS THE FINANCIAL VOLATILITY IN THE CZECH REPUBLIC CASE Abstract Petr Makovský If there is any market which is said to be effective, this is the the FOREX market. Here we
More informationOnline Appendix to Grouped Coefficients to Reduce Bias in Heterogeneous Dynamic Panel Models with Small T
Online Appendix to Grouped Coefficients to Reduce Bias in Heterogeneous Dynamic Panel Models with Small T Nathan P. Hendricks and Aaron Smith October 2014 A1 Bias Formulas for Large T The heterogeneous
More informationAmath 546/Econ 589 Univariate GARCH Models
Amath 546/Econ 589 Univariate GARCH Models Eric Zivot April 24, 2013 Lecture Outline Conditional vs. Unconditional Risk Measures Empirical regularities of asset returns Engle s ARCH model Testing for ARCH
More informationFinancial Econometrics and Volatility Models Return Predictability
Financial Econometrics and Volatility Models Return Predictability Eric Zivot March 31, 2010 1 Lecture Outline Market Efficiency The Forms of the Random Walk Hypothesis Testing the Random Walk Hypothesis
More informationGARCH Models. Instructor: G. William Schwert
APS 425 Fall 2015 GARCH Models Instructor: G. William Schwert 585-275-2470 schwert@schwert.ssb.rochester.edu Autocorrelated Heteroskedasticity Suppose you have regression residuals Mean = 0, not autocorrelated
More informationBooth School of Business, University of Chicago Business 41202, Spring Quarter 2010, Mr. Ruey S. Tsay. Solutions to Midterm
Booth School of Business, University of Chicago Business 41202, Spring Quarter 2010, Mr. Ruey S. Tsay Solutions to Midterm Problem A: (30 pts) Answer briefly the following questions. Each question has
More informationLecture Note of Bus 41202, Spring 2010: Analysis of Multiple Series with Applications. x 1t x 2t. holdings (OIH) and energy select section SPDR (XLE).
Lecture Note of Bus 41202, Spring 2010: Analysis of Multiple Series with Applications Focus on two series (i.e., bivariate case) Time series: Data: x 1, x 2,, x T. X t = Some examples: (a) U.S. quarterly
More informationLecture 5a: ARCH Models
Lecture 5a: ARCH Models 1 2 Big Picture 1. We use ARMA model for the conditional mean 2. We use ARCH model for the conditional variance 3. ARMA and ARCH model can be used together to describe both conditional
More informationRichardson Extrapolation Techniques for the Pricing of American-style Options
Richardson Extrapolation Techniques for the Pricing of American-style Options June 1, 2005 Abstract Richardson Extrapolation Techniques for the Pricing of American-style Options In this paper we re-examine
More informationTHE PENNSYLVANIA STATE UNIVERSITY SCHREYER HONORS COLLEGE DEPARTMENT OF ECONOMICS
THE PENNSYLVANIA STATE UNIVERSITY SCHREYER HONORS COLLEGE DEPARTMENT OF ECONOMICS MODELLING MAJOR ECONOMIC INDICATORS VIA MULTIVARIATE TIME SERIES ANALYSIS XUANHAO ZHANG SPRING 2017 A thesis submitted
More informationIdiosyncratic risk, insurance, and aggregate consumption dynamics: a likelihood perspective
Idiosyncratic risk, insurance, and aggregate consumption dynamics: a likelihood perspective Alisdair McKay Boston University June 2013 Microeconomic evidence on insurance - Consumption responds to idiosyncratic
More informationBROWNIAN MOTION Antonella Basso, Martina Nardon
BROWNIAN MOTION Antonella Basso, Martina Nardon basso@unive.it, mnardon@unive.it Department of Applied Mathematics University Ca Foscari Venice Brownian motion p. 1 Brownian motion Brownian motion plays
More informationPricing & Risk Management of Synthetic CDOs
Pricing & Risk Management of Synthetic CDOs Jaffar Hussain* j.hussain@alahli.com September 2006 Abstract The purpose of this paper is to analyze the risks of synthetic CDO structures and their sensitivity
More informationThe Constant Expected Return Model
Chapter 1 The Constant Expected Return Model Date: February 5, 2015 The first model of asset returns we consider is the very simple constant expected return (CER) model. This model is motivated by the
More informationLecture Notes of Bus (Spring 2013) Analysis of Financial Time Series Ruey S. Tsay
Lecture Notes of Bus 41202 (Spring 2013) Analysis of Financial Time Series Ruey S. Tsay Simple AR models: (Regression with lagged variables.) Motivating example: The growth rate of U.S. quarterly real
More informationFinancial Econometrics Notes. Kevin Sheppard University of Oxford
Financial Econometrics Notes Kevin Sheppard University of Oxford Monday 15 th January, 2018 2 This version: 22:52, Monday 15 th January, 2018 2018 Kevin Sheppard ii Contents 1 Probability, Random Variables
More informationAsymptotic results discrete time martingales and stochastic algorithms
Asymptotic results discrete time martingales and stochastic algorithms Bernard Bercu Bordeaux University, France IFCAM Summer School Bangalore, India, July 2015 Bernard Bercu Asymptotic results for discrete
More informationLloyds TSB. Derek Hull, John Adam & Alastair Jones
Forecasting Bad Debt by ARIMA Models with Multiple Transfer Functions using a Selection Process for many Candidate Variables Lloyds TSB Derek Hull, John Adam & Alastair Jones INTRODUCTION: No statistical
More informationEstimating a Dynamic Oligopolistic Game with Serially Correlated Unobserved Production Costs. SS223B-Empirical IO
Estimating a Dynamic Oligopolistic Game with Serially Correlated Unobserved Production Costs SS223B-Empirical IO Motivation There have been substantial recent developments in the empirical literature on
More informationModelling volatility - ARCH and GARCH models
Modelling volatility - ARCH and GARCH models Beáta Stehlíková Time series analysis Modelling volatility- ARCH and GARCH models p.1/33 Stock prices Weekly stock prices (library quantmod) Continuous returns:
More informationRegression and Simulation
Regression and Simulation This is an introductory R session, so it may go slowly if you have never used R before. Do not be discouraged. A great way to learn a new language like this is to plunge right
More informationSandringham School Sixth Form. AS Maths. Bridging the gap
Sandringham School Sixth Form AS Maths Bridging the gap Section 1 - Factorising be able to factorise simple expressions be able to factorise quadratics The expression 4x + 8 can be written in factor form,
More informationFinancial Econometrics
Financial Econometrics Volatility Gerald P. Dwyer Trinity College, Dublin January 2013 GPD (TCD) Volatility 01/13 1 / 37 Squared log returns for CRSP daily GPD (TCD) Volatility 01/13 2 / 37 Absolute value
More informationSimulation Wrap-up, Statistics COS 323
Simulation Wrap-up, Statistics COS 323 Today Simulation Re-cap Statistics Variance and confidence intervals for simulations Simulation wrap-up FYI: No class or office hours Thursday Simulation wrap-up
More informationFinancial Econometrics and Volatility Models Stochastic Volatility
Financial Econometrics and Volatility Models Stochastic Volatility Eric Zivot April 26, 2010 Outline Stochastic Volatility and Stylized Facts for Returns Log-Normal Stochastic Volatility (SV) Model SV
More informationMODELING INVESTMENT RETURNS WITH A MULTIVARIATE ORNSTEIN-UHLENBECK PROCESS
MODELING INVESTMENT RETURNS WITH A MULTIVARIATE ORNSTEIN-UHLENBECK PROCESS by Zhong Wan B.Econ., Nankai University, 27 a Project submitted in partial fulfillment of the requirements for the degree of Master
More informationNotes: Review of Future & Present Value, Some Statistics & Calculating Security Returns
Notes: Review of Future & Present Value, Some Statistics & Calculating Security Returns I. Future Values How much is money today worth in the future? This is the future value (FV) of money today. a) Simple
More informationPractical example of an Economic Scenario Generator
Practical example of an Economic Scenario Generator Martin Schenk Actuarial & Insurance Solutions SAV 7 March 2014 Agenda Introduction Deterministic vs. stochastic approach Mathematical model Application
More informationANALYSIS OF FINANCIAL MARKETS: TECHNICAL ANALYSIS AGAINST TIME SERIES
Undergraduate Thesis MAJOR IN MATHEMATICS Department of Probability, Logic and Statistics University of Barcelona ANALYSIS OF FINANCIAL MARKETS: TECHNICAL ANALYSIS AGAINST TIME SERIES Arnau Guardia Berdiell
More informationHigh-Frequency Data Analysis and Market Microstructure [Tsay (2005), chapter 5]
1 High-Frequency Data Analysis and Market Microstructure [Tsay (2005), chapter 5] High-frequency data have some unique characteristics that do not appear in lower frequencies. At this class we have: Nonsynchronous
More informationThailand Statistician January 2016; 14(1): Contributed paper
Thailand Statistician January 016; 141: 1-14 http://statassoc.or.th Contributed paper Stochastic Volatility Model with Burr Distribution Error: Evidence from Australian Stock Returns Gopalan Nair [a] and
More informationFinancial Risk Forecasting Chapter 9 Extreme Value Theory
Financial Risk Forecasting Chapter 9 Extreme Value Theory Jon Danielsson 2017 London School of Economics To accompany Financial Risk Forecasting www.financialriskforecasting.com Published by Wiley 2011
More informationCHOICE THEORY, UTILITY FUNCTIONS AND RISK AVERSION
CHOICE THEORY, UTILITY FUNCTIONS AND RISK AVERSION Szabolcs Sebestyén szabolcs.sebestyen@iscte.pt Master in Finance INVESTMENTS Sebestyén (ISCTE-IUL) Choice Theory Investments 1 / 65 Outline 1 An Introduction
More informationDesirable properties for a good model of portfolio credit risk modelling
3.3 Default correlation binomial models Desirable properties for a good model of portfolio credit risk modelling Default dependence produce default correlations of a realistic magnitude. Estimation number
More informationEc2723, Asset Pricing I Class Notes, Fall Present Value Relations and Stock Return Predictability
Ec2723, Asset Pricing I Class Notes, Fall 2005 Present Value Relations and Stock Return Predictability John Y. Campbell 1 First draft: October 20, 2003 This version: October 18, 2005 1 Department of Economics,
More informationValue at Risk with and without report dates
Value at Risk with and without report dates Oscar Wissén Kandidatuppsats i matematisk statistik Bachelor Thesis in Mathematical Statistics Kandidatuppsats 2016:17 Matematisk statistik Juni 2016 www.math.su.se
More informationReview of the Topics for Midterm I
Review of the Topics for Midterm I STA 100 Lecture 9 I. Introduction The objective of statistics is to make inferences about a population based on information contained in a sample. A population is the
More informationRandom Variables Handout. Xavier Vilà
Random Variables Handout Xavier Vilà Course 2004-2005 1 Discrete Random Variables. 1.1 Introduction 1.1.1 Definition of Random Variable A random variable X is a function that maps each possible outcome
More informationA comparison of optimal and dynamic control strategies for continuous-time pension plan models
A comparison of optimal and dynamic control strategies for continuous-time pension plan models Andrew J.G. Cairns Department of Actuarial Mathematics and Statistics, Heriot-Watt University, Riccarton,
More informationPoint Estimation. Edwin Leuven
Point Estimation Edwin Leuven Introduction Last time we reviewed statistical inference We saw that while in probability we ask: given a data generating process, what are the properties of the outcomes?
More informationYou can define the municipal bond spread two ways for the student project:
PROJECT TEMPLATE: MUNICIPAL BOND SPREADS Municipal bond yields give data for excellent student projects, because federal tax changes in 1980, 1982, 1984, and 1986 affected the yields. This project template
More informationModeling and Forecasting Volatility in Financial Time Series: An Econometric Analysis of the S&P 500 and the VIX Index.
F A C U L T Y O F S O C I A L S C I E N C E S D E P A R T M E N T O F E C O N O M I C S U N I V E R S I T Y O F C O P E N H A G E N Seminar in finance Modeling and Forecasting Volatility in Financial Time
More informationEC316a: Advanced Scientific Computation, Fall Discrete time, continuous state dynamic models: solution methods
EC316a: Advanced Scientific Computation, Fall 2003 Notes Section 4 Discrete time, continuous state dynamic models: solution methods We consider now solution methods for discrete time models in which decisions
More informationOvernight Index Rate: Model, calibration and simulation
Research Article Overnight Index Rate: Model, calibration and simulation Olga Yashkir and Yuri Yashkir Cogent Economics & Finance (2014), 2: 936955 Page 1 of 11 Research Article Overnight Index Rate: Model,
More informationStrategies for High Frequency FX Trading
Strategies for High Frequency FX Trading - The choice of bucket size Malin Lunsjö and Malin Riddarström Department of Mathematical Statistics Faculty of Engineering at Lund University June 2017 Abstract
More informationConsumption- Savings, Portfolio Choice, and Asset Pricing
Finance 400 A. Penati - G. Pennacchi Consumption- Savings, Portfolio Choice, and Asset Pricing I. The Consumption - Portfolio Choice Problem We have studied the portfolio choice problem of an individual
More informationEconomics 413: Economic Forecast and Analysis Department of Economics, Finance and Legal Studies University of Alabama
Problem Set #1 (Linear Regression) 1. The file entitled MONEYDEM.XLS contains quarterly values of seasonally adjusted U.S.3-month ( 3 ) and 1-year ( 1 ) treasury bill rates. Each series is measured over
More informationARIMA ANALYSIS WITH INTERVENTIONS / OUTLIERS
TASK Run intervention analysis on the price of stock M: model a function of the price as ARIMA with outliers and interventions. SOLUTION The document below is an abridged version of the solution provided
More information18.440: Lecture 32 Strong law of large numbers and Jensen s inequality
18.440: Lecture 32 Strong law of large numbers and Jensen s inequality Scott Sheffield MIT 1 Outline A story about Pedro Strong law of large numbers Jensen s inequality 2 Outline A story about Pedro Strong
More informationRisk Reduction Potential
Risk Reduction Potential Research Paper 006 February, 015 015 Northstar Risk Corp. All rights reserved. info@northstarrisk.com Risk Reduction Potential In this paper we introduce the concept of risk reduction
More informationMarket Risk: FROM VALUE AT RISK TO STRESS TESTING. Agenda. Agenda (Cont.) Traditional Measures of Market Risk
Market Risk: FROM VALUE AT RISK TO STRESS TESTING Agenda The Notional Amount Approach Price Sensitivity Measure for Derivatives Weakness of the Greek Measure Define Value at Risk 1 Day to VaR to 10 Day
More informationThe Fallacy of Large Numbers and A Defense of Diversified Active Managers
The Fallacy of Large umbers and A Defense of Diversified Active Managers Philip H. Dybvig Washington University in Saint Louis First Draft: March 0, 2003 This Draft: March 27, 2003 ABSTRACT Traditional
More informationBusiness Calculus Chapter Zero
Business Calculus Chapter Zero Are you a little rusty since coming back from your semi-long math break? Even worst have you forgotten all you learned from your previous Algebra course? If so, you are so
More informationModel Construction & Forecast Based Portfolio Allocation:
QBUS6830 Financial Time Series and Forecasting Model Construction & Forecast Based Portfolio Allocation: Is Quantitative Method Worth It? Members: Bowei Li (303083) Wenjian Xu (308077237) Xiaoyun Lu (3295347)
More informationStock Price Co-Movement and the Foundations of Pairs. Trading
Stock Price Co-Movement and the Foundations of Pairs Trading Adam Farago and Erik Hjalmarsson Both authors are at the Department of Economics and the Centre for Finance, University of Gothenburg. Contact
More informationCEO Attributes, Compensation, and Firm Value: Evidence from a Structural Estimation. Internet Appendix
CEO Attributes, Compensation, and Firm Value: Evidence from a Structural Estimation Internet Appendix A. Participation constraint In evaluating when the participation constraint binds, we consider three
More informationFinite Memory and Imperfect Monitoring
Federal Reserve Bank of Minneapolis Research Department Finite Memory and Imperfect Monitoring Harold L. Cole and Narayana Kocherlakota Working Paper 604 September 2000 Cole: U.C.L.A. and Federal Reserve
More informationLONG MEMORY IN VOLATILITY
LONG MEMORY IN VOLATILITY How persistent is volatility? In other words, how quickly do financial markets forget large volatility shocks? Figure 1.1, Shephard (attached) shows that daily squared returns
More informationSTAT758. Final Project. Time series analysis of daily exchange rate between the British Pound and the. US dollar (GBP/USD)
STAT758 Final Project Time series analysis of daily exchange rate between the British Pound and the US dollar (GBP/USD) Theophilus Djanie and Harry Dick Thompson UNR May 14, 2012 INTRODUCTION Time Series
More informationTHE UNIVERSITY OF CHICAGO Graduate School of Business Business 41202, Spring Quarter 2003, Mr. Ruey S. Tsay
THE UNIVERSITY OF CHICAGO Graduate School of Business Business 41202, Spring Quarter 2003, Mr. Ruey S. Tsay Homework Assignment #2 Solution April 25, 2003 Each HW problem is 10 points throughout this quarter.
More informationHighly Persistent Finite-State Markov Chains with Non-Zero Skewness and Excess Kurtosis
Highly Persistent Finite-State Markov Chains with Non-Zero Skewness Excess Kurtosis Damba Lkhagvasuren Concordia University CIREQ February 1, 2018 Abstract Finite-state Markov chain approximation methods
More informationChapter 3 - Lecture 4 Moments and Moment Generating Funct
Chapter 3 - Lecture 4 and s October 7th, 2009 Chapter 3 - Lecture 4 and Moment Generating Funct Central Skewness Chapter 3 - Lecture 4 and Moment Generating Funct Central Skewness The expected value of
More informationAmath 546/Econ 589 Univariate GARCH Models: Advanced Topics
Amath 546/Econ 589 Univariate GARCH Models: Advanced Topics Eric Zivot April 29, 2013 Lecture Outline The Leverage Effect Asymmetric GARCH Models Forecasts from Asymmetric GARCH Models GARCH Models with
More information1 Volatility Definition and Estimation
1 Volatility Definition and Estimation 1.1 WHAT IS VOLATILITY? It is useful to start with an explanation of what volatility is, at least for the purpose of clarifying the scope of this book. Volatility
More informationThe University of Chicago, Booth School of Business Business 41202, Spring Quarter 2012, Mr. Ruey S. Tsay. Solutions to Final Exam
The University of Chicago, Booth School of Business Business 41202, Spring Quarter 2012, Mr. Ruey S. Tsay Solutions to Final Exam Problem A: (40 points) Answer briefly the following questions. 1. Consider
More informationMartingales, Part II, with Exercise Due 9/21
Econ. 487a Fall 1998 C.Sims Martingales, Part II, with Exercise Due 9/21 1. Brownian Motion A process {X t } is a Brownian Motion if and only if i. it is a martingale, ii. t is a continuous time parameter
More information