Time Series Models and Data Generation Processes
|
|
- Miranda Stokes
- 5 years ago
- Views:
Transcription
1 Time Series Models and Data Generation Processes Athanassios Stavrakoudis 27/3/ / 39
2 Table of Contents 1 without drift with drift (1,1) 2 / 39
3 example T <- 100 y <- rnorm (T) y <- ts(t) plot (y, lwd =2, col =2) 3 / 39
4 Histogram of with noise example > mean (y) [1] > var (y) [1] > sd(y) [1] hist (y, xlim=c ( -3,3)) 4 / 39
5 Correlation of noise noise > library ( corrplot ) > d <- data. frame ( cbind (y [1:25], y [26:50], y [51:75], + y [76:100])) > cor <- cor (d) > corrplot (cor, method =" shade ") 5 / 39
6 Table of Contents without drift with drift 2 without drift with drift (1,1) 6 / 39
7 y example without drift with drift y t = y t 1 + ɛ t, t = 1, 2,..., T T <- 100 y <- cumsum ( rnorm (T)) y <- ts(y) plot (y, lwd =2, col =2) random walk Time 7 / 39
8 y example x10 without drift with drift random walk Time T <- 100 N <- 10 plot (y, xlim =c(0,t), ylim =c ( -20,20), type ="n") for (t in 1:N) { y1 <- cumsum ( rnorm (T)) lines (y1, col =t+2, lwd =2, lty =2) } 8 / 39
9 y example x1000 without drift with drift random walk Time T <- 100 N < plot (y, xlim =c(0,t), ylim =c ( -20,20), type ="n") for (t in 1:N) { y1 <- cumsum ( rnorm (T)) lines (y1, col =t+2, lwd =2, lty =2) } 9 / 39
10 without drift with drift Distribution of end value of random walk Y t = Y t 1 + e t, t = 1, 2, What is y 100, Var(y 100 ) or distribution of y 100? Histogram of x T <- 100 N < x <- rep (0, N) for ( i in 1: N) { y1 <- cumsum ( rnorm (T)) x[i] <- y1[t] } hist (x) Frequency x 10 / 39
11 correlation without drift with drift X1 X2 X3 X4 1 X X X X > library ( corrplot ) > d <- data.frame (cbind (y [1:25], y [26:50], y [51:75], y [76:100])) > cor <- cor (d) > corrplot (cor, method=" shade ") 11 / 39
12 y with drift Drift example without drift with drift y t = µ + y t 1 + e t, t = 1, 2, T <- 100 mu <- 0.1 y <- rep (0, T) y0 <- 0 e <- rnorm ( T) y [1] <- mu + y0 + e [1] for ( t in 2: T) { y[ t] <- mu + y[t -1] + e[ t] } y <- ts(y) random walk with drift Time 12 / 39
13 y with drift x1000 without drift with drift N < for ( i in 1: N) { y1 <- rep (0, T) y0 <- 0 e <- rnorm ( T) y [1] <- mu + y0 + e [1] for ( t in 2: T) { y1[t] <- mu + y1[t -1] + e[t] } } y1 <- ts(y1) lines (y1, col =i+2, lwd =2, lty =2) random walk with drift x Time 13 / 39
14 without drift with drift Distribution of end value of random walk with drift Y t = Y t 1 + e t, t = 1, 2, What is y 100, Var(y 100 ) or distribution of y 100? Histogram of x E(y t ) = y 0 + µt V (y t ) = tσe 2 Frequency / 39
15 Table of Contents (1,1) without drift with drift 3 (1,1) 15 / 39
16 y Autoregressive model (1,1) Autoregressive model Y t = µ + ρ 1 Y t 1 + ρ 2 Y t ρ p Y t p + ɛ t µ, ρ i constants, ɛ t white noise. random walk 1st order autoregressive model y t = y t 1 + ɛ t Time 16 / 39
17 (1,1) AR(1) Data Generation Process Autoregressive model µ, ρ constants, ɛ t white noise. Y t = µ + ρy t 1 + ɛ t 1st order autoregressive model > rho <- 0.8 > mu <- 0 > y <- NA > y <- rnorm (1) > for ( t in 2: T) { y[ t] <- mu + rho * y[t -1] + rnorm (1) } y <- ts(y) 17 / 39
18 (1,1) AR(1) Data Generation Process Autoregressive model µ, ρ constants, ɛ t white noise. Y t = µ + ρy t 1 + ɛ t 1st order autoregressive model > rho <- 0.8 > mu <- 0 > y1 <- mu + arima. sim ( n=t, list (ar=c( rho )) ) 18 / 39
19 AR(1) x100 (1,1) y t = 0.8y t 1 + ɛ t AR(1) x 100, rho=0.8 y Time 19 / 39
20 AR(1) various ρ (1,1) y t = ρy t 1 + ɛ t AR(1) x 100, rho=0.8 y Time 20 / 39
21 AR(2) (1,1) y t = 0.5y t y t 2 + ɛ t AR(2), rho1=0.5 rho2= y > rho1 <- 0.5 > rho2 <- 0.3 > y <- arima. sim ( n=t, list (ar=c (0.5, 0.3)) ) Time 21 / 39
22 y AR(2) x 100 (1,1) AR(2) x 100, rho1=0.5 rho2=0.3 AR(2) example y t = 0.5y t y t 2 + ɛ t Time 22 / 39
23 y Moving average model (1,1) Moving average model Y t = µ + ɛ t + θ 1 ɛ t 1 + θ 2 ɛ t θ p ɛ t p µ, θ i constants, ɛ t white noise. 1st order moving average model y t = ɛ t + 0.8θ t Time 23 / 39
24 (1,1) MA(1) Data Generation Process Moving average example model Y t = 0 + ɛ t + 0.8ɛ t 1 > mu <- 0 > theta <- 0.8 > y <- NA > e <- NA > e0 <- rnorm (1) > e <- rnorm ( T) > y [1] <- mu + e [1] - theta *e0 > for ( t in 2: T) { y[ t] <- mu + e[ t] + theta * e[t -1] } > y <- ts(y) 24 / 39
25 (1,1) MA(1) Data Generation Process with arima.sim Moving average example model Y t = 0 + ɛ t + 0.8ɛ t 1 > y <- 0 + arima. sim ( n=t, list (ma=c (0.8)) ) y Time 25 / 39
26 MA(1) x100 (1,1) Y t = ɛ t + 0.8ɛ t 1 MA(1) x 100, theta=0.8 y Time 26 / 39
27 MA(1) various θ (1,1) Y t = ɛ t + 0.8ɛ t 1 MA(1) various theta y Time 27 / 39
28 MA(1) estimation (1,1) J. Durbin, Biometrika, Vol. 46, (1959), pp / 39
29 MA(2) (1,1) y t = ɛ t + 0.5ɛ t ɛ t 2 + ɛ t AR(2), rho1=0.5 rho2= y > rho1 <- 0.5 > rho2 <- 0.3 > y <- arima. sim ( n=t, list (ar=c (0.5, 0.3)) ) Time 29 / 39
30 MA(2) step by step (1,1) y t = ɛ t + 0.5ɛ t ɛ t 2 T <- 100 theta1 <- 0.8 theta2 <- 0.3 mu <- 0.0 y <- NA e0 <- rnorm (1) e1 <- rnorm (1) e <- rnorm ( T) y [1] <- mu + e [1] + theta1 * e0 + theta2 * e1 y [2] <- mu + e [2] + theta1 *e1 + theta2 *e [1] for ( t in 3: T) { y[ t] <- mu + e[ t] + theta1 * e[t -1] + theta2 * e[t -2] } y <- ts(y) 30 / 39
31 y (1,1) (1,1) Data Generation Process with arima.sim Y t = µ + ρy t 1 + θɛ t 1 + ɛ t y t = 0 + ɛ t + 0.8y t 1 0.5ɛ t Time y <- arima. sim (n =100, list (ar=c (0.8), ma=c ( -0.5))) 31 / 39
32 (1,1) step by step (1,1) y t = 0 + ɛ t + 0.8y t 1 0.5ɛ t 1 T <- 100 rho <- 0.8 theta < mu <- 0.0 y <- NA y0 <- mu e <- rnorm ( T) e0 <- rnorm (1) y [1] <- mu + rho *y0 + theta *e0 + e [1] for ( t in 2: T) { y[t] <- mu + + rho *y[t -1] + theta *e[t -1] + e[t] } y <- ts(y) 32 / 39
33 Table of Contents without drift with drift (1,1) 4 33 / 39
34 Choose appropriate starting values y t = µ + ρy t + ɛ t E(y t ) = 0 V (y t ) = σ2 ɛ 1 ρ 2 y0 <- 0 y0 <- rnorm (1) y0 <- rnorm (1, mu/(1 - rho ), 1/(1 - rho ^2)) 34 / 39
35 Use efficient declaration of variables x <- NA for ( i in 1:100) { x[ i] = 0 } x <- rep (0, 100) 35 / 39
36 Avoid unnecessary loops x <- cumsum ( rnorm (100)) x <- rep (0, 100) x [1] <- rnorm (1) for ( i in 2:100) { x[ i] <- x[i -1] + rnorm } 36 / 39
37 Plot random walk with drift x1000 y Time 37 / 39
38 Test to be continued / 39
39 Σχόλια και ερωτήσεις Ωηιτε νοισε Ρανδομ ωαλκ ΑΡΜΑ ὃνλςυσιονς Σας ευχαριστώ για την προσοχή σας Είμαι στη διάθεσή σας για σχόλια, απορίες και ερωτήσεις 39 / 39
INTRODUCTION TO TIME SERIES ANALYSIS. The Simple Moving Average Model
INTRODUCTION TO TIME SERIES ANALYSIS The Simple Moving Average Model The Simple Moving Average Model The simple moving average (MA) model: More formally: where t is mean zero white noise (WN). Three parameters:
More informationCh 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 informationUnivariate ARIMA Forecasts (Theory)
Univariate ARIMA Forecasts (Theory) Al Nosedal University of Toronto April 10, 2016 Al Nosedal University of Toronto Univariate ARIMA Forecasts (Theory) April 10, 2016 1 / 23 All univariate forecasting
More informationChapter 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 informationCh 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 informationECON/FIN 250: Forecasting in Finance and Economics: Section 7: Unit Roots & Dickey-Fuller Tests
ECON/FIN 250: Forecasting in Finance and Economics: Section 7: Unit Roots & Dickey-Fuller Tests Patrick Herb Brandeis University Spring 2016 Patrick Herb (Brandeis University) Unit Root Tests ECON/FIN
More informationTime Series Solutions HT 2009
Time Series Solutions HT 2009 1. Let {X t } be the ARMA(1, 1) process, X t φx t 1 = ɛ t + θɛ t 1, {ɛ t } WN(0, σ 2 ), where φ < 1 and θ < 1. Show that the autocorrelation function of {X t } is given by
More informationUniversity 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 informationNonstationary time series models
13 November, 2009 Goals Trends in economic data. Alternative models of time series trends: deterministic trend, and stochastic trend. Comparison of deterministic and stochastic trend models The statistical
More informationCh 9. FORECASTING. Time Series Analysis
In this chapter, we assume the model is known exactly, and consider the calculation of forecasts and their properties for both deterministic trend models and ARIMA models. 9.1 Minimum Mean Square Error
More information03 Time series with trend and seasonality components. Andrius Buteikis,
03 Time series with trend and seasonality components Andrius Buteikis, andrius.buteikis@mif.vu.lt http://web.vu.lt/mif/a.buteikis/ Time series with deterministic components Up until now we assumed our
More informationUnivariate ARIMA Models
Univariate ARIMA Models ARIMA Model Building Steps: Identification: Using graphs, statistics, ACFs and PACFs, transformations, etc. to achieve stationary and tentatively identify patterns and model components.
More informationLecture 6a: Unit Root and ARIMA Models
Lecture 6a: Unit Root and ARIMA Models 1 2 Big Picture A time series is non-stationary if it contains a unit root unit root nonstationary The reverse is not true. For example, y t = cos(t) + u t has no
More informationf Simulation Example: Simulating p-values of Two Sample Variance Test. Name: Example June 26, 2011 Math Treibergs
Math 3070 1. Treibergs f Simulation Example: Simulating p-values of Two Sample Variance Test. Name: Example June 26, 2011 The t-test is fairly robust with regard to actual distribution of data. But the
More informationSTAT 436 / Lecture 16: Key
STAT 436 / 536 - Lecture 16: Key Modeling Non-Stationary Time Series Many time series models are non-stationary. Recall a time series is stationary if the mean and variance are constant in time and the
More informationTime Series. Chapter Time Series Data
Chapter 10 Time Series 10.1 Time Series Data The main difference between time series data and cross-sectional data is the temporal ordering. To emphasize the proper ordering of the observations, Table
More informationMultivariate Time Series
Multivariate Time Series Fall 2008 Environmental Econometrics (GR03) TSII Fall 2008 1 / 16 More on AR(1) In AR(1) model (Y t = µ + ρy t 1 + u t ) with ρ = 1, the series is said to have a unit root or a
More informationThe Box-Cox Transformation and ARIMA Model Fitting
The Box-Cox Transformation and ARIMA Model Fitting Outline 1 4.3: Variance Stabilizing Transformations 2 6.1: ARIMA Model Identification 3 Homework 3b Arthur Berg The Box-Cox Transformation and ARIMA Model
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
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 informationSTAT Financial Time Series
STAT 6104 - Financial Time Series Chapter 4 - Estimation in the time Domain Chun Yip Yau (CUHK) STAT 6104:Financial Time Series 1 / 46 Agenda 1 Introduction 2 Moment Estimates 3 Autoregressive Models (AR
More informationCharacteristics of Time Series
Characteristics of Time Series Al Nosedal University of Toronto January 12, 2016 Al Nosedal University of Toronto Characteristics of Time Series January 12, 2016 1 / 37 Signal and Noise In general, most
More informationF9 F10: Autocorrelation
F9 F10: Autocorrelation Feng Li Department of Statistics, Stockholm University Introduction In the classic regression model we assume cov(u i, u j x i, x k ) = E(u i, u j ) = 0 What if we break the assumption?
More informationECON/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 informationSTA 6857 ARIMA and SARIMA Models ( 3.8 and 3.9) Outline. Return Rate. US Gross National Product
STA 6857 ARIMA and SARIMA Models ( 3.8 and 3.9) Outline 1 Building ARIMA Models 2 SARIMA 3 Homework 4c Arthur Berg STA 6857 ARIMA and SARIMA Models ( 3.8 and 3.9) 2/ 34 Return Rate Suppose x t is the value
More informationWe will only present the general ideas on how to obtain. follow closely the AR(1) and AR(2) cases presented before.
ACF and PACF of an AR(p) We will only present the general ideas on how to obtain the ACF and PACF of an AR(p) model since the details follow closely the AR(1) and AR(2) cases presented before. Recall that
More informationNon-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 informationTime Series Methods. Sanjaya Desilva
Time Series Methods Sanjaya Desilva 1 Dynamic Models In estimating time series models, sometimes we need to explicitly model the temporal relationships between variables, i.e. does X affect Y in the same
More informationEconomics 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 informationThe Welch-Satterthwaite approximation
The Welch-Satterthwaite approximation Aidan Rocke Charles University of Prague aidanrocke@gmail.com October 19, 2018 Aidan Rocke (CU) Welch-Satterthwaite October 19, 2018 1 / 25 Overview 1 Motivation 2
More informationEconometrics I. Professor William Greene Stern School of Business Department of Economics 25-1/25. Part 25: Time Series
Econometrics I Professor William Greene Stern School of Business Department of Economics 25-1/25 Econometrics I Part 25 Time Series 25-2/25 Modeling an Economic Time Series Observed y 0, y 1,, y t, What
More informationAdvanced Econometrics
Based on the textbook by Verbeek: A Guide to Modern Econometrics Robert M. Kunst robert.kunst@univie.ac.at University of Vienna and Institute for Advanced Studies Vienna May 2, 2013 Outline Univariate
More informationMetric Predicted Variable on Two Groups
Metric Predicted Variable on Two Groups Tim Frasier Copyright Tim Frasier This work is licensed under the Creative Commons Attribution 4.0 International license. Click here for more information. Goals
More informationNon-independence due to Time Correlation (Chapter 14)
Non-independence due to Time Correlation (Chapter 14) When we model the mean structure with ordinary least squares, the mean structure explains the general trends in the data with respect to our dependent
More informationParameter Estimation
1 / 44 Parameter Estimation Saravanan Vijayakumaran sarva@ee.iitb.ac.in Department of Electrical Engineering Indian Institute of Technology Bombay October 25, 2012 Motivation System Model used to Derive
More informationSTAT 675 Statistical Computing
STAT 675 Statistical Computing Solutions to Homework Exercises Chapter 3 Note that some outputs may differ, depending on machine settings, generating seeds, random variate generation, etc. 3.1. Sample
More information6 Stationary Models. 6.1 Purpose. 6.2 Strictly stationary series
6 Stationary Models 6.1 Purpose As seen in the previous chapters, a time series will often have well-defined components, such as a trend and a seasonal pattern. A well-chosen linear regression may account
More information10) Time series econometrics
30C00200 Econometrics 10) Time series econometrics Timo Kuosmanen Professor, Ph.D. 1 Topics today Static vs. dynamic time series model Suprious regression Stationary and nonstationary time series Unit
More informationIntroductory Statistics with R: Simple Inferences for continuous data
Introductory Statistics with R: Simple Inferences for continuous data Statistical Packages STAT 1301 / 2300, Fall 2014 Sungkyu Jung Department of Statistics University of Pittsburgh E-mail: sungkyu@pitt.edu
More informationStatistical Simulation An Introduction
James H. Steiger Department of Psychology and Human Development Vanderbilt University Regression Modeling, 2009 Simulation Through Bootstrapping Introduction 1 Introduction When We Don t Need Simulation
More information7 Introduction to Time Series
Econ 495 - Econometric Review 1 7 Introduction to Time Series 7.1 Time Series vs. Cross-Sectional Data Time series data has a temporal ordering, unlike cross-section data, we will need to changes some
More information3. Shrink the vector you just created by removing the first element. One could also use the [] operators with a negative index to remove an element.
BMI 713: Computational Statistical for Biomedical Sciences Assignment 1 September 9, 2010 (due Sept 16 for Part 1; Sept 23 for Part 2 and 3) 1 Basic 1. Use the : operator to create the vector (1, 2, 3,
More informationCh 6. Model Specification. Time Series Analysis
We start to build ARIMA(p,d,q) models. The subjects include: 1 how to determine p, d, q for a given series (Chapter 6); 2 how to estimate the parameters (φ s and θ s) of a specific ARIMA(p,d,q) model (Chapter
More informationWeek 9: An Introduction to Time Series
BUS41100 Applied Regression Analysis Week 9: An Introduction to Time Series Dependent data, autocorrelation, AR and periodic regression models Max H. Farrell The University of Chicago Booth School of Business
More informationWhite Noise Processes (Section 6.2)
White Noise Processes (Section 6.) Recall that covariance stationary processes are time series, y t, such. E(y t ) = µ for all t. Var(y t ) = σ for all t, σ < 3. Cov(y t,y t-τ ) = γ(τ) for all t and τ
More informationModule 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 informationProblem 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 informationState-space Model. Eduardo Rossi University of Pavia. November Rossi State-space Model Financial Econometrics / 49
State-space Model Eduardo Rossi University of Pavia November 2013 Rossi State-space Model Financial Econometrics - 2013 1 / 49 Outline 1 Introduction 2 The Kalman filter 3 Forecast errors 4 State smoothing
More informationStatistics 349(02) Review Questions
Statistics 349(0) Review Questions I. Suppose that for N = 80 observations on the time series { : t T} the following statistics were calculated: _ x = 10.54 C(0) = 4.99 In addition the sample autocorrelation
More informationClassic Time Series Analysis
Classic Time Series Analysis Concepts and Definitions Let Y be a random number with PDF f Y t ~f,t Define t =E[Y t ] m(t) is known as the trend Define the autocovariance t, s =COV [Y t,y s ] =E[ Y t t
More informationLECTURE 10: MORE ON RANDOM PROCESSES
LECTURE 10: MORE ON RANDOM PROCESSES AND SERIAL CORRELATION 2 Classification of random processes (cont d) stationary vs. non-stationary processes stationary = distribution does not change over time more
More informationFirst steps of multivariate data analysis
First steps of multivariate data analysis November 28, 2016 Let s Have Some Coffee We reproduce the coffee example from Carmona, page 60 ff. This vignette is the first excursion away from univariate data.
More informationThe OmicCircos usages by examples
The OmicCircos usages by examples Ying Hu and Chunhua Yan October 30, 2017 Contents 1 Introduction 2 2 Input file formats 2 2.1 segment data............................................. 2 2.2 mapping data.............................................
More informationNon-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 informationFinancial Time Series Analysis: Part II
Department of Mathematics and Statistics, University of Vaasa, Finland Spring 2017 1 Unit root Deterministic trend Stochastic trend Testing for unit root ADF-test (Augmented Dickey-Fuller test) Testing
More informationNonstationarity. Some complications in the distributions. Matthieu Stigler Matthieu.Stigler at gmail.com. January 9, Version 1.
Nonstationarity Some complications in the distributions Matthieu Stigler Matthieu.Stigler at gmail.com January 9, 2009 Version 1.1 This document is released under the Creative Commons Attribution-Noncommercial
More informationReview 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 informationStat 565. Spurious Regression. Charlotte Wickham. stat565.cwick.co.nz. Feb
Stat 565 Spurious Regression Feb 16 2016 Charlotte Wickham stat565.cwick.co.nz Last time: We can extend regression to deal with correlated errors. Today: Explore the concept of spurious correlation/regression
More informationQuestions and Answers on Unit Roots, Cointegration, VARs and VECMs
Questions and Answers on Unit Roots, Cointegration, VARs and VECMs L. Magee Winter, 2012 1. Let ɛ t, t = 1,..., T be a series of independent draws from a N[0,1] distribution. Let w t, t = 1,..., T, be
More informationSOME BASICS OF TIME-SERIES ANALYSIS
SOME BASICS OF TIME-SERIES ANALYSIS John E. Floyd University of Toronto December 8, 26 An excellent place to learn about time series analysis is from Walter Enders textbook. For a basic understanding of
More informationTransformations for variance stabilization
FORECASTING USING R Transformations for variance stabilization Rob Hyndman Author, forecast Variance stabilization If the data show increasing variation as the level of the series increases, then a transformation
More informationLecture 8: ARIMA Forecasting Please read Chapters 7 and 8 of MWH Book
Lecture 8: ARIMA Forecasting Please read Chapters 7 and 8 of MWH Book 1 Predicting Error 1. y denotes a random variable (stock price, weather, etc) 2. Sometimes we want to do prediction (guessing). Let
More informationSeasonal Models and Seasonal Adjustment
LECTURE 10 Seasonal Models and Seasonal Adjustment So far, we have relied upon the method of trigonometrical regression for building models which can be used for forecasting seasonal economic time series.
More information7 Introduction to Time Series Time Series vs. Cross-Sectional Data Detrending Time Series... 15
Econ 495 - Econometric Review 1 Contents 7 Introduction to Time Series 3 7.1 Time Series vs. Cross-Sectional Data............ 3 7.2 Detrending Time Series................... 15 7.3 Types of Stochastic
More informationTime Series Econometrics 4 Vijayamohanan Pillai N
Time Series Econometrics 4 Vijayamohanan Pillai N Vijayamohan: CDS MPhil: Time Series 5 1 Autoregressive Moving Average Process: ARMA(p, q) Vijayamohan: CDS MPhil: Time Series 5 2 1 Autoregressive Moving
More information3 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 informationFinal Exam November 24, Problem-1: Consider random walk with drift plus a linear time trend: ( t
Problem-1: Consider random walk with drift plus a linear time trend: y t = c + y t 1 + δ t + ϵ t, (1) where {ϵ t } is white noise with E[ϵ 2 t ] = σ 2 >, and y is a non-stochastic initial value. (a) Show
More informationEmpirical Macroeconomics
Empirical Macroeconomics Francesco Franco Nova SBE April 18, 2018 Francesco Franco Empirical Macroeconomics 1/23 Invertible Moving Average A difference equation interpretation Consider an invertible MA1)
More informationLecture 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 informationMixed models with correlated measurement errors
Mixed models with correlated measurement errors Rasmus Waagepetersen October 9, 2018 Example from Department of Health Technology 25 subjects where exposed to electric pulses of 11 different durations
More information9) Time series econometrics
30C00200 Econometrics 9) Time series econometrics Timo Kuosmanen Professor Management Science http://nomepre.net/index.php/timokuosmanen 1 Macroeconomic data: GDP Inflation rate Examples of time series
More informationSTA 6857 ARIMA and SARIMA Models ( 3.8 and 3.9)
STA 6857 ARIMA and SARIMA Models ( 3.8 and 3.9) Outline 1 Building ARIMA Models 2 SARIMA 3 Homework 4c Arthur Berg STA 6857 ARIMA and SARIMA Models ( 3.8 and 3.9) 2/ 34 Outline 1 Building ARIMA Models
More informationNon-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 informationNonstationary Time Series:
Nonstationary Time Series: Unit Roots Egon Zakrajšek Division of Monetary Affairs Federal Reserve Board Summer School in Financial Mathematics Faculty of Mathematics & Physics University of Ljubljana September
More informationThe Bernstein Mechansim
The Bernstein Mechansim diffpriv team July 18, 2017 Abstract This vignette presents a short tutorial on the application of the generic Bernstein mechanism DPMechBernstein for differentially-private release
More informationAPPLIED 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 informationLearning Deep Broadband Hongjoo LEE
Learning Deep Broadband Network@HOME Hongjoo LEE Who am I? Machine Learning Engineer Software Engineer Fraud Detection System Software Defect Prediction Email Services (40+ mil. users) High traffic server
More informationTime Series Analysis
Time Series Analysis Christopher Ting http://mysmu.edu.sg/faculty/christophert/ christopherting@smu.edu.sg Quantitative Finance Singapore Management University March 3, 2017 Christopher Ting Week 9 March
More informationExercises - Time series analysis
Descriptive analysis of a time series (1) Estimate the trend of the series of gasoline consumption in Spain using a straight line in the period from 1945 to 1995 and generate forecasts for 24 months. Compare
More informationStat 153 Time Series. Problem Set 4
Stat Time Series Problem Set Problem I generated 000 observations from the MA() model with parameter 0.7 using the following R function and then fitted the ARMA(, ) model to the data. order = c(, 0, )),
More informationChapter 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 informationTime Series Analysis - Part 1
Time Series Analysis - Part 1 Dr. Esam Mahdi Islamic University of Gaza - Department of Mathematics April 19, 2017 1 of 189 What is a Time Series? Fundamental concepts Time Series Decomposition Estimating
More informationTime Series Modeling. Shouvik Mani April 5, /688: Practical Data Science Carnegie Mellon University
Time Series Modeling Shouvik Mani April 5, 2018 15-388/688: Practical Data Science Carnegie Mellon University Goals After this lecture, you will be able to: Explain key properties of time series data Describe,
More informationUnivariate Nonstationary Time Series 1
Univariate Nonstationary Time Series 1 Sebastian Fossati University of Alberta 1 These slides are based on Eric Zivot s time series notes available at: http://faculty.washington.edu/ezivot Introduction
More informationCh 7 : Regression in Time Series
Spring 2017 UAkron Dept. of Stats [3470 : 477/577] Time Series Analysis Ch 7 : Regression in Time Series Contents 1 Regressing Stationary TS 2 1.1 OLS and GLS..................................................................
More informationCHANGE DETECTION IN TIME SERIES
CHANGE DETECTION IN TIME SERIES Edit Gombay TIES - 2008 University of British Columbia, Kelowna June 8-13, 2008 Outline Introduction Results Examples References Introduction sunspot.year 0 50 100 150 1700
More informationConsider the trend-cycle decomposition of a time series y t
1 Unit Root Tests Consider the trend-cycle decomposition of a time series y t y t = TD t + TS t + C t = TD t + Z t The basic issue in unit root testing is to determine if TS t = 0. Two classes of tests,
More information1. How can you tell if there is serial correlation? 2. AR to model serial correlation. 3. Ignoring serial correlation. 4. GLS. 5. Projects.
1. How can you tell if there is serial correlation? 2. AR to model serial correlation. 3. Ignoring serial correlation. 4. GLS. 5. Projects. 1) Identifying serial correlation. Plot Y t versus Y t 1. See
More informationLevinson Durbin Recursions: I
Levinson Durbin Recursions: I note: B&D and S&S say Durbin Levinson but Levinson Durbin is more commonly used (Levinson, 1947, and Durbin, 1960, are source articles sometimes just Levinson is used) recursions
More informationCase Study: Modelling Industrial Dryer Temperature Arun K. Tangirala 11/19/2016
Case Study: Modelling Industrial Dryer Temperature Arun K. Tangirala 11/19/2016 Background This is a case study concerning time-series modelling of the temperature of an industrial dryer. Data set contains
More informationProf. 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 informationTrend-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 informationFE570 Financial Markets and Trading. Stevens Institute of Technology
FE570 Financial Markets and Trading Lecture 5. Linear Time Series Analysis and Its Applications (Ref. Joel Hasbrouck - Empirical Market Microstructure ) Steve Yang Stevens Institute of Technology 9/25/2012
More information22s:152 Applied Linear Regression. Returning to a continuous response variable Y...
22s:152 Applied Linear Regression Generalized Least Squares Returning to a continuous response variable Y... Ordinary Least Squares Estimation The classical models we have fit so far with a continuous
More informationLevinson Durbin Recursions: I
Levinson Durbin Recursions: I note: B&D and S&S say Durbin Levinson but Levinson Durbin is more commonly used (Levinson, 1947, and Durbin, 1960, are source articles sometimes just Levinson is used) recursions
More informationECON 616: Lecture Two: Deterministic Trends, Nonstationary Processes
ECON 616: Lecture Two: Deterministic Trends, Nonstationary Processes ED HERBST September 11, 2017 Background Hamilton, chapters 15-16 Trends vs Cycles A commond decomposition of macroeconomic time series
More informationThe Identification of ARIMA Models
APPENDIX 4 The Identification of ARIMA Models As we have established in a previous lecture, there is a one-to-one correspondence between the parameters of an ARMA(p, q) model, including the variance of
More informationBooth School of Business, University of Chicago Business 41914, Spring Quarter 2017, Mr. Ruey S. Tsay. Solutions to Midterm
Booth School of Business, University of Chicago Business 41914, Spring Quarter 017, Mr Ruey S Tsay Solutions to Midterm Problem A: (51 points; 3 points per question) Answer briefly the following questions
More informationEconometrics of Panel Data
Econometrics of Panel Data Jakub Mućk Meeting # 9 Jakub Mućk Econometrics of Panel Data Meeting # 9 1 / 22 Outline 1 Time series analysis Stationarity Unit Root Tests for Nonstationarity 2 Panel Unit Root
More informationMachine Learning - TP
Machine Learning - TP Nathalie Villa-Vialaneix - nathalie.villa@univ-paris1.fr http://www.nathalievilla.org IUT STID (Carcassonne) & SAMM (Université Paris 1) Formation INRA, Niveau 3 Formation INRA (Niveau
More information