Stationary models. MA, AR and ARMA. Matthieu Stigler. November 14, Version 1.1

Size: px
Start display at page:

Download "Stationary models. MA, AR and ARMA. Matthieu Stigler. November 14, Version 1.1"

Transcription

1 Stationary models MA, AR and ARMA Matthieu Stigler November 14, 2008 Version 1.1 This document is released under the Creative Commons Attribution-Noncommercial 2.5 India license. Matthieu Stigler () Stationary models November 14, / 65

2 Lectures list 1 Stationarity 2 ARMA models for stationary variables 3 Seasonality 4 Non-stationarity 5 Non-linearities 6 Multivariate models 7 Structural VAR models 8 Cointegration the Engle and Granger approach 9 Cointegration 2: The Johansen Methodology 10 Multivariate Nonlinearities in VAR models 11 Multivariate Nonlinearities in VECM models Matthieu Stigler () Stationary models November 14, / 65

3 Outline 1 Last Lecture 2 AR(p) models Autocorrelation of AR(1) Stationarity Conditions Estimation 3 MA models ARMA(p,q) The Box-Jenkins approach 4 Forecasting Matthieu Stigler () Stationary models November 14, / 65

4 Recall: auto-covariance Definition (autocovariance) Cov(X t, X t k ) γ k (t) E [(X t µ)(x t k µ)] Definition (Autocorrelation) Corr(X t, X t k ) ρ k (t) Cov(Xt,X t k) Var(X t) Proposition Corr(X t, X t 0 ) = Var(X t ) Corr(X t, X t j ) = φ j depend on the lage: plot its values at each lag. Matthieu Stigler () Stationary models November 14, / 65

5 Recall: stationarity The stationarity is an essential property to define a time series process: Definition A process is said to be covariance-stationary, or weakly stationary, if its first and second moments are time invariant. E(Y t ) = E[Y t 1 ] = µ Var(Y t ) = γ 0 < Cov(Y t, Y t k ) = γ k t t t, k Matthieu Stigler () Stationary models November 14, / 65

6 Recall: The AR(1) The AR(1): Y t = c + ϕy t 1 + ε t ε t iid(0, σ 2 ) with ϕ < 1, it can be can be written as: Y t = c t 1 1 ϕ + ϕ i ε t i i=0 Its moments do not depend on the time: : E(X t ) = Var(X t ) = c 1 ϕ σ2 1 ϕ 2 Cov(X t, X t j ) = Corr(X t, X t j ) = φ j ϕj σ 2 1 ϕ 2 Matthieu Stigler () Stationary models November 14, / 65

7 Outline 1 Last Lecture 2 AR(p) models Autocorrelation of AR(1) Stationarity Conditions Estimation 3 MA models ARMA(p,q) The Box-Jenkins approach 4 Forecasting Matthieu Stigler () Stationary models November 14, / 65

8 Outline 1 Last Lecture 2 AR(p) models Autocorrelation of AR(1) Stationarity Conditions Estimation 3 MA models ARMA(p,q) The Box-Jenkins approach 4 Forecasting Matthieu Stigler () Stationary models November 14, / 65

9 Autocorrelation function A usefull plot to understand the dynamic of a process is the autocorrelation function: Plot the autocorrelation value for different lags. Matthieu Stigler () Stationary models November 14, / 65

10 φ = 0 φ = 0.5 ρ k ρ k Lag k Lag k φ = 0.9 φ = 1 ρ k ρ k Lag k Lag k Matthieu Stigler () Stationary models November 14, / 65

11 AR(1) with 1 < φ < 0 in the AR(1): Y t = c + ϕy t 1 + ε t ε t iid(0, σ 2 ) with 1 < φ < 0 we have negative autocorrelation. Matthieu Stigler () Stationary models November 14, / 65

12 phi= 0.2 phi= 0.7 ar ar Time Time φ = 0.2 φ = 0.7 ρ k ρ k Lag k Lag k Matthieu Stigler () Stationary models November 14, / 65

13 Definition (AR(p)) y t = c + φ 1 y t 1 + φ 2 y t φ p y t p + ε t Expectation? Variance? Auto-covariance? Stationary conditions? Matthieu Stigler () Stationary models November 14, / 65

14 Lag operator Definition (Backshift /Lag operator) LX t = X t 1 Proposition See that: L 2 X t = X t 2 Proposition (Generalisation) L k X t = X t k Matthieu Stigler () Stationary models November 14, / 65

15 Lag polynomial We can thus rewrite: Example (AR(2)) X t = c + ϕ 1 X t 1 + ϕ 2 X t 2 + ε t (1 ϕ 1 L ϕ 2 L 2 )X t = c + ε t Definition (lag polynomial) We call lag polynomial: Φ(L) = (1 ϕ 1 L ϕ 2 L 2... φ p L p ) So we write compactly: Example (AR(2)) Φ(L)X t = c + ε t Matthieu Stigler () Stationary models November 14, / 65

16 Outline 1 Last Lecture 2 AR(p) models Autocorrelation of AR(1) Stationarity Conditions Estimation 3 MA models ARMA(p,q) The Box-Jenkins approach 4 Forecasting Matthieu Stigler () Stationary models November 14, / 65

17 Definition (Characteristic polynomial) (1 ϕ 1 z ϕ 2 z 2... φ p z p ) Stability condition: Proposition The AR(p) process is stable if the roots of the lag polynomial lie outside the unit circle. Example (AR(1)) The AR(1): X t = ϕx t 1 + ε t can be written as: (1 ϕl)x t = ε t Solving it gives: 1 ϕx = 0 x = 1 ϕ And finally: 1 ϕ > 1 ϕ < 1 Matthieu Stigler () Stationary models November 14, / 65

18 Proof. 1 Write an AR(p) as AR(1) 2 Show conditions for the augmented AR(1) 3 Transpose the result to the AR(p) Matthieu Stigler () Stationary models November 14, / 65

19 Proof. The AR(p): y t = φ 1 y t 1 + φ 2 y t φ p y t p + ε t can be recast as the AR(1) model: ξ t = F ξ t 1 + ε t y t y t 1 y t 2. y t p+1 y t y t 1... φ 1 φ 2 φ 3... φ p 1 φ p = y t p+1 y t 1 y t 2 y t 3. y t p ε t = c + φ 1 y t 1 + φ 2 y t φ p y t p + ε t = y t 1 = y t p+1 Matthieu Stigler () Stationary models November 14, / 65

20 Proof. Starting from the augmented AR(1) notation: ξ t = F ξ t 1 + ε t Similarly as in the simple case, we can write the AR model recursively: ξ t = F t ξ 0 + ε t + F ε t 1 + F 2 ε t F t 1 ε 1 + F t ε 0 Remember the eigenvalue decomposition: F = T ΛT 1 and the propriety that: F j = T Λ j T 1 with λ j Λ j 0 λ j = λ j 3 So the AR(1) model is stable if λ i < 1 i Matthieu Stigler () Stationary models November 14, / 65

21 Proof. So the condition on F is that all λ from F λi = 0 are < 1. One can show that the eigenvalues of F are: Proposition λ p φ 1 λ p 1 φ 2 λ p 2... φ p 1 λ φ p = 0 But the λ are the reciprocal of the values z that solve the characteristic polynomial of the AR(p): (1 ϕ 1 z ϕ 2 z 2... φ p z p ) = 0 So the roots of the polynomial should be > 1, or, with complex values, outside the unit circle. Matthieu Stigler () Stationary models November 14, / 65

22 Stationarity conditions The conditions of roots outside the unit circle lead to: AR(1): φ < 1 AR(2): φ1 + φ 2 < 1 φ1 φ 2 < 1 φ 2 < 1 Matthieu Stigler () Stationary models November 14, / 65

23 Example Consider the AR(2) model: Its AR(1) representation is: [ ] yt = Y t = 0.8Y t Y t 2 + ε t y t 1 [ Hence its eigenvalues are taken from: 0.8 λ λ = λ2 0.8λ 0.09 = 0 And the eigenvalues are smaller than one: > Re(polyroot(c(-0.09, -0.8, 1))) [1] ] [ ] yt 1 + y t 2 [ ] εt 0 Matthieu Stigler () Stationary models November 14, / 65

24 Example Y t = 0.8Y t Y t 2 + ε t Its lag polynomial representation is: (1 0.8L 0.09L 2 )X t = ε t Its characteristic polynomial is hence: (1 0.8x 0.09x 2 ) = 0 whose solutions lie outside the unit circle: > Re(polyroot(c(1, -0.8, -0.09))) [1] And it is the inverse of the previous solutions: > all.equal(sort(1/re(polyroot(c(1, -0.8, -0.09)))), Re(polyroot(c(-0.09, , 1)))) [1] TRUE Matthieu Stigler () Stationary models November 14, / 65

25 Unit root and integration order Definition A process is said to be integrated of order d if it becomes stationary after being differenced d times. Proposition An AR(p) process with k unit roots (or eigenvalues) is integrated of order k. Example Take the random walk: X t = X t 1 + ε t Its polynomial is (1-L), and the roots is 1 x = 0 x = 1 The eigenvalue of the trivial AR(1) is 1 λ = 0 λ = 1 So the random walk is integrated of order 1 (or difference stationary). Matthieu Stigler () Stationary models November 14, / 65

26 Integrated process Take an AR(p): With the lag polynomial: y t = φ 1 y t 1 + φ 2 y t φ p y t p + ε t Φ(L)X t = ε t If one of its p (not necessarily distinct) eigenvalues is equal to 1, it can be rewritten: (1 L)Φ (L)X t = ε t Equivalently: Φ (L) X t = ε t Matthieu Stigler () Stationary models November 14, / 65

27 The AR(p) in detail Moments of a stationary AR(p) E(X t ) = c 1 ϕ 1 ϕ 2... ϕ p Var(X t ) = ϕ 1 γ 1 + ϕ 2 γ ϕ p γ p + σ 2 Cov(X t, X t j ) = ϕ 1 γ j 1 + ϕ 2 γ j ϕ p γ j p Note that γ j Cov(X t, X t j ) so we can rewrite both last equations as: { γ 0 = ϕ 1 γ 1 + ϕ 2 γ ϕ p γ p + σ 2 γ j = ϕ 1 γ j 1 + ϕ 2 γ j ϕ p γ j p They are known under the name of Yule-Walker equations. Matthieu Stigler () Stationary models November 14, / 65

28 Yule-Walker equations Dividing by γ 0 gives: { ρ 0 = ϕ 1 ρ 1 + ϕ 2 ρ ϕ p ρ p + σ 2 ρ j = ϕ 1 ρ j 1 + ϕ 2 ρ j ϕ p ρ j p Example (AR(1)) We saw that: Var(X t ) = σ2 1 ϕ 2 Cov(X t, X t j ) = Corr(X t, X t j ) = φ j ϕj σ 2 1 ϕ 2 And we have effectively: ρ 1 = φρ 0 = φ and ρ 2 = φρ 1 = φ 2 Utility: Determination of autocorrelation function Estimation Matthieu Stigler () Stationary models November 14, / 65

29 Outline 1 Last Lecture 2 AR(p) models Autocorrelation of AR(1) Stationarity Conditions Estimation 3 MA models ARMA(p,q) The Box-Jenkins approach 4 Forecasting Matthieu Stigler () Stationary models November 14, / 65

30 To estimate a AR(p) model from a sample of T we take t=t-p Methods of moments: estimate sample moments (the γ i ), and find parameters (the φ) correspondly Unconditional ML: assume y p,..., y 1 N (0, σ 2 ). Need numerical optimisation methods. Conditional Maximum likelihood (=OLS): estimate f (y T, t T 1,..., y p+1 y p,..., y 1 ; θ) and assume ε t N (0, σ 2 ) and that y p,..., y 1 are given What if errors are not normally distributed? Quasi-maximum likelihood estimator, is still consistent (in this case) but standard erros need to be corrected. Matthieu Stigler () Stationary models November 14, / 65

31 Outline 1 Last Lecture 2 AR(p) models Autocorrelation of AR(1) Stationarity Conditions Estimation 3 MA models ARMA(p,q) The Box-Jenkins approach 4 Forecasting Matthieu Stigler () Stationary models November 14, / 65

32 Moving average models Two significations! regression model Smoothing technique! Matthieu Stigler () Stationary models November 14, / 65

33 MA(1) Definition (MA(1)) Y t = c + ε t + θɛ t 1 E(Y t ) = c Var(Y t ) = (1 + θ 2 )σ 2 { θσ 2 if j = 1 Cov(X t, X t j ) = 0 if j > 1 { θ if j = 1 (1+θ Corr(X t, X t j ) = 2 ) 0 if j > 1 Proposition A MA(1) is stationnary for every θ Matthieu Stigler () Stationary models November 14, / 65

34 θ = 0.5 θ = Time Time θ = 0.5 θ = Time Time Matthieu Stigler () Stationary models November 14, / 65

35 θ = 0.5 θ = 3 ρ k ρ k Lag k Lag k θ = 0.5 θ = 3 ρ k ρ k Lag k Lag k Matthieu Stigler () Stationary models November 14, / 65

36 MA(q) The MA(q) is given by: Y t = c + ε t + θ 1 ɛ t 1 + θ 2 ɛ t θ 1 ɛ t q E(Y t ) = c Var(Y t ) = (1 + θ θ θ2 q)σ 2 Cov(X t, X t j ) = { σ 2 (θ j + θ j+1 θ 1 + θ j+2 θ θ q θ q 1 ) if j = 1 0 if j > 1 { θ if j = 1 (1+θ Corr(X t, X t j ) = 2 ) 0 if j > 1 Proposition A MA(q) is stationary for every sequence {θ 1, θ 2,..., θ q } Matthieu Stigler () Stationary models November 14, / 65

37 Θ = c(0.5, 1.5) Θ = c( 0.5, 1.5) ρ k ρ k Lag k Lag k Θ = c( 0.6, 0.3, 0.5, 0.5) Θ = c( 0.6, 0.3, 0.5, 0.5, 3, 2, 1) ρ k ρ k Lag k Lag k Matthieu Stigler () Stationary models November 14, / 65

38 The MA( ) Take now the MA( ): Y t = ε t + θ 1 ɛ t 1 + θ 2 ɛ t θ ɛ = θ j ε t j j=0 Definition (Absolute summability) A sequence is absolute summable if i=0 α i < 0 Proposition The MA( ) is stationary if the coefficients are absolute summable. Matthieu Stigler () Stationary models November 14, / 65

39 Back to AR(p) Recall: Proposition If the characteristic polynomial of a AR(p) has roots =1, it is not stationary. See that: (1 φ 1 y t 1 φ 2 y t 2... φ p y t p )y t = (1 α 1 L)(1 α 2 L)... (1 α p L)y t = ε t It has a MA( ) representation if: α 1 1: 1 y t = (1 α 1 L)(1 α 2 L)...(1 α ε pl) t Furthermore, if the α i (the eigenvalues of the augmented AR(1)) are smaller than 1, we can write it: y t = β i ε t i=0 Matthieu Stigler () Stationary models November 14, / 65

40 Estimation of a MA(1) We do not observe neither ε t nor ε t 1 But if we know ε 0, we know ε 1 = Y t θε 0 So obtain them recursively and minimize the conditional SSR: S(θ) = T t=1 (y t ε t 1 ) 2 This recquires numerical optimization and works only if θ < 1. Matthieu Stigler () Stationary models November 14, / 65

41 Outline 1 Last Lecture 2 AR(p) models Autocorrelation of AR(1) Stationarity Conditions Estimation 3 MA models ARMA(p,q) The Box-Jenkins approach 4 Forecasting Matthieu Stigler () Stationary models November 14, / 65

42 ARMA models The ARMA model is a composite of AR and MA: Definition (ARMA(p,q)) X t = c+φ 1 X t 1 +φ 2 X t φ p X t p +ε t 1 +θ 1 ε t 1 +θ 2 ε t θε t q It can be rewritten properly as: Theorem Φ(L)Y t = c + Θ(L)ε t The ARMA(p,q) model is stationary provided the roots of the Φ(L) polynomial lie outside the unit circle. So only the AR part is involved! Matthieu Stigler () Stationary models November 14, / 65

43 Autocorrelation function of a ARMA(p,q) Proposition After q lags, the autocorrelation function follows the pattern of the AR component. Remember: this is then given by the Yule-Walker equations. Matthieu Stigler () Stationary models November 14, / 65

44 phi(1)=0.5, theta(1)=0.5 phi(1)= 0.5, theta(1)=0.5 ρ k ρ k Lag k Lag k phi(1)=0.5, theta(1:3)=c(0.5,0.9, 0.3 phi(1)= 0.5, theta(1:3)=c(0.5,0.9, 0.3 ρ k ρ k Lag k Lag k Matthieu Stigler () Stationary models November 14, / 65

45 ARIMA(p,d,q) Now we add a parameter d representing the order of integration (so the I in ARIMA) Definition (ARIMA(p,d,q)) ARIMA(p,d,q): Φ(L) d Y t = Θ(L)ε t Example (Special cases) White noise: ARIMA(0,0,0) X t = ε t Random walk : ARIMA(0,1,0): X t = ε t X t = X t 1 + ε t Matthieu Stigler () Stationary models November 14, / 65

46 Estimation and inference The MLE estimator has to be found numerically. Provided the errors are normaly distributed, the estimator has the usual asymptotical properties: Consistent Asymptotically efficients Normally distributed If we take into account that the variance had to be estimated, one can rather use the T distribution in small samples. Matthieu Stigler () Stationary models November 14, / 65

47 Outline 1 Last Lecture 2 AR(p) models Autocorrelation of AR(1) Stationarity Conditions Estimation 3 MA models ARMA(p,q) The Box-Jenkins approach 4 Forecasting Matthieu Stigler () Stationary models November 14, / 65

48 The Box-Jenkins approach 1 Transform data to achieve stationarity 2 Identify the model, i.e. the parameters of ARMA(p,d,q) 3 Estimation 4 Diagnostic analysis: test residuals Matthieu Stigler () Stationary models November 14, / 65

49 Step 1 Transformations: Log Square root Differenciation Box-Cox transformation: Y (λ) t Is log legitimate? { Y λ t 1 λ for λ 0 log(y t) for λ = 0 Process is: y t e δt Then z t = log(y t ) = δt and remove trend Process is y t = y t 1 + ε t Then (by log(1 + x) = x) log(y t ) = yt y t 1 y t Matthieu Stigler () Stationary models November 14, / 65

50 Step 2 Identification of p,q (d should now be 0 after convenient transformation) Principle of parsimony: prefer small models Recall that incoporating variables increases fit (R 2 ) but reduces the degrees of freedom and hence precision of estimation and tests. A AR(1) has a MA( ) representation If the MA(q) and AR(p) polynomials have a common root, the ARMA(p,q) is similar to ARMA(p-1,q-1). Usual techniques recquire that the MA polynomial has roots outside the unit circle (i.e. is invertible) Matthieu Stigler () Stationary models November 14, / 65

51 Step 2: identification How can we determine the parameters p,q? Look at ACF and PACF with confidence interval Use information criteria Akaike Criterion (AIC) Schwarz criterion (BIC) Definition (IC) AIC(p) = n log ˆσ 2 + 2p BIC(p) = n log ˆσ 2 + p log n Matthieu Stigler () Stationary models November 14, / 65

52 Step 3: estimation Estimate the model... R function: arima() argument: order=c(p,d,q) Matthieu Stigler () Stationary models November 14, / 65

53 Step 4: diagnostic checks Test if the residuals are white noise: 1 Autocorrelation 2 Heteroscedasticity 3 Normality Matthieu Stigler () Stationary models November 14, / 65

54 CPI CPI Time Matthieu Stigler () Stationary models November 14, / 65

55 original diff(cpi) CPI diff(cpi) Time Time log(cpi) diff(log(cpi)) log(cpi) diff(log(cpi)) Time Time Matthieu Stigler () Stationary models November 14, / 65

56 linear trend CPI detrend Time Time Smooth trend CPI CPI smo$y Time Time Quadratic trend CPI detrend Time Time Matthieu Stigler () Stationary models November 14, / 65

57 Diff2 diff Time Diff2 of log diff2log Time Matthieu Stigler () Stationary models November 14, / 65

58 Series CPI2 CPI Time Series CPI2 ACF Partial ACF Lag Lag Matthieu Stigler () Stationary models November 14, / 65

59 > library(forecast) This is forecast 1.17 > fit <- auto.arima(cpi2, start.p = 1, start.q = 1) > fit Series: CPI2 ARIMA(2,0,1)(2,0,2)[12] with zero mean Coefficients: ar1 ar2 ma1 sar1 sar2 sma1 sma s.e sigma^2 estimated as 4.031e-05: log likelihood = AIC = AICc = BIC = > res <- residuals(fit) Matthieu Stigler () Stationary models November 14, / 65

60 Series res res Partial ACF Time Lag Series res ACF Lag Matthieu Stigler () Stationary models November 14, / 65

61 > Box.test(res) Box-Pierce test data: res X-squared = , df = 1, p-value = Matthieu Stigler () Stationary models November 14, / 65

62 Normal Q Q Plot Theoretical Quantiles Sample Quantiles density.default(x = res) N = 315 Bandwidth = Density Matthieu Stigler () Stationary models November 14, / 65

63 Outline 1 Last Lecture 2 AR(p) models Autocorrelation of AR(1) Stationarity Conditions Estimation 3 MA models ARMA(p,q) The Box-Jenkins approach 4 Forecasting Matthieu Stigler () Stationary models November 14, / 65

64 Notation (Forecast) ŷ t+j E t (y t+j ) = E(y t+j y t, y t 1,..., ε t, ε t 1,...) is the conditional expectation of y t+j given the information available at t. Definition (J-step-ahead forecast error) e t (j) y t+j ŷ t+j Definition (Mean square prediction error) MSPE 1 H H i=1 e2 i Matthieu Stigler () Stationary models November 14, / 65

65 R implementation To run this file you will need: R Package forecast R Package TSA Data file AjaySeries2.csv put it in a folder called Datasets in the same level than your.rnw file (Optional) File Sweave.sty which change output style: result is in blue, R commands are smaller. Also in same folder as.rnw file. Matthieu Stigler () Stationary models November 14, / 65

Sales forecasting # 2

Sales forecasting # 2 Sales forecasting # 2 Arthur Charpentier arthur.charpentier@univ-rennes1.fr 1 Agenda Qualitative and quantitative methods, a very general introduction Series decomposition Short versus long term forecasting

More information

Time Series Analysis 1. Lecture 8: Time Series Analysis. Time Series Analysis MIT 18.S096. Dr. Kempthorne. Fall 2013 MIT 18.S096

Time Series Analysis 1. Lecture 8: Time Series Analysis. Time Series Analysis MIT 18.S096. Dr. Kempthorne. Fall 2013 MIT 18.S096 Lecture 8: Time Series Analysis MIT 18.S096 Dr. Kempthorne Fall 2013 MIT 18.S096 Time Series Analysis 1 Outline Time Series Analysis 1 Time Series Analysis MIT 18.S096 Time Series Analysis 2 A stochastic

More information

ITSM-R Reference Manual

ITSM-R Reference Manual ITSM-R Reference Manual George Weigt June 5, 2015 1 Contents 1 Introduction 3 1.1 Time series analysis in a nutshell............................... 3 1.2 White Noise Variance.....................................

More information

Univariate Time Series Analysis; ARIMA Models

Univariate Time Series Analysis; ARIMA Models Econometrics 2 Spring 25 Univariate Time Series Analysis; ARIMA Models Heino Bohn Nielsen of4 Outline of the Lecture () Introduction to univariate time series analysis. (2) Stationarity. (3) Characterizing

More information

TIME SERIES ANALYSIS

TIME SERIES ANALYSIS TIME SERIES ANALYSIS L.M. BHAR AND V.K.SHARMA Indian Agricultural Statistics Research Institute Library Avenue, New Delhi-0 02 lmb@iasri.res.in. Introduction Time series (TS) data refers to observations

More information

3.1 Stationary Processes and Mean Reversion

3.1 Stationary Processes and Mean Reversion 3. Univariate Time Series Models 3.1 Stationary Processes and Mean Reversion Definition 3.1: A time series y t, t = 1,..., T is called (covariance) stationary if (1) E[y t ] = µ, for all t Cov[y t, y t

More information

Univariate Time Series Analysis; ARIMA Models

Univariate Time Series Analysis; ARIMA Models Econometrics 2 Fall 25 Univariate Time Series Analysis; ARIMA Models Heino Bohn Nielsen of4 Univariate Time Series Analysis We consider a single time series, y,y 2,..., y T. We want to construct simple

More information

Lecture 2: ARMA(p,q) models (part 3)

Lecture 2: ARMA(p,q) models (part 3) Lecture 2: ARMA(p,q) models (part 3) Florian Pelgrin University of Lausanne, École des HEC Department of mathematics (IMEA-Nice) Sept. 2011 - Jan. 2012 Florian Pelgrin (HEC) Univariate time series Sept.

More information

Some useful concepts in univariate time series analysis

Some useful concepts in univariate time series analysis Some useful concepts in univariate time series analysis Autoregressive moving average models Autocorrelation functions Model Estimation Diagnostic measure Model selection Forecasting Assumptions: 1. Non-seasonal

More information

Time Series - ARIMA Models. Instructor: G. William Schwert

Time Series - ARIMA Models. Instructor: G. William Schwert APS 425 Fall 25 Time Series : ARIMA Models Instructor: G. William Schwert 585-275-247 schwert@schwert.ssb.rochester.edu Topics Typical time series plot Pattern recognition in auto and partial autocorrelations

More information

Time Series Analysis

Time Series Analysis Time Series Analysis hm@imm.dtu.dk Informatics and Mathematical Modelling Technical University of Denmark DK-2800 Kgs. Lyngby 1 Outline of the lecture Identification of univariate time series models, cont.:

More information

Luciano Rispoli Department of Economics, Mathematics and Statistics Birkbeck College (University of London)

Luciano Rispoli Department of Economics, Mathematics and Statistics Birkbeck College (University of London) Luciano Rispoli Department of Economics, Mathematics and Statistics Birkbeck College (University of London) 1 Forecasting: definition Forecasting is the process of making statements about events whose

More information

Analysis and Computation for Finance Time Series - An Introduction

Analysis and Computation for Finance Time Series - An Introduction ECMM703 Analysis and Computation for Finance Time Series - An Introduction Alejandra González Harrison 161 Email: mag208@exeter.ac.uk Time Series - An Introduction A time series is a sequence of observations

More information

Time Series in Mathematical Finance

Time Series in Mathematical Finance Instituto Superior Técnico (IST, Portugal) and CEMAT cnunes@math.ist.utl.pt European Summer School in Industrial Mathematics Universidad Carlos III de Madrid July 2013 Outline The objective of this short

More information

1 Short Introduction to Time Series

1 Short Introduction to Time Series ECONOMICS 7344, Spring 202 Bent E. Sørensen January 24, 202 Short Introduction to Time Series A time series is a collection of stochastic variables x,.., x t,.., x T indexed by an integer value t. The

More information

Univariate and Multivariate Methods PEARSON. Addison Wesley

Univariate and Multivariate Methods PEARSON. Addison Wesley Time Series Analysis Univariate and Multivariate Methods SECOND EDITION William W. S. Wei Department of Statistics The Fox School of Business and Management Temple University PEARSON Addison Wesley Boston

More information

TIME SERIES ANALYSIS

TIME SERIES ANALYSIS TIME SERIES ANALYSIS Ramasubramanian V. I.A.S.R.I., Library Avenue, New Delhi- 110 012 ram_stat@yahoo.co.in 1. Introduction A Time Series (TS) is a sequence of observations ordered in time. Mostly these

More information

Time Series Analysis

Time Series Analysis Time Series Analysis Forecasting with ARIMA models Andrés M. Alonso Carolina García-Martos Universidad Carlos III de Madrid Universidad Politécnica de Madrid June July, 2012 Alonso and García-Martos (UC3M-UPM)

More information

Rob J Hyndman. Forecasting using. 11. Dynamic regression OTexts.com/fpp/9/1/ Forecasting using R 1

Rob J Hyndman. Forecasting using. 11. Dynamic regression OTexts.com/fpp/9/1/ Forecasting using R 1 Rob J Hyndman Forecasting using 11. Dynamic regression OTexts.com/fpp/9/1/ Forecasting using R 1 Outline 1 Regression with ARIMA errors 2 Example: Japanese cars 3 Using Fourier terms for seasonality 4

More information

Time Series Analysis

Time Series Analysis Time Series Analysis Andrea Beccarini Center for Quantitative Economics Winter 2013/2014 Andrea Beccarini (CQE) Time Series Analysis Winter 2013/2014 1 / 143 Introduction Objectives Time series are ubiquitous

More information

Time Series Analysis

Time Series Analysis Time Series Analysis Autoregressive, MA and ARMA processes Andrés M. Alonso Carolina García-Martos Universidad Carlos III de Madrid Universidad Politécnica de Madrid June July, 212 Alonso and García-Martos

More information

Time Series Analysis III

Time Series Analysis III Lecture 12: Time Series Analysis III MIT 18.S096 Dr. Kempthorne Fall 2013 MIT 18.S096 Time Series Analysis III 1 Outline Time Series Analysis III 1 Time Series Analysis III MIT 18.S096 Time Series Analysis

More information

9th Russian Summer School in Information Retrieval Big Data Analytics with R

9th Russian Summer School in Information Retrieval Big Data Analytics with R 9th Russian Summer School in Information Retrieval Big Data Analytics with R Introduction to Time Series with R A. Karakitsiou A. Migdalas Industrial Logistics, ETS Institute Luleå University of Technology

More information

Time Series Analysis

Time Series Analysis Time Series 1 April 9, 2013 Time Series Analysis This chapter presents an introduction to the branch of statistics known as time series analysis. Often the data we collect in environmental studies is collected

More information

How To Model A Series With Sas

How To Model A Series With Sas Chapter 7 Chapter Table of Contents OVERVIEW...193 GETTING STARTED...194 TheThreeStagesofARIMAModeling...194 IdentificationStage...194 Estimation and Diagnostic Checking Stage...... 200 Forecasting Stage...205

More information

Time Series Analysis

Time Series Analysis Time Series Analysis Identifying possible ARIMA models Andrés M. Alonso Carolina García-Martos Universidad Carlos III de Madrid Universidad Politécnica de Madrid June July, 2012 Alonso and García-Martos

More information

Performing Unit Root Tests in EViews. Unit Root Testing

Performing Unit Root Tests in EViews. Unit Root Testing Página 1 de 12 Unit Root Testing The theory behind ARMA estimation is based on stationary time series. A series is said to be (weakly or covariance) stationary if the mean and autocovariances of the series

More information

Time Series Analysis in Economics. Klaus Neusser

Time Series Analysis in Economics. Klaus Neusser Time Series Analysis in Economics Klaus Neusser May 26, 2015 Contents I Univariate Time Series Analysis 3 1 Introduction 1 1.1 Some examples.......................... 2 1.2 Formal definitions.........................

More information

Using JMP Version 4 for Time Series Analysis Bill Gjertsen, SAS, Cary, NC

Using JMP Version 4 for Time Series Analysis Bill Gjertsen, SAS, Cary, NC Using JMP Version 4 for Time Series Analysis Bill Gjertsen, SAS, Cary, NC Abstract Three examples of time series will be illustrated. One is the classical airline passenger demand data with definite seasonal

More information

Introduction to Time Series Analysis. Lecture 1.

Introduction to Time Series Analysis. Lecture 1. Introduction to Time Series Analysis. Lecture 1. Peter Bartlett 1. Organizational issues. 2. Objectives of time series analysis. Examples. 3. Overview of the course. 4. Time series models. 5. Time series

More information

COMP6053 lecture: Time series analysis, autocorrelation. jn2@ecs.soton.ac.uk

COMP6053 lecture: Time series analysis, autocorrelation. jn2@ecs.soton.ac.uk COMP6053 lecture: Time series analysis, autocorrelation jn2@ecs.soton.ac.uk Time series analysis The basic idea of time series analysis is simple: given an observed sequence, how can we build a model that

More information

Discrete Time Series Analysis with ARMA Models

Discrete Time Series Analysis with ARMA Models Discrete Time Series Analysis with ARMA Models Veronica Sitsofe Ahiati (veronica@aims.ac.za) African Institute for Mathematical Sciences (AIMS) Supervised by Tina Marquardt Munich University of Technology,

More information

Advanced Forecasting Techniques and Models: ARIMA

Advanced Forecasting Techniques and Models: ARIMA Advanced Forecasting Techniques and Models: ARIMA Short Examples Series using Risk Simulator For more information please visit: www.realoptionsvaluation.com or contact us at: admin@realoptionsvaluation.com

More information

Introduction to Time Series Analysis. Lecture 6.

Introduction to Time Series Analysis. Lecture 6. Introduction to Time Series Analysis. Lecture 6. Peter Bartlett www.stat.berkeley.edu/ bartlett/courses/153-fall2010 Last lecture: 1. Causality 2. Invertibility 3. AR(p) models 4. ARMA(p,q) models 1 Introduction

More information

Forecasting of Paddy Production in Sri Lanka: A Time Series Analysis using ARIMA Model

Forecasting of Paddy Production in Sri Lanka: A Time Series Analysis using ARIMA Model Tropical Agricultural Research Vol. 24 (): 2-3 (22) Forecasting of Paddy Production in Sri Lanka: A Time Series Analysis using ARIMA Model V. Sivapathasundaram * and C. Bogahawatte Postgraduate Institute

More information

Vector Time Series Model Representations and Analysis with XploRe

Vector Time Series Model Representations and Analysis with XploRe 0-1 Vector Time Series Model Representations and Analysis with plore Julius Mungo CASE - Center for Applied Statistics and Economics Humboldt-Universität zu Berlin mungo@wiwi.hu-berlin.de plore MulTi Motivation

More information

Estimating an ARMA Process

Estimating an ARMA Process Statistics 910, #12 1 Overview Estimating an ARMA Process 1. Main ideas 2. Fitting autoregressions 3. Fitting with moving average components 4. Standard errors 5. Examples 6. Appendix: Simple estimators

More information

Graphical Tools for Exploring and Analyzing Data From ARIMA Time Series Models

Graphical Tools for Exploring and Analyzing Data From ARIMA Time Series Models Graphical Tools for Exploring and Analyzing Data From ARIMA Time Series Models William Q. Meeker Department of Statistics Iowa State University Ames, IA 50011 January 13, 2001 Abstract S-plus is a highly

More information

Chapter 5. Analysis of Multiple Time Series. 5.1 Vector Autoregressions

Chapter 5. Analysis of Multiple Time Series. 5.1 Vector Autoregressions Chapter 5 Analysis of Multiple Time Series Note: The primary references for these notes are chapters 5 and 6 in Enders (2004). An alternative, but more technical treatment can be found in chapters 10-11

More information

State Space Time Series Analysis

State Space Time Series Analysis State Space Time Series Analysis p. 1 State Space Time Series Analysis Siem Jan Koopman http://staff.feweb.vu.nl/koopman Department of Econometrics VU University Amsterdam Tinbergen Institute 2011 State

More information

Chapter 6: Multivariate Cointegration Analysis

Chapter 6: Multivariate Cointegration Analysis Chapter 6: Multivariate Cointegration Analysis 1 Contents: Lehrstuhl für Department Empirische of Wirtschaftsforschung Empirical Research and und Econometrics Ökonometrie VI. Multivariate Cointegration

More information

Time Series Laboratory

Time Series Laboratory Time Series Laboratory Computing in Weber Classrooms 205-206: To log in, make sure that the DOMAIN NAME is set to MATHSTAT. Use the workshop username: primesw The password will be distributed during the

More information

Forecasting the US Dollar / Euro Exchange rate Using ARMA Models

Forecasting the US Dollar / Euro Exchange rate Using ARMA Models Forecasting the US Dollar / Euro Exchange rate Using ARMA Models LIUWEI (9906360) - 1 - ABSTRACT...3 1. INTRODUCTION...4 2. DATA ANALYSIS...5 2.1 Stationary estimation...5 2.2 Dickey-Fuller Test...6 3.

More information

Testing for Granger causality between stock prices and economic growth

Testing for Granger causality between stock prices and economic growth MPRA Munich Personal RePEc Archive Testing for Granger causality between stock prices and economic growth Pasquale Foresti 2006 Online at http://mpra.ub.uni-muenchen.de/2962/ MPRA Paper No. 2962, posted

More information

Analysis of algorithms of time series analysis for forecasting sales

Analysis of algorithms of time series analysis for forecasting sales SAINT-PETERSBURG STATE UNIVERSITY Mathematics & Mechanics Faculty Chair of Analytical Information Systems Garipov Emil Analysis of algorithms of time series analysis for forecasting sales Course Work Scientific

More information

Exam Solutions. X t = µ + βt + A t,

Exam Solutions. X t = µ + βt + A t, Exam Solutions Please put your answers on these pages. Write very carefully and legibly. HIT Shenzhen Graduate School James E. Gentle, 2015 1. 3 points. There was a transcription error on the registrar

More information

Lecture Notes on Univariate Time Series Analysis and Box Jenkins Forecasting John Frain Economic Analysis, Research and Publications April 1992 (reprinted with revisions) January 1999 Abstract These are

More information

Promotional Forecast Demonstration

Promotional Forecast Demonstration Exhibit 2: Promotional Forecast Demonstration Consider the problem of forecasting for a proposed promotion that will start in December 1997 and continues beyond the forecast horizon. Assume that the promotion

More information

Forecasting areas and production of rice in India using ARIMA model

Forecasting areas and production of rice in India using ARIMA model International Journal of Farm Sciences 4(1) :99-106, 2014 Forecasting areas and production of rice in India using ARIMA model K PRABAKARAN and C SIVAPRAGASAM* Agricultural College and Research Institute,

More information

Lecture 4: Seasonal Time Series, Trend Analysis & Component Model Bus 41910, Time Series Analysis, Mr. R. Tsay

Lecture 4: Seasonal Time Series, Trend Analysis & Component Model Bus 41910, Time Series Analysis, Mr. R. Tsay Lecture 4: Seasonal Time Series, Trend Analysis & Component Model Bus 41910, Time Series Analysis, Mr. R. Tsay Business cycle plays an important role in economics. In time series analysis, business cycle

More information

IBM SPSS Forecasting 22

IBM SPSS Forecasting 22 IBM SPSS Forecasting 22 Note Before using this information and the product it supports, read the information in Notices on page 33. Product Information This edition applies to version 22, release 0, modification

More information

Time Series Analysis

Time Series Analysis JUNE 2012 Time Series Analysis CONTENT A time series is a chronological sequence of observations on a particular variable. Usually the observations are taken at regular intervals (days, months, years),

More information

Studying Achievement

Studying Achievement Journal of Business and Economics, ISSN 2155-7950, USA November 2014, Volume 5, No. 11, pp. 2052-2056 DOI: 10.15341/jbe(2155-7950)/11.05.2014/009 Academic Star Publishing Company, 2014 http://www.academicstar.us

More information

Time Series Analysis and Forecasting

Time Series Analysis and Forecasting Time Series Analysis and Forecasting Math 667 Al Nosedal Department of Mathematics Indiana University of Pennsylvania Time Series Analysis and Forecasting p. 1/11 Introduction Many decision-making applications

More information

ARMA, GARCH and Related Option Pricing Method

ARMA, GARCH and Related Option Pricing Method ARMA, GARCH and Related Option Pricing Method Author: Yiyang Yang Advisor: Pr. Xiaolin Li, Pr. Zari Rachev Department of Applied Mathematics and Statistics State University of New York at Stony Brook September

More information

Traffic Safety Facts. Research Note. Time Series Analysis and Forecast of Crash Fatalities during Six Holiday Periods Cejun Liu* and Chou-Lin Chen

Traffic Safety Facts. Research Note. Time Series Analysis and Forecast of Crash Fatalities during Six Holiday Periods Cejun Liu* and Chou-Lin Chen Traffic Safety Facts Research Note March 2004 DOT HS 809 718 Time Series Analysis and Forecast of Crash Fatalities during Six Holiday Periods Cejun Liu* and Chou-Lin Chen Summary This research note uses

More information

MGT 267 PROJECT. Forecasting the United States Retail Sales of the Pharmacies and Drug Stores. Done by: Shunwei Wang & Mohammad Zainal

MGT 267 PROJECT. Forecasting the United States Retail Sales of the Pharmacies and Drug Stores. Done by: Shunwei Wang & Mohammad Zainal MGT 267 PROJECT Forecasting the United States Retail Sales of the Pharmacies and Drug Stores Done by: Shunwei Wang & Mohammad Zainal Dec. 2002 The retail sale (Million) ABSTRACT The present study aims

More information

AUTOMATION OF ENERGY DEMAND FORECASTING. Sanzad Siddique, B.S.

AUTOMATION OF ENERGY DEMAND FORECASTING. Sanzad Siddique, B.S. AUTOMATION OF ENERGY DEMAND FORECASTING by Sanzad Siddique, B.S. A Thesis submitted to the Faculty of the Graduate School, Marquette University, in Partial Fulfillment of the Requirements for the Degree

More information

The SAS Time Series Forecasting System

The SAS Time Series Forecasting System The SAS Time Series Forecasting System An Overview for Public Health Researchers Charles DiMaggio, PhD College of Physicians and Surgeons Departments of Anesthesiology and Epidemiology Columbia University

More information

Forecasting model of electricity demand in the Nordic countries. Tone Pedersen

Forecasting model of electricity demand in the Nordic countries. Tone Pedersen Forecasting model of electricity demand in the Nordic countries Tone Pedersen 3/19/2014 Abstract A model implemented in order to describe the electricity demand on hourly basis for the Nordic countries.

More information

USE OF ARIMA TIME SERIES AND REGRESSORS TO FORECAST THE SALE OF ELECTRICITY

USE OF ARIMA TIME SERIES AND REGRESSORS TO FORECAST THE SALE OF ELECTRICITY Paper PO10 USE OF ARIMA TIME SERIES AND REGRESSORS TO FORECAST THE SALE OF ELECTRICITY Beatrice Ugiliweneza, University of Louisville, Louisville, KY ABSTRACT Objectives: To forecast the sales made by

More information

Overview of Violations of the Basic Assumptions in the Classical Normal Linear Regression Model

Overview of Violations of the Basic Assumptions in the Classical Normal Linear Regression Model Overview of Violations of the Basic Assumptions in the Classical Normal Linear Regression Model 1 September 004 A. Introduction and assumptions The classical normal linear regression model can be written

More information

Forecasting Using Eviews 2.0: An Overview

Forecasting Using Eviews 2.0: An Overview Forecasting Using Eviews 2.0: An Overview Some Preliminaries In what follows it will be useful to distinguish between ex post and ex ante forecasting. In terms of time series modeling, both predict values

More information

Non-Stationary Time Series andunitroottests

Non-Stationary Time Series andunitroottests Econometrics 2 Fall 2005 Non-Stationary Time Series andunitroottests Heino Bohn Nielsen 1of25 Introduction Many economic time series are trending. Important to distinguish between two important cases:

More information

Time Series Analysis

Time Series Analysis Time Series Analysis Lecture Notes for 475.726 Ross Ihaka Statistics Department University of Auckland April 14, 2005 ii Contents 1 Introduction 1 1.1 Time Series.............................. 1 1.2 Stationarity

More information

Time Series HILARY TERM 2010 PROF. GESINE REINERT http://www.stats.ox.ac.uk/~reinert

Time Series HILARY TERM 2010 PROF. GESINE REINERT http://www.stats.ox.ac.uk/~reinert Time Series HILARY TERM 2010 PROF. GESINE REINERT http://www.stats.ox.ac.uk/~reinert Overview Chapter 1: What are time series? Types of data, examples, objectives. Definitions, stationarity and autocovariances.

More information

Modeling and forecasting regional GDP in Sweden. using autoregressive models

Modeling and forecasting regional GDP in Sweden. using autoregressive models MASTER THESIS IN MICRODATA ANALYSIS Modeling and forecasting regional GDP in Sweden using autoregressive models Author: Haonan Zhang Supervisor: Niklas Rudholm 2013 Business Intelligence Program School

More information

THE SVM APPROACH FOR BOX JENKINS MODELS

THE SVM APPROACH FOR BOX JENKINS MODELS REVSTAT Statistical Journal Volume 7, Number 1, April 2009, 23 36 THE SVM APPROACH FOR BOX JENKINS MODELS Authors: Saeid Amiri Dep. of Energy and Technology, Swedish Univ. of Agriculture Sciences, P.O.Box

More information

Prediction of Stock Price usingautoregressiveintegrated Moving AverageFilter Arima P,D,Q

Prediction of Stock Price usingautoregressiveintegrated Moving AverageFilter Arima P,D,Q Global Journal of Science Frontier Research Mathematics and Decision Sciences Volume 13 Issue 8 Version 1.0 Year Type : Double Blind Peer Reviewed International Research Journal Publisher: Global Journals

More information

Threshold Autoregressive Models in Finance: A Comparative Approach

Threshold Autoregressive Models in Finance: A Comparative Approach University of Wollongong Research Online Applied Statistics Education and Research Collaboration (ASEARC) - Conference Papers Faculty of Informatics 2011 Threshold Autoregressive Models in Finance: A Comparative

More information

Trend and Seasonal Components

Trend and Seasonal Components Chapter 2 Trend and Seasonal Components If the plot of a TS reveals an increase of the seasonal and noise fluctuations with the level of the process then some transformation may be necessary before doing

More information

Readers will be provided a link to download the software and Excel files that are used in the book after payment. Please visit http://www.xlpert.

Readers will be provided a link to download the software and Excel files that are used in the book after payment. Please visit http://www.xlpert. Readers will be provided a link to download the software and Excel files that are used in the book after payment. Please visit http://www.xlpert.com for more information on the book. The Excel files are

More information

96 PROC. OF THE 10th PYTHON IN SCIENCE CONF. (SCIPY 2011) Time Series Analysis in Python with statsmodels

96 PROC. OF THE 10th PYTHON IN SCIENCE CONF. (SCIPY 2011) Time Series Analysis in Python with statsmodels 96 PROC. OF HE 10th PYHON IN SCIENCE CONF. (SCIPY 2011) ime Series Analysis in Python with statsmodels Wes McKinney, Josef Perktold, Skipper Seabold Abstract We introduce the new time series analysis features

More information

The VAR models discussed so fare are appropriate for modeling I(0) data, like asset returns or growth rates of macroeconomic time series.

The VAR models discussed so fare are appropriate for modeling I(0) data, like asset returns or growth rates of macroeconomic time series. Cointegration The VAR models discussed so fare are appropriate for modeling I(0) data, like asset returns or growth rates of macroeconomic time series. Economic theory, however, often implies equilibrium

More information

Energy Load Mining Using Univariate Time Series Analysis

Energy Load Mining Using Univariate Time Series Analysis Energy Load Mining Using Univariate Time Series Analysis By: Taghreed Alghamdi & Ali Almadan 03/02/2015 Caruth Hall 0184 Energy Forecasting Energy Saving Energy consumption Introduction: Energy consumption.

More information

Chapter 5: Bivariate Cointegration Analysis

Chapter 5: Bivariate Cointegration Analysis Chapter 5: Bivariate Cointegration Analysis 1 Contents: Lehrstuhl für Department Empirische of Wirtschaftsforschung Empirical Research and und Econometrics Ökonometrie V. Bivariate Cointegration Analysis...

More information

Is the Basis of the Stock Index Futures Markets Nonlinear?

Is the Basis of the Stock Index Futures Markets Nonlinear? University of Wollongong Research Online Applied Statistics Education and Research Collaboration (ASEARC) - Conference Papers Faculty of Engineering and Information Sciences 2011 Is the Basis of the Stock

More information

Software Review: ITSM 2000 Professional Version 6.0.

Software Review: ITSM 2000 Professional Version 6.0. Lee, J. & Strazicich, M.C. (2002). Software Review: ITSM 2000 Professional Version 6.0. International Journal of Forecasting, 18(3): 455-459 (June 2002). Published by Elsevier (ISSN: 0169-2070). http://0-

More information

Chapter 4: Vector Autoregressive Models

Chapter 4: Vector Autoregressive Models Chapter 4: Vector Autoregressive Models 1 Contents: Lehrstuhl für Department Empirische of Wirtschaftsforschung Empirical Research and und Econometrics Ökonometrie IV.1 Vector Autoregressive Models (VAR)...

More information

Financial TIme Series Analysis: Part II

Financial TIme Series Analysis: Part II Department of Mathematics and Statistics, University of Vaasa, Finland January 29 February 13, 2015 Feb 14, 2015 1 Univariate linear stochastic models: further topics Unobserved component model Signal

More information

Time Series Analysis: Basic Forecasting.

Time Series Analysis: Basic Forecasting. Time Series Analysis: Basic Forecasting. As published in Benchmarks RSS Matters, April 2015 http://web3.unt.edu/benchmarks/issues/2015/04/rss-matters Jon Starkweather, PhD 1 Jon Starkweather, PhD jonathan.starkweather@unt.edu

More information

A Model for Hydro Inow and Wind Power Capacity for the Brazilian Power Sector

A Model for Hydro Inow and Wind Power Capacity for the Brazilian Power Sector A Model for Hydro Inow and Wind Power Capacity for the Brazilian Power Sector Gilson Matos gilson.g.matos@ibge.gov.br Cristiano Fernandes cris@ele.puc-rio.br PUC-Rio Electrical Engineering Department GAS

More information

THE UNIVERSITY OF CHICAGO, Booth School of Business Business 41202, Spring Quarter 2014, Mr. Ruey S. Tsay. Solutions to Homework Assignment #2

THE UNIVERSITY OF CHICAGO, Booth School of Business Business 41202, Spring Quarter 2014, Mr. Ruey S. Tsay. Solutions to Homework Assignment #2 THE UNIVERSITY OF CHICAGO, Booth School of Business Business 41202, Spring Quarter 2014, Mr. Ruey S. Tsay Solutions to Homework Assignment #2 Assignment: 1. Consumer Sentiment of the University of Michigan.

More information

Impulse Response Functions

Impulse Response Functions Impulse Response Functions Wouter J. Den Haan University of Amsterdam April 28, 2011 General definition IRFs The IRF gives the j th -period response when the system is shocked by a one-standard-deviation

More information

ADVANCED FORECASTING MODELS USING SAS SOFTWARE

ADVANCED FORECASTING MODELS USING SAS SOFTWARE ADVANCED FORECASTING MODELS USING SAS SOFTWARE Girish Kumar Jha IARI, Pusa, New Delhi 110 012 gjha_eco@iari.res.in 1. Transfer Function Model Univariate ARIMA models are useful for analysis and forecasting

More information

Forecasting Stock Market Series. with ARIMA Model

Forecasting Stock Market Series. with ARIMA Model Journal of Statistical and Econometric Methods, vol.3, no.3, 2014, 65-77 ISSN: 2241-0384 (print), 2241-0376 (online) Scienpress Ltd, 2014 Forecasting Stock Market Series with ARIMA Model Fatai Adewole

More information

Monitoring the SARS Epidemic in China: A Time Series Analysis

Monitoring the SARS Epidemic in China: A Time Series Analysis Journal of Data Science 3(2005), 279-293 Monitoring the SARS Epidemic in China: A Time Series Analysis Dejian Lai The University of Texas and Jiangxi University of Finance and Economics Abstract: In this

More information

IBM SPSS Forecasting 21

IBM SPSS Forecasting 21 IBM SPSS Forecasting 21 Note: Before using this information and the product it supports, read the general information under Notices on p. 107. This edition applies to IBM SPSS Statistics 21 and to all

More information

Time Series Analysis of Aviation Data

Time Series Analysis of Aviation Data Time Series Analysis of Aviation Data Dr. Richard Xie February, 2012 What is a Time Series A time series is a sequence of observations in chorological order, such as Daily closing price of stock MSFT in

More information

Chapter 1. Vector autoregressions. 1.1 VARs and the identi cation problem

Chapter 1. Vector autoregressions. 1.1 VARs and the identi cation problem Chapter Vector autoregressions We begin by taking a look at the data of macroeconomics. A way to summarize the dynamics of macroeconomic data is to make use of vector autoregressions. VAR models have become

More information

2.2 Elimination of Trend and Seasonality

2.2 Elimination of Trend and Seasonality 26 CHAPTER 2. TREND AND SEASONAL COMPONENTS 2.2 Elimination of Trend and Seasonality Here we assume that the TS model is additive and there exist both trend and seasonal components, that is X t = m t +

More information

Sales forecasting # 1

Sales forecasting # 1 Sales forecasting # 1 Arthur Charpentier arthur.charpentier@univ-rennes1.fr 1 Agenda Qualitative and quantitative methods, a very general introduction Series decomposition Short versus long term forecasting

More information

Simple Linear Regression Inference

Simple Linear Regression Inference Simple Linear Regression Inference 1 Inference requirements The Normality assumption of the stochastic term e is needed for inference even if it is not a OLS requirement. Therefore we have: Interpretation

More information

Chapter 9: Univariate Time Series Analysis

Chapter 9: Univariate Time Series Analysis Chapter 9: Univariate Time Series Analysis In the last chapter we discussed models with only lags of explanatory variables. These can be misleading if: 1. The dependent variable Y t depends on lags of

More information

APPLICATION OF THE VARMA MODEL FOR SALES FORECAST: CASE OF URMIA GRAY CEMENT FACTORY

APPLICATION OF THE VARMA MODEL FOR SALES FORECAST: CASE OF URMIA GRAY CEMENT FACTORY APPLICATION OF THE VARMA MODEL FOR SALES FORECAST: CASE OF URMIA GRAY CEMENT FACTORY DOI: 10.2478/tjeb-2014-0005 Ramin Bashir KHODAPARASTI 1 Samad MOSLEHI 2 To forecast sales as reliably as possible is

More information

5. Multiple regression

5. Multiple regression 5. Multiple regression QBUS6840 Predictive Analytics https://www.otexts.org/fpp/5 QBUS6840 Predictive Analytics 5. Multiple regression 2/39 Outline Introduction to multiple linear regression Some useful

More information

Factor Analysis. Factor Analysis

Factor Analysis. Factor Analysis Factor Analysis Principal Components Analysis, e.g. of stock price movements, sometimes suggests that several variables may be responding to a small number of underlying forces. In the factor model, we

More information

**BEGINNING OF EXAMINATION** The annual number of claims for an insured has probability function: , 0 < q < 1.

**BEGINNING OF EXAMINATION** The annual number of claims for an insured has probability function: , 0 < q < 1. **BEGINNING OF EXAMINATION** 1. You are given: (i) The annual number of claims for an insured has probability function: 3 p x q q x x ( ) = ( 1 ) 3 x, x = 0,1,, 3 (ii) The prior density is π ( q) = q,

More information

Centre for Central Banking Studies

Centre for Central Banking Studies Centre for Central Banking Studies Technical Handbook No. 4 Applied Bayesian econometrics for central bankers Andrew Blake and Haroon Mumtaz CCBS Technical Handbook No. 4 Applied Bayesian econometrics

More information

Analysis of the Volatility of the Electricity Price in Kenya Using Autoregressive Integrated Moving Average Model

Analysis of the Volatility of the Electricity Price in Kenya Using Autoregressive Integrated Moving Average Model Science Journal of Applied Mathematics and Statistics 2015; 3(2): 47-57 Published online March 28, 2015 (http://www.sciencepublishinggroup.com/j/sjams) doi: 10.11648/j.sjams.20150302.14 ISSN: 2376-9491

More information