Discrete time processes

Size: px
Start display at page:

Download "Discrete time processes"

Transcription

1 Discrete time processes Predictions are difficult. Especially about the future Mark Twain. Florian Herzog 2013

2 Modeling observed data When we model observed (realized) data, we encounter usually the following situations: Time-series data of a single time series (D t ), e.g. economic data. Online observations also single time series (D t ) Ensemble data from measurements (experiments) or seasonal data (D j t ) Modeling ensemble data is often easier than single time series, because we have the same stochastic information of a given point in time t with multiple realizations. By D t t = 1,..., T we denote the data observation at time in the case that we have only one single time series observation. By D j t t = 1,..., T j = 1,..., l we denote the time series observation at time t and measurement j. Data D t is recorded in discrete intervals (sampled data) and assumed to be generated by an SDE. Stochastic Systems,

3 Modeling real-world data Stochastic differential equations are can be viewed as stochastic process from two point of view: Stochastic process with a probability distribution p(t θ) across-time, where θ denotes the parameters A stochastic process, where the changes in the resulting time series is the stochastic process, i.e. p(d t D t 1 θ) or p( D t D t 1 D θ) t 1 The first interpretation is help full to describe ensemble data and the second to analyze single time series. In order to deal with discrete data, all SDEs need to be discretized. Stochastic Systems,

4 Discrete-time white noise When we assume a discrete white noise process ε t which identically and independently distributed (i.i.d) with zero expectation and σ 2 variance. Then following statistical properties apply: E[ε t ] = 0 (1) E[ε 2 t ] = σ2 (2) E[ε t ε τ ] = 0 for t τ (3) The last property is derived from the assumption of independence. A discretized Brownian Motion is a discrete-time white noise process with ε t N (0, t) where t is the time discretization. In discrete-time models, a white noise process can be normally distributed (Gaussian white noise) but can be distributed by any other distribution as long as the i.i.d. assumption is valid. Stochastic Systems,

5 Statistical Theory Stationarity: A process is covariance-stationary if and only if (iff): E[D t ] = µ t (4) E[(D t µ)(d t j µ)] = ν j t j. (5) This form of stationarity is often also called weak stationarity. For example the process: D t = µ + ε t where ε t is white noise process with zero mean and σ 2 variance. In this case D t is stationary since: E[D t ] = µ { σt j = 0 E[(D t µ)(d t j µ)] = 0 j 0 Stochastic Systems,

6 Statistical Theory Stationarity: A process is strictly stationary iff for any value of j 1, j 2, j 3,... the joint distribution of D t, D t+j1, D t+j2, D t+j3,.. depend only on the intervals separating the different values of j and not the time t. Ergodicity: A process is called ergodic for the mean iff: A process is said to be ergodic for the second moment iff: lim T 1 lim t E[D t] = µ. (6) T j E[(D t µ)(d t j µ)] p ν j (7) where p denotes convergence in probability. From an ergodic process, we can estimate all necessary data without possing ensemble data. If an process is not ergodic, we have only one observation, we can not identify its parameters. Stochastic Systems,

7 Statistical Theory It can be shown that if the autocovariance of a covariance stationary process satisfies the following: ν j < (8) j=0 then the process is ergodic for the mean. Stochastic Systems,

8 First Order Moving Average Process When ε k be a Gaussian white noise processes with mean zeros and variance σ 2 and consider the process: Y k = µ + ε k + θε k 1, (9) where µ and θ are nay real valued constant. The process is called first order moving average process and ussualy denotes as MA(1). The expectation of Y k is given as: E[Y k ] = E[µ + ε k + θε k 1 ] = µ + E[ε k ] + θe[ε k 1 ] = µ The constant µ is thus the mean of the processes. Stochastic Systems,

9 First Order Moving Average Process The variance of the MA(1) is calculated as Var[Y k ] = E[(Y k µ) 2 ] = E[(ε k + θε k 1 ) 2 ] = E[ε 2 k + θ2 ε 2 k 1 + 2θε kε k 1 ] = σ θ 2 σ 2 = (1 + θ 2 )σ 2 The first autocovariance is computed as E[(Y k µ)(y k 1 µ)] = E[(ε k + θε k 1 )(ε k 1 + θε k 2 )] = E[ε k ε k 1 + θε 2 k 1 + θε k 1ε k θ 2 ε k 1 ε k 2 ] = 0 + θσ = θσ 2 Stochastic Systems,

10 First Order Moving Average Process The higher order autocovariances are all zero: E[(Y k µ)(y k j µ)] = E[(ε k + θε k 1 )(ε k j + θε k j 1 )] = 0. Since the mean and autocovariance are not function of times, an MA(1) process is covariance stationary regardless of the value of θ, since ν j = (1 + θ 2 )σ 2 + θσ 2. (10) j=0 When ε k is a Gaussian white noise process, the MA(1) is ergodic for all moments. Stochastic Systems,

11 First Order Moving Average Process Autocorrelation is defined as ρ 1 = Cov[Y k Y k 1 ]/ V ar[y k ]V ar[y k 1 ] and V ar[y k ] = V ar[y k+1 ] = (1 + θ 2 )σ 2. Therefore we get ρ 1 = θσ 2 (1 + θ 2 )σ 2 = θ 1 + θ 2. (11) All higher order autocorrelations are zero. Positive values of θ induce positive autocorrelation, negative values induces negative autocorrelation. The autocorrelation of an MA(1) process can be between -0.5 and 0.5. For any value of ρ 1, there exists two values of θ, see ρ 1 = (1/θ) 1 + (1/θ) = θ 2 (1/θ) 2 θ 2 (1 + (1/θ) 2 ) = θ 1 + θ 2. (12) Stochastic Systems,

12 Q-th Order Moving Average Process A q-th order moving average process, denotes as MA(q) is given by Y k = µ + ε k + θ 1 ε k 1 + θ 2 ε k θ q ε k q, (13) where µ and θ 1,...θ 1 are real valued constant. The expectation of Y k is given as: E[Y k ] = µ + E[ε k ] + θ 1 E[ε k 1 ] θ q E[ε k q ] = µ The constant µ is thus the mean of the processes. The variance is computed as The variance of the MA(1) is calculated as Var[Y k ] = E[(Y k µ) 2 ] = E[(ε k + θ 1 ε k 1 + θ 2 ε k θ q ε k q ) 2 ]. Since all ε s are uncorrelated, all cross terms ε j ε k are zero. Stochastic Systems,

13 Q-th Order Moving Average Process The variance is therefore Var[Y k ] = σ 2 + θ 2 1 σ θ 2 q σ2 = σ 2 (1 + q θ 2 j ). j=1 The autocovariance is for the i-th lag is computed as ν i = E[(ε k + q θ j ε k j )(ε k i + j=1 q θ j ε k j i )] j=1 = E[θ i ε 2 k i + θ i+1θ 1 ε 2 k i 1 + θ i+2θ 2 ε k i θ q θ q i ε 2 k q ] Stochastic Systems,

14 Q-th Order Moving Average Process The ε s at different dates have been drop since their product is zero. For i > q there are no ε s with common dates in the definition of of ν i. We get for the autocovariance thus ν i = { (θi + θ i+1 θ 1 + θ i+2 θ θ q θ q j )σ 2 i = 1, 2,..., q 0 i > q The autocorrelation is given as ν i = θ i +θ i+1 θ 1 +θ i+2 θ θqθ q j (1+ q j=1 θ2 j ) i = 1, 2,..., q 0 i > q Stochastic Systems,

15 Autoregressive first order Process We analyze an so-called first order autoregressive (AR(1)): Y k+1 = c + ΦY k + ε k Long-term mean: We take the mean on both sides of the equation E[Y k+1 ] = E[c + ΦY k + ε k ] E[Y k+1 ] = c + ΦE[Y k ] µ = = c + Φµ µ = c 1 Φ Stochastic Systems,

16 Autoregressive first order Process µ = c 1 Φ From this formula, we can see that Φ must be smaller than 1, otherwise the mean would be negative when c 0. Also we have assumed that E[Y k ] = E[Y k+1 ] = µ and exists. Second moment: Y k+1 = µ(1 Φ) + ΦY k + ε k Y k+1 µ = Φ(Y k µ) + ε k Stochastic Systems,

17 Autoregressive first order Process E[(Y k+1 µ) 2 ] = E[(Φ(Y k µ) + ε k ) 2 ] = Φ 2 E[(Y k µ)] + 2ΦE[(Y k µ)ε k ] + E[ε 2 k ] E[(Y k+1 µ) 2 ] = Φ 2 E[(Y k µ)] + σ 2 where E[(Y k µ)ε k ] = 0. Assuming covariance stationarity, i.e. E[(Y k+1 µ) 2 ] = ν and E[(Y k µ) 2 ] = ν. We get: ν = Φ 2 ν + σ 2 ν = σ 2 1 Φ 2 Stochastic Systems,

18 Autoregressive first order Process Autocorrelation: E[(Y k+1 µ)(y k µ)] = E[(Φ(Y k µ) + ε k )(Y k µ)] E[(Y k+1 µ)(y k µ)] = ΦE[((Y k µ) 2 ] + E[(ε k )(Y k µ)]. Again E[(ε k )(Y k µ)] = 0 and E[((Y k µ) 2 ] = ν we get: E[(Y k+1 µ)(y k µ)] = Φν = Φ σ2 1 Φ 2. Autocorrelation is defined as Cov[Y k+1 Y k ]/ V ar[y k+1 ]V ar[y k ] and V ar[y k ] = V ar[y k+1 ] = ν. Therefore we get acf(y k+1 Y k ) = ϕ (14) Stochastic Systems,

19 Autoregressive first order Process AR(1) process with Y k+1 = ΦY k + c + ε k hast the following properties: Mean : µ = V ariance : ν = Autocorr. : acf(y k+j Y k ) = ϕ j c 1 Φ σ 2 1 Φ 2 A covariance stationary AR(1) process is only well defined when Φ 1, otherwise the variance is infinite and mean makes no sense. We can check if a process is a AR(1) process by calculating the mean and variance over-time and the autocorrelation. From these three calculations the parameters can be estimated. It is important to notice that the autocorrelation is exactly the coefficient of the autoregression. Stochastic Systems,

20 Example: GBM and mean reversion The two examples have a discrete-time structure as an first-order autoregressive process with: (I) (II) Φ = 1 + µ t Φ = 1 b t When we assume that µ > 0, the first model is instable and we can not use the techniques from auto-regressions to estimate the parameters. We have to deal differently in this case, by using p = ln(x), since then we get an SDE with constant coefficients. When we assume that b > 0, the process is a true mean reverting process that can be estimated by AR(1) methods. In this case, the discrete-time model is also stable. Stochastic Systems,

21 First order difference equation A first order difference equation give by y k+1 = Φy k + w k is of the same type as an AR(1) equation. The can be solved by recursive substitution since y 1 = Φy 0 + w 0, y 2 = Φy 1 + w 1, y 3 = Φy 2 + w When we plug in the results of y 1 into the equation for y 2, we get y 2 = Φ 2 y 0 + Φw 0 + w 1, which in turn we plug in the equation for y 3 and get y 3 = Φ 3 y 0 + Φ 2 w 0 + Φw 1 + w 2. Expanding this further on, we get the general solution y k+1 = Φ k+1 y 0 + k Φ k j w j j=0 Stochastic Systems,

22 p-th order difference equation A p-th order difference equation give by y k+1 = Φ 1 y k + Φ 2 y k Φ p y k p+1 + w k We write this in a vectorized form with: y k Φ 1 Φ 2 Φ 3 Φ p 1 Φ p y k ξ k = y k 2 F = y k p v k = w k and get ξ k+1 = F ξ k + v k. Stochastic Systems,

23 p-th order difference equation The solution is given as: ξ k = F k ξ 0 + F k 1 v 0 + F k 2 v 1 + F k 3 v F v k 1 + v k The p-th order difference equation is stable (or stationary) when the eigenvalues of F are smaller than one. The eigenvalue polynom is given as: λ p Φ 1 λ p 1 Φ 2 λ p 2... Φ p 1 λ Φ p = 0 Stochastic Systems,

24 Lag operators A highly useful operator for time series models is the lag operator. Suppose that we start with an sequence of data x k where k =... and generate a new sequence y k where the value of y for date k is equal to the value x took at time k 1 y k = x k 1. This is described as applying the Lag operator on x k and is represented by symbol L: Lx k = x k 1. Consider applying the lag operator twice to a series: L(Lx k ) = L(x k 1 ) = x k 2, which is denotes as L 2 or L 2 x k = x k 2. Stochastic Systems,

25 Lag operators In general for any integer l L l x k = x k l, The lag operator is linear and can be treated as the multiplation operator and thus L(βx k ) = βlx k = βx k 1 L(x k + w k ) = Lx k + Lw k y k = (a + bl)lx k = (al + bl 2 )x k = ax k 1 + bx k 2 An expression such as (al + bl 2 ) is referred as a polynomial lag operators. Notice if x k = c then Lx k = x k 1 = c Stochastic Systems,

26 First order difference equation and lag operators A first order difference equation give by can be written as y k+1 = Φy k + w k y k+1 = ΦLy k+1 + w k y k+1 ΦLy k+1 = w k y k+1 (1 L) = w k when we multiply both sides with (1 + ΦL + Φ 2 L 2 + Φ 3 L Φ k L k ) we get y k+1 (1 + ΦL + Φ 2 L 2 + Φ 3 L Φ k L k )(1 L) = (1 + ΦL + Φ 2 L 2 + Φ 3 L Φ k L k )w k Stochastic Systems,

27 First order difference equation and lag operators y k+1 (1 Φ k+1 L k+1 ) = (1 + ΦL + Φ 2 L 2 + Φ 3 L Φ k L k )w k y k+1 (1) = Φ k+1 L k+1 y k+1 + (1 + ΦL + Φ 2 L 2 + Φ 3 L Φ k L k )w k y k+1 = Φ k+1 y 0 + w k + Φw k 1 + Φ 2 w k 2 + Φ 3 w k Φ k w 0 which results exactly in the same solution as by the usage of the recursive substitution. Stochastic Systems,

28 P-th order difference equation and lag operators The p-th order difference equation given by y k+1 = Φ 1 y k + Φ 2 y k Φ p y t p+1 + w k, can be written using the lag operator as: y k+1 (1 Φ 1 L Φ 2 L 2 Φ 3 L 3... Φ p L p ) = w k, which results in the same polynomial as in the case of the eigenvalues of the matrix F. Stochastic Systems,

29 P-th order difference equation and lag operators Since (1 Φ 1 z Φ 2 z 2 Φ 3 z 3... Φ p z p ) = (1 λ 1 z)(1 λ 2 z)...(1 λ p z), and by defining z 1 = λ and multiply both sides with z p and we get (λ p Φ 1 λ p 1 Φ 2 λ p 2... Φ p ) = (λ λ 1 )(λ λ 2 z)...(λ λ p z), which is nothing but the root search of the left side polynomial: λ p Φ 1 λ p 1 Φ 2 λ p 2... Φ p 1 λ Φ p = 0 Stochastic Systems,

30 Second order Autoregression A second order autoregressive process (denotes as AR(2)) has the form: written in lag notation: Y k+1 = c + Φ 1 Y k + Φ 2 Y k 1 + ε k Y k+1 (1 Φ 1 L Φ 2 L 2 ) = c + ε k The AR(2) is stable if the roots of (1 Φ 1 z Φ 2 z 2 ) = 0 lie outside the unit circle. The process has the mean value: E[Y k+1 ] = c + Φ 1 E[Y k ] + Φ 2 E[Y k 1 ] + E[ε k ] µ = c + Φ 1 µ + Φ 2 µ µ = c 1 Φ 1 Φ 2 Stochastic Systems,

31 Second order Autoregression To find the second moments of the AR(2), we write Y k+1 = µ(1 Φ 1 Φ 2 ) + Φ 1 Y k + Φ 2 Y k 1 + ε k Y k+1 µ = Φ 1 (Y k µ) + Φ 2 (Y k 1 µ) + ε k. multiplying both sides with Y k+1 j µ we get and taking the expectation yields: ν j = Φ 1 ν j 1 + Φ 2 ν j 2 j = 1, 2, 3.. The auto-covariances follow the same second order difference equation as the AR(2) process. The autocorrelation is given by dividing the last equation by ν 0 we get ρ j = Φ 1 ρ j 1 + Φ 2 ρ j 2 j = 1, 2, 3.. Stochastic Systems,

32 Second order Autoregression For j = 1 we get for the autocorrelation: ρ 1 = Φ 1 + Φ 2 ρ 1 ρ 1 = Φ 1 1 Φ 2, since ρ 0 = 1 and ρ 1 = ρ 1. For j=2 we get ρ 2 = Φ 1 ρ 1 + Φ 2 ρ 2 = Φ Φ 2 + Φ 2. The covariance is computed by E[(Y k+1 µ)(y k+1 µ)] = Φ 1 E[(Y k µ)(y k+1 µ)] + Φ 2 E[(Y k 1 µ)(y k+1 µ)] + E[ε k (Y k+1 µ)], Stochastic Systems,

33 Second order Autoregression The covariance equation can be written as ν 0 = Φ 1 ν 1 + Φ 2 ν 2 + σ 2 j = 1, 2, 3.. The last term from noticing E[ε k (Y k+1 µ)] = E[(ε k )(Φ 1 (Y k µ) +Φ 2 (Y k 1 µ) + ε k )] = Φ Φ σ 2 The covariance equation can be written as ν 0 = Φ 1 ρ 1 ν 0 + Φ 2 ρ 2 ν 0 + σ 2, ν 0 = (1 Φ 2 )σ 2 (1 + Φ 2 )[(1 Φ 2 2 ) Φ2 1 ] Stochastic Systems,

34 P-th order Autoregression A p-th order autoregressive process (denotes as AR(p)) has the form: written in lag notation: Y k+1 = c + Φ 1 Y k + Φ 2 Y k Φ p Y k p+1 + ε k Y k+1 (1 Φ 1 L Φ 2 L 2... Φ p L p ) = c + ε k The AR(2) is stable if the roots of (1 Φ 1 z Φ 2 z 2... Φ p z p ) = 0 lie outside the unit circle. The process has the mean value: E[Y k+1 ] = c + Φ 1 E[Y k ] + Φ 2 E[Y k 1 ] Φ p E[Y k p+1 ] + E[ε k ] µ = c + Φ 1 µ + Φ 2 µ Φ p µ µ = c 1 Φ 1 Φ 2... Φ p Stochastic Systems,

35 P-th order Autoregression The autocovariance is given as ν j = { Φ1 ν j 1 + Φ 2 ν j Φ p ν j p j = 1, 2, 3.. Φ 1 ν 1 + Φ 2 ν Φ p ν p j = 0 The equation for the autocorrelation is given as ρ j = Φ 1 ρ j 1 + Φ 2 ρ j Φ 2 ρ j p j = 1, 2, 3.. which is known as the Yule-Walker equation. The equation is again a p-th order difference equation. Stochastic Systems,

36 Mixed Autoregressive Moving Average Process (ARMA) A ARMA(p,q) process includes autoregressive elements as well as moving average elements Y k+1 = c + Φ 1 Y k + Φ 2 Y k Φ p Y k p+1 The process is written in Lag form as +ε k + θ 1 ε k 1 + θ 2 ε k θ q ε k q. Y k+1 (1 Φ 1 L Φ 2 L 2... Φ p L p ) = +c + ε k (1 + θ 1 L + θ 2 L θ q L q ). Provided that the roots of (1 Φ 1 L Φ 2 L 2... Φ p L p ) = 0 lie outside the unit circle we obtain the following general form for an ARMA(p,q) process: Y k+1 = µ + (1 + θ 1L + θ 2 L θ q L q ) (1 Φ 1 L Φ 2 L 2... Φ p L p ) ε k. Stochastic Systems,

37 Mixed Autoregressive Moving Average Process (ARMA) The mean is given as µ = c (1 Φ 1 L Φ 2 L 2... Φ p L p ). The stationarity of an ARMA process depends only on the autoregressive parameters and not on the moving average parameters. The more convenient form of an ARMA(p,q) process is given as Y k+1 µ = Φ 1 (Y k µ) + Φ 2 (Y k 1 µ) Φ p (Y k p+1 µ) +ε k + θ 1 ε k 1 + θ 2 ε k θ q ε k q. The autocovariance equation for j > q is given as ν j = Φ 1 ν j 1 + Φ 2 ν j Φ p ν j p j = q + 1, q + 2,... Stochastic Systems,

38 Mixed Autoregressive Moving Average Process (ARMA) Thus after q lags, the autocovariance function ν j follows a p-th order difference equation governed by the the autoregressive part. Note that last equation does not hold for j q since the correlation between θ j ε k j and Y t j cannot be neglected. In order to analyze the auto-covariance, we introduce the auto-covariance generating function g Y (z) = j= ν j z j which is constructed as taking the j-th auto-covariance and multiplying with z to the power of j and then summing over all possible values of j Stochastic Systems,

39 Parameter Identification We start to examine the appropriate log-likelihood function with our frame work of the discretized SDEs. Let ψ R d be the vector of unknown parameters, which belongs to the admissible parameter space Ψ, e.g. a, b, etc. The various system matrices of the discrete models, as well as the variances of stochastic processes, given in the previous section, depend on ψ. The likelihood function of the state space model is given by the joint density of the observational data x = (x N, x N 1,..., x 1 ) l(x, ψ) = p(x N, x N 1,..., x 1 ; ψ) (15) which reflects how likely it would have been to have observed the date if ψ were the true values of the parameters. Stochastic Systems,

40 Parameter Identification Using the definition of condition probability and employing Bayes s theorem recursively, we now write the joint density as product of conditional densities l(x, ψ) = p(x N x N 1,..., x 1 ; ψ)... p(x k x k 1,..., x 1 ; ψ)... p(x 1 ; ψ) (16) where we approximate the initial density function p(x 1 ; ψ) by p(x 1 x 0 ; ψ). Furthermore, since we deal with a Markovian system, future values of x l with l > k only depend on (x k, x k 1,..., x 1 ) through the current values of x k, the expression in (16) can be rewritten to depend on only the last observed values, thus it is reduced to l(x, ψ) = p(x N x N 1 ; ψ)... p(x k x k 1 ; ψ)... p(x 1 ; ψ) (17) Stochastic Systems,

41 Parameter Identification A Euler discretized SDE is given as: x k+1 = x k + f(x k, k) t + g(x k, k) tε k (18) where ε k is an i.i.d random variable with normal distribution, zero expectation and unit variance. Since f and g are deterministic functions, x k+1 is conditional (on x k normal distributed with E[x k+1 ] = x k + f(x k, k) t (19) Var[x k+1 ] = g(x k, k)g(x k, k) T t (20) p(x k+1 ) = 1 (2π) n 2 Var[xk+1 ] e 1 2 (x k+1 E[x k+1 ])T Var[x k+1 ] 1 (x k+1 E[x k+1 ]) (21) Stochastic Systems,

42 Parameter Identification The parameter of an SDEs are estimated by maximizing the log-likelihood. To maximize the log-likelihood is equivalent to maximizing the likelihood, since the log function is strictly increasing function. The log likelihood is given as: ln(l(x, ψ)) = ln(p(x N x N 1 ; ψ)... p(y k x k 1 ; ψ)... p(x 1 ; ψ))(22) ln(l(x, ψ)) = N ln(p(x j x j 1 ; ψ) (23) j=1 ln(l(x, ψ)) = N { j=1 ln((2π) n 2 Var[x k+1 ] 1 2) 1 } 2 (x k+1 E[x k+1 ]) T Var[x k+1 ] 1 (x k+1 E[x k+1 ]) (24) Stochastic Systems,

43 Example: Parameter Identification We want to identify the parameters of a AR(1) process without any constant: which has the log-likelihood function: x k+1 = Φx k + σε k (25) ln(l(x, ψ)) = N ln((2π) 1 2σ 1 ) (x k+1 Φx k ) 2. (26) 2σ 2 j=1 The function is maximized by taking the derivatives for Φ and σ. The log-likelihood function has the same from as an so-called ordinary least-square (OLS) estimation. Stochastic Systems,

44 Example: Parameter Identification The solution of the maximum likelihood estimations is: Φ = N j=1 x k+1x k N j=1 x2 k (27) σ = 1 N N (x k+1 Φx k ) 2 (28) j=1 The solution for Φ is the same solution as for an OLS regression. Furthermore, the solution is exactly the definition of autocorrelation with lag one. The estimation for σ is the empirical standard deviation of the estimation of the empirical white noise, i.e. ε k = x k+1 Φx k Stochastic Systems,

Covariance Stationary Time Series. Example: Independent White Noise (IWN(0,σ 2 )) Y t = ε t, ε t iid N(0,σ 2 )

Covariance Stationary Time Series. Example: Independent White Noise (IWN(0,σ 2 )) Y t = ε t, ε t iid N(0,σ 2 ) Covariance Stationary Time Series Stochastic Process: sequence of rv s ordered by time {Y t } {...,Y 1,Y 0,Y 1,...} Defn: {Y t } is covariance stationary if E[Y t ]μ for all t cov(y t,y t j )E[(Y t μ)(y

More information

Class 1: Stationary Time Series Analysis

Class 1: Stationary Time Series Analysis Class 1: Stationary Time Series Analysis Macroeconometrics - Fall 2009 Jacek Suda, BdF and PSE February 28, 2011 Outline Outline: 1 Covariance-Stationary Processes 2 Wold Decomposition Theorem 3 ARMA Models

More information

Ch. 14 Stationary ARMA Process

Ch. 14 Stationary ARMA Process Ch. 14 Stationary ARMA Process A general linear stochastic model is described that suppose a time series to be generated by a linear aggregation of random shock. For practical representation it is desirable

More information

Basic concepts and terminology: AR, MA and ARMA processes

Basic concepts and terminology: AR, MA and ARMA processes ECON 5101 ADVANCED ECONOMETRICS TIME SERIES Lecture note no. 1 (EB) Erik Biørn, Department of Economics Version of February 1, 2011 Basic concepts and terminology: AR, MA and ARMA processes This lecture

More information

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

3. ARMA Modeling. Now: Important class of stationary processes 3. ARMA Modeling Now: Important class of stationary processes Definition 3.1: (ARMA(p, q) process) Let {ɛ t } t Z WN(0, σ 2 ) be a white noise process. The process {X t } t Z is called AutoRegressive-Moving-Average

More information

1 Class Organization. 2 Introduction

1 Class Organization. 2 Introduction Time Series Analysis, Lecture 1, 2018 1 1 Class Organization Course Description Prerequisite Homework and Grading Readings and Lecture Notes Course Website: http://www.nanlifinance.org/teaching.html wechat

More information

Introduction to ARMA and GARCH processes

Introduction to ARMA and GARCH processes Introduction to ARMA and GARCH processes Fulvio Corsi SNS Pisa 3 March 2010 Fulvio Corsi Introduction to ARMA () and GARCH processes SNS Pisa 3 March 2010 1 / 24 Stationarity Strict stationarity: (X 1,

More information

Chapter 4: Models for Stationary Time Series

Chapter 4: Models for Stationary Time Series Chapter 4: Models for Stationary Time Series Now we will introduce some useful parametric models for time series that are stationary processes. We begin by defining the General Linear Process. Let {Y t

More information

1 Linear Difference Equations

1 Linear Difference Equations ARMA Handout Jialin Yu 1 Linear Difference Equations First order systems Let {ε t } t=1 denote an input sequence and {y t} t=1 sequence generated by denote an output y t = φy t 1 + ε t t = 1, 2,... with

More information

Autoregressive and Moving-Average Models

Autoregressive and Moving-Average Models Chapter 3 Autoregressive and Moving-Average Models 3.1 Introduction Let y be a random variable. We consider the elements of an observed time series {y 0,y 1,y2,...,y t } as being realizations of this randoms

More information

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

TIME SERIES AND FORECASTING. Luca Gambetti UAB, Barcelona GSE Master in Macroeconomic Policy and Financial Markets TIME SERIES AND FORECASTING Luca Gambetti UAB, Barcelona GSE 2014-2015 Master in Macroeconomic Policy and Financial Markets 1 Contacts Prof.: Luca Gambetti Office: B3-1130 Edifici B Office hours: email:

More information

Ch. 15 Forecasting. 1.1 Forecasts Based on Conditional Expectations

Ch. 15 Forecasting. 1.1 Forecasts Based on Conditional Expectations Ch 15 Forecasting Having considered in Chapter 14 some of the properties of ARMA models, we now show how they may be used to forecast future values of an observed time series For the present we proceed

More information

LINEAR STOCHASTIC MODELS

LINEAR STOCHASTIC MODELS LINEAR STOCHASTIC MODELS Let {x τ+1,x τ+2,...,x τ+n } denote n consecutive elements from a stochastic process. If their joint distribution does not depend on τ, regardless of the size of n, then the process

More information

Lecture on ARMA model

Lecture on ARMA model Lecture on ARMA model Robert M. de Jong Ohio State University Columbus, OH 43210 USA Chien-Ho Wang National Taipei University Taipei City, 104 Taiwan ROC October 19, 2006 (Very Preliminary edition, Comment

More information

Introduction to Stochastic processes

Introduction to Stochastic processes Università di Pavia Introduction to Stochastic processes Eduardo Rossi Stochastic Process Stochastic Process: A stochastic process is an ordered sequence of random variables defined on a probability space

More information

Some Time-Series Models

Some Time-Series Models Some Time-Series Models Outline 1. Stochastic processes and their properties 2. Stationary processes 3. Some properties of the autocorrelation function 4. Some useful models Purely random processes, random

More information

5: MULTIVARATE STATIONARY PROCESSES

5: MULTIVARATE STATIONARY PROCESSES 5: MULTIVARATE STATIONARY PROCESSES 1 1 Some Preliminary Definitions and Concepts Random Vector: A vector X = (X 1,..., X n ) whose components are scalarvalued random variables on the same probability

More information

Empirical Market Microstructure Analysis (EMMA)

Empirical Market Microstructure Analysis (EMMA) Empirical Market Microstructure Analysis (EMMA) Lecture 3: Statistical Building Blocks and Econometric Basics Prof. Dr. Michael Stein michael.stein@vwl.uni-freiburg.de Albert-Ludwigs-University of Freiburg

More information

Time Series 2. Robert Almgren. Sept. 21, 2009

Time Series 2. Robert Almgren. Sept. 21, 2009 Time Series 2 Robert Almgren Sept. 21, 2009 This week we will talk about linear time series models: AR, MA, ARMA, ARIMA, etc. First we will talk about theory and after we will talk about fitting the models

More information

Lecture 1: Stationary Time Series Analysis

Lecture 1: Stationary Time Series Analysis Syllabus Stationarity ARMA AR MA Model Selection Estimation Lecture 1: Stationary Time Series Analysis 222061-1617: Time Series Econometrics Spring 2018 Jacek Suda Syllabus Stationarity ARMA AR MA Model

More information

7. MULTIVARATE STATIONARY PROCESSES

7. MULTIVARATE STATIONARY PROCESSES 7. MULTIVARATE STATIONARY PROCESSES 1 1 Some Preliminary Definitions and Concepts Random Vector: A vector X = (X 1,..., X n ) whose components are scalar-valued random variables on the same probability

More information

ECON/FIN 250: Forecasting in Finance and Economics: Section 6: Standard Univariate Models

ECON/FIN 250: Forecasting in Finance and Economics: Section 6: Standard Univariate Models ECON/FIN 250: Forecasting in Finance and Economics: Section 6: Standard Univariate Models Patrick Herb Brandeis University Spring 2016 Patrick Herb (Brandeis University) Standard Univariate Models ECON/FIN

More information

Permanent Income Hypothesis (PIH) Instructor: Dmytro Hryshko

Permanent Income Hypothesis (PIH) Instructor: Dmytro Hryshko Permanent Income Hypothesis (PIH) Instructor: Dmytro Hryshko 1 / 36 The PIH Utility function is quadratic, u(c t ) = 1 2 (c t c) 2 ; borrowing/saving is allowed using only the risk-free bond; β(1 + r)

More information

Univariate Time Series Analysis; ARIMA Models

Univariate Time Series Analysis; ARIMA Models Econometrics 2 Fall 24 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

Difference equations. Definitions: A difference equation takes the general form. x t f x t 1,,x t m.

Difference equations. Definitions: A difference equation takes the general form. x t f x t 1,,x t m. Difference equations Definitions: A difference equation takes the general form x t fx t 1,x t 2, defining the current value of a variable x as a function of previously generated values. A finite order

More information

Econ 623 Econometrics II Topic 2: Stationary Time Series

Econ 623 Econometrics II Topic 2: Stationary Time Series 1 Introduction Econ 623 Econometrics II Topic 2: Stationary Time Series In the regression model we can model the error term as an autoregression AR(1) process. That is, we can use the past value of the

More information

LECTURE 10 LINEAR PROCESSES II: SPECTRAL DENSITY, LAG OPERATOR, ARMA. In this lecture, we continue to discuss covariance stationary processes.

LECTURE 10 LINEAR PROCESSES II: SPECTRAL DENSITY, LAG OPERATOR, ARMA. In this lecture, we continue to discuss covariance stationary processes. MAY, 0 LECTURE 0 LINEAR PROCESSES II: SPECTRAL DENSITY, LAG OPERATOR, ARMA In this lecture, we continue to discuss covariance stationary processes. Spectral density Gourieroux and Monfort 990), Ch. 5;

More information

Ch 4. Models For Stationary Time Series. Time Series Analysis

Ch 4. Models For Stationary Time Series. Time Series Analysis This chapter discusses the basic concept of a broad class of stationary parametric time series models the autoregressive moving average (ARMA) models. Let {Y t } denote the observed time series, and {e

More information

Forecasting with ARMA

Forecasting with ARMA Forecasting with ARMA Eduardo Rossi University of Pavia October 2013 Rossi Forecasting Financial Econometrics - 2013 1 / 32 Mean Squared Error Linear Projection Forecast of Y t+1 based on a set of variables

More information

Single Equation Linear GMM with Serially Correlated Moment Conditions

Single Equation Linear GMM with Serially Correlated Moment Conditions Single Equation Linear GMM with Serially Correlated Moment Conditions Eric Zivot October 28, 2009 Univariate Time Series Let {y t } be an ergodic-stationary time series with E[y t ]=μ and var(y t )

More information

Autoregressive Moving Average (ARMA) Models and their Practical Applications

Autoregressive Moving Average (ARMA) Models and their Practical Applications Autoregressive Moving Average (ARMA) Models and their Practical Applications Massimo Guidolin February 2018 1 Essential Concepts in Time Series Analysis 1.1 Time Series and Their Properties Time series:

More information

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

Prof. Dr. Roland Füss Lecture Series in Applied Econometrics Summer Term Introduction to Time Series Analysis Introduction to Time Series Analysis 1 Contents: I. Basics of Time Series Analysis... 4 I.1 Stationarity... 5 I.2 Autocorrelation Function... 9 I.3 Partial Autocorrelation Function (PACF)... 14 I.4 Transformation

More information

Lecture 1: Stationary Time Series Analysis

Lecture 1: Stationary Time Series Analysis Syllabus Stationarity ARMA AR MA Model Selection Estimation Forecasting Lecture 1: Stationary Time Series Analysis 222061-1617: Time Series Econometrics Spring 2018 Jacek Suda Syllabus Stationarity ARMA

More information

Chapter 1. Basics. 1.1 Definition. A time series (or stochastic process) is a function Xpt, ωq such that for

Chapter 1. Basics. 1.1 Definition. A time series (or stochastic process) is a function Xpt, ωq such that for Chapter 1 Basics 1.1 Definition A time series (or stochastic process) is a function Xpt, ωq such that for each fixed t, Xpt, ωq is a random variable [denoted by X t pωq]. For a fixed ω, Xpt, ωq is simply

More information

Econometrics II Heij et al. Chapter 7.1

Econometrics II Heij et al. Chapter 7.1 Chapter 7.1 p. 1/2 Econometrics II Heij et al. Chapter 7.1 Linear Time Series Models for Stationary data Marius Ooms Tinbergen Institute Amsterdam Chapter 7.1 p. 2/2 Program Introduction Modelling philosophy

More information

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

Econometría 2: Análisis de series de Tiempo Econometría 2: Análisis de series de Tiempo Karoll GOMEZ kgomezp@unal.edu.co http://karollgomez.wordpress.com Segundo semestre 2016 II. Basic definitions A time series is a set of observations X t, each

More information

A time series is called strictly stationary if the joint distribution of every collection (Y t

A time series is called strictly stationary if the joint distribution of every collection (Y t 5 Time series A time series is a set of observations recorded over time. You can think for example at the GDP of a country over the years (or quarters) or the hourly measurements of temperature over a

More information

Università di Pavia. Forecasting. Eduardo Rossi

Università di Pavia. Forecasting. Eduardo Rossi Università di Pavia Forecasting Eduardo Rossi Mean Squared Error Forecast of Y t+1 based on a set of variables observed at date t, X t : Yt+1 t. The loss function MSE(Y t+1 t ) = E[Y t+1 Y t+1 t ]2 The

More information

ECONOMETRICS Part II PhD LBS

ECONOMETRICS Part II PhD LBS ECONOMETRICS Part II PhD LBS Luca Gambetti UAB, Barcelona GSE February-March 2014 1 Contacts Prof.: Luca Gambetti email: luca.gambetti@uab.es webpage: http://pareto.uab.es/lgambetti/ Description This is

More information

Midterm Suggested Solutions

Midterm Suggested Solutions CUHK Dept. of Economics Spring 2011 ECON 4120 Sung Y. Park Midterm Suggested Solutions Q1 (a) In time series, autocorrelation measures the correlation between y t and its lag y t τ. It is defined as. ρ(τ)

More information

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

Module 3. Descriptive Time Series Statistics and Introduction to Time Series Models Module 3 Descriptive Time Series Statistics and Introduction to Time Series Models Class notes for Statistics 451: Applied Time Series Iowa State University Copyright 2015 W Q Meeker November 11, 2015

More information

Chapter 3 - Temporal processes

Chapter 3 - Temporal processes STK4150 - Intro 1 Chapter 3 - Temporal processes Odd Kolbjørnsen and Geir Storvik January 23 2017 STK4150 - Intro 2 Temporal processes Data collected over time Past, present, future, change Temporal aspect

More information

E 4101/5101 Lecture 6: Spectral analysis

E 4101/5101 Lecture 6: Spectral analysis E 4101/5101 Lecture 6: Spectral analysis Ragnar Nymoen 3 March 2011 References to this lecture Hamilton Ch 6 Lecture note (on web page) For stationary variables/processes there is a close correspondence

More information

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

Lecture 3: Autoregressive Moving Average (ARMA) Models and their Practical Applications Lecture 3: Autoregressive Moving Average (ARMA) Models and their Practical Applications Prof. Massimo Guidolin 20192 Financial Econometrics Winter/Spring 2018 Overview Moving average processes Autoregressive

More information

Review Session: Econometrics - CLEFIN (20192)

Review Session: Econometrics - CLEFIN (20192) Review Session: Econometrics - CLEFIN (20192) Part II: Univariate time series analysis Daniele Bianchi March 20, 2013 Fundamentals Stationarity A time series is a sequence of random variables x t, t =

More information

Nonlinear time series

Nonlinear time series Based on the book by Fan/Yao: Nonlinear Time Series Robert M. Kunst robert.kunst@univie.ac.at University of Vienna and Institute for Advanced Studies Vienna October 27, 2009 Outline Characteristics of

More information

Lecture 2: Univariate Time Series

Lecture 2: Univariate Time Series Lecture 2: Univariate Time Series Analysis: Conditional and Unconditional Densities, Stationarity, ARMA Processes Prof. Massimo Guidolin 20192 Financial Econometrics Spring/Winter 2017 Overview Motivation:

More information

Covariances of ARMA Processes

Covariances of ARMA Processes Statistics 910, #10 1 Overview Covariances of ARMA Processes 1. Review ARMA models: causality and invertibility 2. AR covariance functions 3. MA and ARMA covariance functions 4. Partial autocorrelation

More information

Lesson 9: Autoregressive-Moving Average (ARMA) models

Lesson 9: Autoregressive-Moving Average (ARMA) models Lesson 9: Autoregressive-Moving Average (ARMA) models Dipartimento di Ingegneria e Scienze dell Informazione e Matematica Università dell Aquila, umberto.triacca@ec.univaq.it Introduction We have seen

More information

Econ 424 Time Series Concepts

Econ 424 Time Series Concepts Econ 424 Time Series Concepts Eric Zivot January 20 2015 Time Series Processes Stochastic (Random) Process { 1 2 +1 } = { } = sequence of random variables indexed by time Observed time series of length

More information

Applied time-series analysis

Applied time-series analysis Robert M. Kunst robert.kunst@univie.ac.at University of Vienna and Institute for Advanced Studies Vienna October 18, 2011 Outline Introduction and overview Econometric Time-Series Analysis In principle,

More information

ECON 616: Lecture 1: Time Series Basics

ECON 616: Lecture 1: Time Series Basics ECON 616: Lecture 1: Time Series Basics ED HERBST August 30, 2017 References Overview: Chapters 1-3 from Hamilton (1994). Technical Details: Chapters 2-3 from Brockwell and Davis (1987). Intuition: Chapters

More information

Problem Set 1 Solution Sketches Time Series Analysis Spring 2010

Problem Set 1 Solution Sketches Time Series Analysis Spring 2010 Problem Set 1 Solution Sketches Time Series Analysis Spring 2010 1. Construct a martingale difference process that is not weakly stationary. Simplest e.g.: Let Y t be a sequence of independent, non-identically

More information

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

Lecture 2: ARMA(p,q) models (part 2) Lecture 2: ARMA(p,q) models (part 2) 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

Time Series Analysis -- An Introduction -- AMS 586

Time Series Analysis -- An Introduction -- AMS 586 Time Series Analysis -- An Introduction -- AMS 586 1 Objectives of time series analysis Data description Data interpretation Modeling Control Prediction & Forecasting 2 Time-Series Data Numerical data

More information

Statistics of stochastic processes

Statistics of stochastic processes Introduction Statistics of stochastic processes Generally statistics is performed on observations y 1,..., y n assumed to be realizations of independent random variables Y 1,..., Y n. 14 settembre 2014

More information

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

STAT 443 Final Exam Review. 1 Basic Definitions. 2 Statistical Tests. L A TEXer: W. Kong STAT 443 Final Exam Review L A TEXer: W Kong 1 Basic Definitions Definition 11 The time series {X t } with E[X 2 t ] < is said to be weakly stationary if: 1 µ X (t) = E[X t ] is independent of t 2 γ X

More information

Econometric Forecasting

Econometric Forecasting Robert M. Kunst robert.kunst@univie.ac.at University of Vienna and Institute for Advanced Studies Vienna October 1, 2014 Outline Introduction Model-free extrapolation Univariate time-series models Trend

More information

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

Reliability and Risk Analysis. Time Series, Types of Trend Functions and Estimates of Trends Reliability and Risk Analysis Stochastic process The sequence of random variables {Y t, t = 0, ±1, ±2 } is called the stochastic process The mean function of a stochastic process {Y t} is the function

More information

EASTERN MEDITERRANEAN UNIVERSITY ECON 604, FALL 2007 DEPARTMENT OF ECONOMICS MEHMET BALCILAR ARIMA MODELS: IDENTIFICATION

EASTERN MEDITERRANEAN UNIVERSITY ECON 604, FALL 2007 DEPARTMENT OF ECONOMICS MEHMET BALCILAR ARIMA MODELS: IDENTIFICATION ARIMA MODELS: IDENTIFICATION A. Autocorrelations and Partial Autocorrelations 1. Summary of What We Know So Far: a) Series y t is to be modeled by Box-Jenkins methods. The first step was to convert y t

More information

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

Econometría 2: Análisis de series de Tiempo Econometría 2: Análisis de series de Tiempo Karoll GOMEZ kgomezp@unal.edu.co http://karollgomez.wordpress.com Segundo semestre 2016 III. Stationary models 1 Purely random process 2 Random walk (non-stationary)

More information

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

18.S096 Problem Set 4 Fall 2013 Time Series Due Date: 10/15/2013 18.S096 Problem Set 4 Fall 2013 Time Series Due Date: 10/15/2013 1. Covariance Stationary AR(2) Processes Suppose the discrete-time stochastic process {X t } follows a secondorder auto-regressive process

More information

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

Time Series Models and Inference. James L. Powell Department of Economics University of California, Berkeley Time Series Models and Inference James L. Powell Department of Economics University of California, Berkeley Overview In contrast to the classical linear regression model, in which the components of the

More information

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

LECTURES 2-3 : Stochastic Processes, Autocorrelation function. Stationarity. LECTURES 2-3 : Stochastic Processes, Autocorrelation function. Stationarity. Important points of Lecture 1: A time series {X t } is a series of observations taken sequentially over time: x t is an observation

More information

Stationary Stochastic Time Series Models

Stationary Stochastic Time Series Models Stationary Stochastic Time Series Models When modeling time series it is useful to regard an observed time series, (x 1,x,..., x n ), as the realisation of a stochastic process. In general a stochastic

More information

Economics Department LSE. Econometrics: Timeseries EXERCISE 1: SERIAL CORRELATION (ANALYTICAL)

Economics Department LSE. Econometrics: Timeseries EXERCISE 1: SERIAL CORRELATION (ANALYTICAL) Economics Department LSE EC402 Lent 2015 Danny Quah TW1.10.01A x7535 : Timeseries EXERCISE 1: SERIAL CORRELATION (ANALYTICAL) 1. Suppose ɛ is w.n. (0, σ 2 ), ρ < 1, and W t = ρw t 1 + ɛ t, for t = 1, 2,....

More information

Module 4. Stationary Time Series Models Part 1 MA Models and Their Properties

Module 4. Stationary Time Series Models Part 1 MA Models and Their Properties Module 4 Stationary Time Series Models Part 1 MA Models and Their Properties Class notes for Statistics 451: Applied Time Series Iowa State University Copyright 2015 W. Q. Meeker. February 14, 2016 20h

More information

University of Oxford. Statistical Methods Autocorrelation. Identification and Estimation

University of Oxford. Statistical Methods Autocorrelation. Identification and Estimation University of Oxford Statistical Methods Autocorrelation Identification and Estimation Dr. Órlaith Burke Michaelmas Term, 2011 Department of Statistics, 1 South Parks Road, Oxford OX1 3TG Contents 1 Model

More information

Time Series Analysis. James D. Hamilton PRINCETON UNIVERSITY PRESS PRINCETON, NEW JERSEY

Time Series Analysis. James D. Hamilton PRINCETON UNIVERSITY PRESS PRINCETON, NEW JERSEY Time Series Analysis James D. Hamilton PRINCETON UNIVERSITY PRESS PRINCETON, NEW JERSEY & Contents PREFACE xiii 1 1.1. 1.2. Difference Equations First-Order Difference Equations 1 /?th-order Difference

More information

Ch.10 Autocorrelated Disturbances (June 15, 2016)

Ch.10 Autocorrelated Disturbances (June 15, 2016) Ch10 Autocorrelated Disturbances (June 15, 2016) In a time-series linear regression model setting, Y t = x tβ + u t, t = 1, 2,, T, (10-1) a common problem is autocorrelation, or serial correlation of the

More information

Lesson 2: Analysis of time series

Lesson 2: Analysis of time series Lesson 2: Analysis of time series Time series Main aims of time series analysis choosing right model statistical testing forecast driving and optimalisation Problems in analysis of time series time problems

More information

Chapter 9: Forecasting

Chapter 9: Forecasting Chapter 9: Forecasting One of the critical goals of time series analysis is to forecast (predict) the values of the time series at times in the future. When forecasting, we ideally should evaluate the

More information

Marcel Dettling. Applied Time Series Analysis SS 2013 Week 05. ETH Zürich, March 18, Institute for Data Analysis and Process Design

Marcel Dettling. Applied Time Series Analysis SS 2013 Week 05. ETH Zürich, March 18, Institute for Data Analysis and Process Design Marcel Dettling Institute for Data Analysis and Process Design Zurich University of Applied Sciences marcel.dettling@zhaw.ch http://stat.ethz.ch/~dettling ETH Zürich, March 18, 2013 1 Basics of Modeling

More information

EC402: Serial Correlation. Danny Quah Economics Department, LSE Lent 2015

EC402: Serial Correlation. Danny Quah Economics Department, LSE Lent 2015 EC402: Serial Correlation Danny Quah Economics Department, LSE Lent 2015 OUTLINE 1. Stationarity 1.1 Covariance stationarity 1.2 Explicit Models. Special cases: ARMA processes 2. Some complex numbers.

More information

Time Series Analysis. James D. Hamilton PRINCETON UNIVERSITY PRESS PRINCETON, NEW JERSEY

Time Series Analysis. James D. Hamilton PRINCETON UNIVERSITY PRESS PRINCETON, NEW JERSEY Time Series Analysis James D. Hamilton PRINCETON UNIVERSITY PRESS PRINCETON, NEW JERSEY PREFACE xiii 1 Difference Equations 1.1. First-Order Difference Equations 1 1.2. pth-order Difference Equations 7

More information

Identifiability, Invertibility

Identifiability, Invertibility Identifiability, Invertibility Defn: If {ǫ t } is a white noise series and µ and b 0,..., b p are constants then X t = µ + b 0 ǫ t + b ǫ t + + b p ǫ t p is a moving average of order p; write MA(p). Q:

More information

Trend-Cycle Decompositions

Trend-Cycle Decompositions Trend-Cycle Decompositions Eric Zivot April 22, 2005 1 Introduction A convenient way of representing an economic time series y t is through the so-called trend-cycle decomposition y t = TD t + Z t (1)

More information

Week 5 Quantitative Analysis of Financial Markets Characterizing Cycles

Week 5 Quantitative Analysis of Financial Markets Characterizing Cycles Week 5 Quantitative Analysis of Financial Markets Characterizing Cycles Christopher Ting http://www.mysmu.edu/faculty/christophert/ Christopher Ting : christopherting@smu.edu.sg : 6828 0364 : LKCSB 5036

More information

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

Stochastic Processes: I. consider bowl of worms model for oscilloscope experiment: Stochastic Processes: I consider bowl of worms model for oscilloscope experiment: SAPAscope 2.0 / 0 1 RESET SAPA2e 22, 23 II 1 stochastic process is: Stochastic Processes: II informally: bowl + drawing

More information

γ 0 = Var(X i ) = Var(φ 1 X i 1 +W i ) = φ 2 1γ 0 +σ 2, which implies that we must have φ 1 < 1, and γ 0 = σ2 . 1 φ 2 1 We may also calculate for j 1

γ 0 = Var(X i ) = Var(φ 1 X i 1 +W i ) = φ 2 1γ 0 +σ 2, which implies that we must have φ 1 < 1, and γ 0 = σ2 . 1 φ 2 1 We may also calculate for j 1 4.2 Autoregressive (AR) Moving average models are causal linear processes by definition. There is another class of models, based on a recursive formulation similar to the exponentially weighted moving

More information

Non-Stationary Time Series and Unit Root Testing

Non-Stationary Time Series and Unit Root Testing Econometrics II Non-Stationary Time Series and Unit Root Testing Morten Nyboe Tabor Course Outline: Non-Stationary Time Series and Unit Root Testing 1 Stationarity and Deviation from Stationarity Trend-Stationarity

More information

Define y t+h t as the forecast of y t+h based on I t known parameters. The forecast error is. Forecasting

Define y t+h t as the forecast of y t+h based on I t known parameters. The forecast error is. Forecasting Forecasting Let {y t } be a covariance stationary are ergodic process, eg an ARMA(p, q) process with Wold representation y t = X μ + ψ j ε t j, ε t ~WN(0,σ 2 ) j=0 = μ + ε t + ψ 1 ε t 1 + ψ 2 ε t 2 + Let

More information

We use the centered realization z t z in the computation. Also used in computing sample autocovariances and autocorrelations.

We use the centered realization z t z in the computation. Also used in computing sample autocovariances and autocorrelations. Stationary Time Series Models Part 1 MA Models and Their Properties Class notes for Statistics 41: Applied Time Series Ioa State University Copyright 1 W. Q. Meeker. Segment 1 ARMA Notation, Conventions,

More information

3 Theory of stationary random processes

3 Theory of stationary random processes 3 Theory of stationary random processes 3.1 Linear filters and the General linear process A filter is a transformation of one random sequence {U t } into another, {Y t }. A linear filter is a transformation

More information

ARMA Estimation Recipes

ARMA Estimation Recipes Econ. 1B D. McFadden, Fall 000 1. Preliminaries ARMA Estimation Recipes hese notes summarize procedures for estimating the lag coefficients in the stationary ARMA(p,q) model (1) y t = µ +a 1 (y t-1 -µ)

More information

11. Further Issues in Using OLS with TS Data

11. Further Issues in Using OLS with TS Data 11. Further Issues in Using OLS with TS Data With TS, including lags of the dependent variable often allow us to fit much better the variation in y Exact distribution theory is rarely available in TS applications,

More information

Dynamic models. Dependent data The AR(p) model The MA(q) model Hidden Markov models. 6 Dynamic models

Dynamic models. Dependent data The AR(p) model The MA(q) model Hidden Markov models. 6 Dynamic models 6 Dependent data The AR(p) model The MA(q) model Hidden Markov models Dependent data Dependent data Huge portion of real-life data involving dependent datapoints Example (Capture-recapture) capture histories

More information

Ross Bettinger, Analytical Consultant, Seattle, WA

Ross Bettinger, Analytical Consultant, Seattle, WA ABSTRACT DYNAMIC REGRESSION IN ARIMA MODELING Ross Bettinger, Analytical Consultant, Seattle, WA Box-Jenkins time series models that contain exogenous predictor variables are called dynamic regression

More information

Time Series 3. Robert Almgren. Sept. 28, 2009

Time Series 3. Robert Almgren. Sept. 28, 2009 Time Series 3 Robert Almgren Sept. 28, 2009 Last time we discussed two main categories of linear models, and their combination. Here w t denotes a white noise: a stationary process with E w t ) = 0, E

More information

Ch. 19 Models of Nonstationary Time Series

Ch. 19 Models of Nonstationary Time Series Ch. 19 Models of Nonstationary Time Series In time series analysis we do not confine ourselves to the analysis of stationary time series. In fact, most of the time series we encounter are non stationary.

More information

Ch 5. Models for Nonstationary Time Series. Time Series Analysis

Ch 5. Models for Nonstationary Time Series. Time Series Analysis We have studied some deterministic and some stationary trend models. However, many time series data cannot be modeled in either way. Ex. The data set oil.price displays an increasing variation from the

More information

Non-Stationary Time Series and Unit Root Testing

Non-Stationary Time Series and Unit Root Testing Econometrics II Non-Stationary Time Series and Unit Root Testing Morten Nyboe Tabor Course Outline: Non-Stationary Time Series and Unit Root Testing 1 Stationarity and Deviation from Stationarity Trend-Stationarity

More information

Time Series I Time Domain Methods

Time Series I Time Domain Methods Astrostatistics Summer School Penn State University University Park, PA 16802 May 21, 2007 Overview Filtering and the Likelihood Function Time series is the study of data consisting of a sequence of DEPENDENT

More information

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

Stat 248 Lab 2: Stationarity, More EDA, Basic TS Models Stat 248 Lab 2: Stationarity, More EDA, Basic TS Models Tessa L. Childers-Day February 8, 2013 1 Introduction Today s section will deal with topics such as: the mean function, the auto- and cross-covariance

More information

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

For a stochastic process {Y t : t = 0, ±1, ±2, ±3, }, the mean function is defined by (2.2.1) ± 2..., γ t, CHAPTER 2 FUNDAMENTAL CONCEPTS This chapter describes the fundamental concepts in the theory of time series models. In particular, we introduce the concepts of stochastic processes, mean and covariance

More information

Module 9: Stationary Processes

Module 9: Stationary Processes Module 9: Stationary Processes Lecture 1 Stationary Processes 1 Introduction A stationary process is a stochastic process whose joint probability distribution does not change when shifted in time or space.

More information

Econometrics of financial markets, -solutions to seminar 1. Problem 1

Econometrics of financial markets, -solutions to seminar 1. Problem 1 Econometrics of financial markets, -solutions to seminar 1. Problem 1 a) Estimate with OLS. For any regression y i α + βx i + u i for OLS to be unbiased we need cov (u i,x j )0 i, j. For the autoregressive

More information

Empirical Macroeconomics

Empirical Macroeconomics Empirical Macroeconomics Francesco Franco Nova SBE April 5, 2016 Francesco Franco Empirical Macroeconomics 1/39 Growth and Fluctuations Supply and Demand Figure : US dynamics Francesco Franco Empirical

More information

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

{ } Stochastic processes. Models for time series. Specification of a process. Specification of a process. , X t3. ,...X tn } Stochastic processes Time series are an example of a stochastic or random process Models for time series A stochastic process is 'a statistical phenomenon that evolves in time according to probabilistic

More information

APPLIED ECONOMETRIC TIME SERIES 4TH EDITION

APPLIED ECONOMETRIC TIME SERIES 4TH EDITION APPLIED ECONOMETRIC TIME SERIES 4TH EDITION Chapter 2: STATIONARY TIME-SERIES MODELS WALTER ENDERS, UNIVERSITY OF ALABAMA Copyright 2015 John Wiley & Sons, Inc. Section 1 STOCHASTIC DIFFERENCE EQUATION

More information