In this project I will analyze a time series of the number of deaths that occurred during the Vietnam War.

Size: px
Start display at page:

Download "In this project I will analyze a time series of the number of deaths that occurred during the Vietnam War."

Transcription

1 Introduction[1] In this project I will analyze a time series of the number of deaths that occurred during the Vietnam War. The Vietnam War was perhaps the United States gravest mistake in foreign policy in the 20th century. The Vietnam War first began as a result of the Viet Minh s failure to capture South Vietnam in the First Indochina War in In 1954, the French, who occupied the Vietnam region, were defeated at Dienbienphu. The United States became involved in Vietnam politics during the discussion of the Geneva Agreements during which a provisional boundary was drawn to separate North Vietnam from South Vietnam until nationwide elections could be held in The United States does not accept this agreement. In 1955, president-to-be Diem rejects the Geneva Accords and refuses nationwide elections. During the same year, France withdraws from Vietnam. During the late 1950s the Communists begin an insurgency in South Vietnam and weapons begin moving along the Ho Chi Minh Trail to South Vietnam and in 1960 the Vietcong are organized. The most tragic part of the war was the Tet Offensive which occurred in U.S. forces were not prepared for the North Vietnamese and Vietcong s battle, but were able to succeed in recapturing most areas of the country. This is the first point where the U.S. military s assessment of the war is questioned by the public. After the war had ended, 58,000 American troops had died. My initial plan was to analyze a time series of deaths in the Iraq War, however, the sample size would have (fortunately) been too small, there was nothing interesting about it, and it appeared to have been fit by an MA(0) model, so I decided to use an (unfortunately) larger dataset. I was hoping to perform a statistical significance test on the trends of deaths in the Vietnam War as well as the Iraq War at its current stage to get a feel for how similar the trends are up to this point, but I do not have experience in multivariate time series analysis. That idea was motivated by the sentiment that the Iraq War is becoming like the Vietnam War. Data Collection The data are originally come from the Vietnam Veterans Memorial Fund website [2]. The method by which a researcher can extract information is based on a search engine that allows visitors to search by various fields, including date of death. The search results returned include the number of records returned for that search. Since I could not find a pre-existing dataset, I wrote a Python script to query the search engine and gather the number of war dead from the search results. I must state as a disclaimer that this database only contains soldiers killed that were identified. I am sure there are others that are not included in this 1

2 database, but I believe that if there is a trend, it will remain the same. The database begins at January 1957 and ends in December PBS[1] states that the last conflict occurred in May 1975, thus I collect data from January 1960 to December However, it also states that for the United States, the war is officially over in March 1973, thus I only consider data until August Despite the events leading up to the war beginning in the mid-1940s, I am really only interested in the war and the escalation of the war, so I start data collection at January The Python code is listed in Appendix B. Analysis The plot of the raw time series and its correlogram is exhibited in figures 1 and 2 respectively. The correlogram shows that the ACF converges to zero very, very slowly, and thus the time series is not stationary. The x axis is represented in lags, or time distance roughly speaking. x = 4 represents the fourth lag or a difference of four months. The y axis is the value of the autocorrelation function (ACF) at lag x = h, γ(h). At first glance of the original time series, there appears to be a linear trend up until about January From 1966, leading up to the Tet Offensive and after, deaths increased dramatically until June 1968 (month 101) and then declined until the end of the war. On closer look, it appears that fatalities were in an upward trend even before the Tet Offensive, and the trend became curvillinear after about December 1964 (month 60/year 5). Fitting a quadratic to the time series before 1966 yields results that indicate there are three separate phases in this time series. These results are plotted in figure 3. The quadratic does not fit well for data points from early in the time series (early 1960s). The residuals plot, which shows the signed difference between the trend curve and actual data points, clearly shows the lack of fit early in the time series. The superimposed dotted line suggests that the first phase of the time series ends after December 1961 (2 years). As was calculated earlier, the end of the second phase occurs after December 1965 (month 60). For brevity, I will refer to phase I as early war, phase II as escalation, and phase III as chaos. Before fitting a model to my time series, I must remove the trend. Figure 4 shows the original time series with dotted lines indicating the partitioning of the time series into three phases. Phase I: Early War Figure 5 shows the subset of the time series corresponding to phase I. The x axis is simply the number of months elapsed since January Figure 6 displays the correlogram for this subset. The autocorrelation 2

3 function is within the bounds of white noise for h = 1,..., 25 which implies that the series is stationary. Stationarity implies that the mean function is not dependent on time. This makes my job as the researcher easy since I have no trend or seasonality to remove. Phase II: Escalation Phase II consists of the subset of the time series containing data from January 1961 to December The plot clearly seems to follow a parabolic curve, so I fit a quadratic to the phase II subset time series. Figure 7 shows phase II and its quadratic fit as well as the residual plot for the fit. After removing the quadratic trend, the correlogram (figure 8) shows that the ACF decays to 0 very quickly (it is constantly within the white noise bounds), so the detrended series for phase II is stationary. Phase III: Chaos A plot of the phase III subset of the time series in figure 9 indicates a very interesting (and tragic) trend. It appears that the deadliest month of the war was June The hill-like structure of the trends of deaths from 1965 to 1973 appears to be symmetric about the deadliest month. If one looks closely at the scatterplot of the trend before June 1968 and the trend after June 1968, it looks fairly cubic. I could either split phase III into two parts and fit each part with a cubic, or attempt to fit an order 6 polynomial to this data. I will choose to fit the trend using an order 6 polynomial. The residuals from the order 6 polynomial do not look like white noise, and seem to possibly have some periodicity (figure 10), particularly the three high spikes in the center of the plot. There also seems to be problem with non-constant variance. The sixth order fit is the best I can do. Unfortunately, it underestimates the peak in the summer of Additionally, the correlogram in figure 11 decays slowly, although it does decay to 0 in 25 lags. In figure 12 I display the plot of the spectral density estimates. The x axis represents the number of cycles per year a peak at that point would imply of the periodicity of the time series. The y axis is the spectral density estimate of the residuals from the order 6 fit. The sharp peak at 1, which is outside of the bounds for white noise, implies that there is indeed periodicity in phase III, and that there is one cycle/period per year. The seasonal decomposition of the phase III time series by loess is displayed in figure 13. The first row of the plot is the original phase III time series which is followed by an illustration of the seasonal trend in the data. The third row displays the overall trend in the dataset, that I originally modeled with an order 6 polynomial. The final row is the resulting time series that I want to extract (the remainder). A magnification of one period is displayed in figure 14. This plot indicates that if the seasonality 3

4 component is detected correctly, what we consider to be the winter and spring months (January through June) in the United States was a deadlier time for troops in the war than was the rest of the year (July through December). There is an interesting dip in April that I cannot explain. Perhaps this is just due to random variation. Recall that the time series for phase III has been detrended, so the y axis represents the expected residual from detrending, not the raw number of deaths. The resulting time series is detrended and seasonality removed. The final correlogram in figure 15 shows that the ACF decays to zero very quickly, but there is a problem at lag 5 because the autocorrelation function drops out of the bounds for white noise, however, this only occurs once and may be related to having a strange dataset or an imperfect fit from the order 6 polynomial as well as perhaps not removing some other trend or periodicity that was present that I could not uncover. Figure 16 shows a relatively smooth and somewhat flatter periodogram which suggests that I have removed the periodicity, but also confirms that after detrending and removing the seasonality component, the remainder is not white noise. Putting it All Together Now that my entire time series has been detrended (phase II and III) and seasonality removed (phase III), I can investigate a model to fit to the time series. The correlogram in terms of the autocorrelation function clearly tails off to zero as lag in months increases (figure 17). The correlogram in terms of the partial autocorrelation function (figure 18) is somewhat more dubious. Although it appears that the PACF cuts off immediately, one can see that the variability of the PACF seems to decrease over time and seems to pop out of the bounds for white noise occasionally. From both of these revelations, I believe that I can say that the PACF tails off as the lag increases. Thus, the proper model to fit to this time series is an ARMA(p, q). After running a loop that searches for the best parameters of p and q, I found that the model that fits according to the Ljung-Box method with minimal AIC = , is ARIMA(8,0,4). Figure 19 displays the time series diagnostics for the ARMA(8,0,4) model in R. The last row of the plot shows the results of the hypothesis tests for the Ljung-Box test. Since all of the points are above the dotted line, we accept the null hypothesis H 0 that the residuals of the ARIMA fit are random[3]. The AR and MA coefficients for my ARIMA model are provided in appendix A. Since p = 8, this tells me that the value at time t depends on the values of the previous 8 time points. That is, assuming a perfect fit, the number of deaths in a particular month depends on a linear combination of number of deaths from the previous 8 months. Since q = 4, assuming a perfect fit, this means that my time series relies on the previous 4 white 4

5 noise terms. My coefficients also reveal some interesting results. Since φ 1 = is negative, this suggests that the previous time point is negatively related with the current time point which is not at all expected. This is a sign that there is possibly still some cyclic behavior in the time series. Based on magnitude alone, the time point two months before the current, x t 2, is positively related with the current time point x t. This may imply that x t 2 is a stronger predictor of x t than is x t 1 considering magnitude alone. That is, the number of deaths two months prior to the current month may be the best predictor of the death total for the current month. The closed form expression for my fit is x t = α+φ 1 x t 1 +φ 2 x t 2 +φ 3 x t 3 +φ 4 x t 4 +φ 5 x t 5 +φ 6 x t 6 +φ 7 x t 7 +φ 8 x t 8 +w t +θ 1 w t 1 +θ 2 w t 2 +θ 3 w t 3 +θ 4 w t 4 Limitations There are many limitations in this analysis, particularly in Phase III. I could not find a polynomial that best fit the time series for phase III. A loess fit produced worse results than a simple polynomial fit. The reason for this is that for a period of 2.5 years from month 90 to about month 120 (June 1967 to December 1969) there is an extreme amount of variability in the number of deaths that occurred from month to month in this period. This may indicate that the war was very volatile during this period, and it makes curve fitting incredibly difficult. A more sophisticated tool such as weighted least squares or splines may have been more appropriate, but I unfortunately do not understand the mechanics of those techniques yet. Due to this volatility, it is difficult to identify periodicity by eye, but I do suspect that it is there, and the periodogram confirmed my suspicion. I did not get good results from subtracting the seasonal component of phase III because of the volatility I believe. The result is that the residuals from removing seasonality are not white noise, and the periodogram displays spectral density estimates that are below the bounds for white noise. There may have also been other periodic trends or general trends that depended on other variables, such as the progress of the draft. Due to the problem with non-constant variance, it is probably not wise to fit an ARIMA model to this data if it is to be used for prediction. Since the dependent variable in this time series is the number of deaths of U.S. soldiers in a particular month, which is basically a count, it may be considered a Poisson random variable, so it may have been wise to transform the dependent variable by looking at the square root of the number of deaths per month before beginning this analysis. Perhaps a logarithmic transformation of the response may have also been better. 5

6 When analyzing war data, I believe that any researcher would begin by working with raw death counts as I did, perhaps because as humans we are biased against incidents that cause such tragedy. However, after I analyzed this data it occurred to me that the spikes in deaths are probably because there were more soldiers deployed in the Vietnam region during that time period, so naturally there would be more deaths assuming that the number of deaths is dependent on the number of soldiers in the region. A better method may be to use ratios. That is, divide the number of deaths in a month by the number of live soldiers deployed in the region on the first of the month. This ratio would serve as a death rate during the war and would probably yield much better results. Conclusion It would probably serve as a shock to anyone to see a visualization of this data as a time series. When I first plotted the data, I was astounded at how quickly the war took lives. The monthly trend of deaths in the Vietnam is not clear cut, but can be approximated if the war from 1960 to 1973 is considered as three separate phases. The first phase, which represents the early war, has little or no trend. The second phase is characterized by a steep quadratic trend that leads into the third phase which is chaos and can best be fitted with a sixth order polynomial. One sees that in the time vicinity of the deadliest month, June 1968, the number of deaths is very volatile which is represented in my plots as non-constant variance. One also sees that during this phase, there is a seasonal component, at least to the time vicinity of June After removing this trend and seasonality, and despite those results being less than satisfactory, I was able to fit an ARMA(8,4) model to the time series to represent it in a closed form. The number of deaths at a given time t seems to rely on the number of deaths that occurred during the previous eight months. It would be beneficial to instead look at the ratio of deaths to number of soldiers deployed, as well as some other auxiliary variables. It would also be a good idea for future researchers to delve deeper into the history of the foreign policy and military actions surrounding this tragic war, as that will perhaps shed more light on what can better explain the startling number of deaths. Let s hope that history does not repeat itself. 6

7 A Coefficients Coefficients for my ARIMA(8,0,4)/ARMA(8,4) model: Coefficient Estimate Standard Error ar1 φ ar2 φ ar3 φ ar4 φ ar5 φ ar6 φ ar7 φ ar8 φ α ma1 θ ma2 θ ma3 θ ma4 θ B Python Code for vietnam.py import urllib import re import time FILE = open("vietnam.dat","w") FILE.write("month\tdeaths\n") i = 0 for year in range(1960,1976,1): for month in range(1,13,1): page = " + str(month) + "&Casul_Date_Day=0" + \ "&Casul_Date_Year=" + str(year) + "&Submit=+++Submit+++" class AppURLopener(urllib.FancyURLopener): version = "Mozilla/5.0 (Windows: U; Windows NT 5.0; en-us; rv: ) " +\ "Gecko/ Firefox/ " urllib._urlopener = AppURLopener() handle = urllib.urlopen(page).read() pattern = re.compile("of\s(\d+)") m = re.search(pattern,handle) if m == None: deaths = 0 else: deaths = int(m.group(1)) i = i + 1 FILE.write(str(deaths) + \n ) time.sleep(3) 7

8 C Plots Vietnam War Deaths: U.S Number of U.S. Military Deaths Month # Starting with January 1, 1960 Figure 1: Plot of raw data showing war deaths a function of time, starting at January Correlogram of Raw Data autocorrelation lag (months) Figure 2: Correlogram of raw time series. 8

9 Deaths during Vietnam War period Residuals Plot Deaths Residuals Months Since January Fitted Values Figure 3: Deaths from January 1960 to December 1965 Vietnam War Deaths as Three Phases: U.S Number of U.S. Military Deaths Month # Starting with January 1, 1960 Figure 4: Original time series separated into three phases. 9

10 Vietnam War Deaths during Phase I: Deaths Months since January 1960 Figure 5: time series subset corresponding to Phase I. Correlogram of Phase 1, No Fit autocorrelation lags(months) Figure 6: Correlogram of subset of time series corresponding to Phase I. 10

11 Phase 2 Fit with Quadratic Residuals of Fit Deaths Residual Months since January Fitted Value Figure 7: Quadratic fit to Phase II time series and its residuals. Correlogram of Fit for Phase 2 autocorrelation lags(months) Figure 8: Correlogram of quadratic fit residuals for phase II. Vietnam War Deaths during Phase 3: 1968 through August 1973 Vietnam War Deaths during Phase 3: 1968 through August 1973 Deaths Deaths Months Since January Months Since January 1960 Figure 9: Time series plot and scatterplot of Phase III. 11

12 Residuals of Fit Residual Fitted Value Figure 10: Residuals from phase III after order 6 polynomial fit. 12

13 Correlogram of Fit for Phase 3 autocorrelation lags(months) Figure 11: Correlogram from residuals of order 6 polynomial fit to phase III. Periodogram of Residuals for Phase III Fit Spectral Density Estimate Frequency (cycles/yr) Figure 12: Danielle smoothed periodogram from residuals of order 6 polynomial fit to phase III subset of time series. 13

14 Seasonal Decomposition of Phase III Time Series remainder trend seasonal data time Figure 13: Seasonal decomposition of phase III time series. Seasonality Component of Phase III Deaths Expected Residual from Detrending Month of Year Figure 14: Seasonal component of phase III time series shows winter and spring as deadlier to U.S. troops. Correlogram of Detrended/Deseasoned Series, Phase 3 autocorrelation lags(months) Figure 15: Final correlogram of deseasoned/detrended phase III data. 14

15 Periodogram of Residuals for Phase III Fit Spectral Density Estimate Frequency (cycles/yr) Figure 16: Final periodogram Correlogram of Fit for Entire Time Series autocorrelation lags(months) Figure 17: Final correlogram of entire time series in terms of autocorrelation function, after detrending and removing seasonality from each phase. Correlogram of Fit for Entire Time Series autocorrelation lags(months) Figure 18: Final correlogram of entire time series in terms of partial autocorrelation function, after detrending and removing seasonality from each phase. 15

16 Standardized Residuals Time ACF of Residuals ACF Lag p values for Ljung Box statistic p value Figure 19: Diagnostic plot for my ARIMA(8,0,4)/ARMA(8,4) model. Only the p-values for the Ljung-Box statistic are important. lag 16

17 References [1] Battlefield Vietnam: Timeline [2] Vietnam War Memorial Fund: [3] Ljung-Box Statistic 17

Minitab Project Report - Assignment 6

Minitab Project Report - Assignment 6 .. Sunspot data Minitab Project Report - Assignment Time Series Plot of y Time Series Plot of X y X 7 9 7 9 The data have a wavy pattern. However, they do not show any seasonality. There seem to be an

More information

Scenario 5: Internet Usage Solution. θ j

Scenario 5: Internet Usage Solution. θ j Scenario : Internet Usage Solution Some more information would be interesting about the study in order to know if we can generalize possible findings. For example: Does each data point consist of the total

More information

TIME SERIES ANALYSIS AND FORECASTING USING THE STATISTICAL MODEL ARIMA

TIME SERIES ANALYSIS AND FORECASTING USING THE STATISTICAL MODEL ARIMA CHAPTER 6 TIME SERIES ANALYSIS AND FORECASTING USING THE STATISTICAL MODEL ARIMA 6.1. Introduction A time series is a sequence of observations ordered in time. A basic assumption in the time series analysis

More information

Analysis of Violent Crime in Los Angeles County

Analysis of Violent Crime in Los Angeles County Analysis of Violent Crime in Los Angeles County Xiaohong Huang UID: 004693375 March 20, 2017 Abstract Violent crime can have a negative impact to the victims and the neighborhoods. It can affect people

More information

Chapter 12: An introduction to Time Series Analysis. Chapter 12: An introduction to Time Series Analysis

Chapter 12: An introduction to Time Series Analysis. Chapter 12: An introduction to Time Series Analysis Chapter 12: An introduction to Time Series Analysis Introduction In this chapter, we will discuss forecasting with single-series (univariate) Box-Jenkins models. The common name of the models is Auto-Regressive

More information

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

MODELING INFLATION RATES IN NIGERIA: BOX-JENKINS APPROACH. I. U. Moffat and A. E. David Department of Mathematics & Statistics, University of Uyo, Uyo Vol.4, No.2, pp.2-27, April 216 MODELING INFLATION RATES IN NIGERIA: BOX-JENKINS APPROACH I. U. Moffat and A. E. David Department of Mathematics & Statistics, University of Uyo, Uyo ABSTRACT: This study

More information

at least 50 and preferably 100 observations should be available to build a proper model

at least 50 and preferably 100 observations should be available to build a proper model III Box-Jenkins Methods 1. Pros and Cons of ARIMA Forecasting a) need for data at least 50 and preferably 100 observations should be available to build a proper model used most frequently for hourly or

More information

CHAPTER 8 MODEL DIAGNOSTICS. 8.1 Residual Analysis

CHAPTER 8 MODEL DIAGNOSTICS. 8.1 Residual Analysis CHAPTER 8 MODEL DIAGNOSTICS We have now discussed methods for specifying models and for efficiently estimating the parameters in those models. Model diagnostics, or model criticism, is concerned with testing

More information

Chapter 3: Regression Methods for Trends

Chapter 3: Regression Methods for Trends Chapter 3: Regression Methods for Trends Time series exhibiting trends over time have a mean function that is some simple function (not necessarily constant) of time. The example random walk graph from

More information

Estimation and application of best ARIMA model for forecasting the uranium price.

Estimation and application of best ARIMA model for forecasting the uranium price. Estimation and application of best ARIMA model for forecasting the uranium price. Medeu Amangeldi May 13, 2018 Capstone Project Superviser: Dongming Wei Second reader: Zhenisbek Assylbekov Abstract This

More information

Analyzing And Predicting The Average Monthly Price of Gold. Like many other precious gemstones and metals, the high volume of sales and

Analyzing And Predicting The Average Monthly Price of Gold. Like many other precious gemstones and metals, the high volume of sales and Analyzing And Predicting The Average Monthly Price of Gold Lucas Van Cleef Professor Madonia Economic Forecasting 7/16/16 Like many other precious gemstones and metals, the high volume of sales and consumption

More information

Circle the single best answer for each multiple choice question. Your choice should be made clearly.

Circle the single best answer for each multiple choice question. Your choice should be made clearly. TEST #1 STA 4853 March 6, 2017 Name: Please read the following directions. DO NOT TURN THE PAGE UNTIL INSTRUCTED TO DO SO Directions This exam is closed book and closed notes. There are 32 multiple choice

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

Part 1. Multiple Choice (50 questions, 1 point each) Part 2. Problems/Short Answer (10 questions, 5 points each)

Part 1. Multiple Choice (50 questions, 1 point each) Part 2. Problems/Short Answer (10 questions, 5 points each) GROUND RULES: This exam contains two parts: Part 1. Multiple Choice (50 questions, 1 point each) Part 2. Problems/Short Answer (10 questions, 5 points each) The maximum number of points on this exam is

More information

Chapter 8: Model Diagnostics

Chapter 8: Model Diagnostics Chapter 8: Model Diagnostics Model diagnostics involve checking how well the model fits. If the model fits poorly, we consider changing the specification of the model. A major tool of model diagnostics

More information

Homework 2. For the homework, be sure to give full explanations where required and to turn in any relevant plots.

Homework 2. For the homework, be sure to give full explanations where required and to turn in any relevant plots. Homework 2 1 Data analysis problems For the homework, be sure to give full explanations where required and to turn in any relevant plots. 1. The file berkeley.dat contains average yearly temperatures for

More information

Firstly, the dataset is cleaned and the years and months are separated to provide better distinction (sample below).

Firstly, the dataset is cleaned and the years and months are separated to provide better distinction (sample below). Project: Forecasting Sales Step 1: Plan Your Analysis Answer the following questions to help you plan out your analysis: 1. Does the dataset meet the criteria of a time series dataset? Make sure to explore

More information

Analysis. Components of a Time Series

Analysis. Components of a Time Series Module 8: Time Series Analysis 8.2 Components of a Time Series, Detection of Change Points and Trends, Time Series Models Components of a Time Series There can be several things happening simultaneously

More information

Advanced Econometrics

Advanced Econometrics Advanced Econometrics Marco Sunder Nov 04 2010 Marco Sunder Advanced Econometrics 1/ 25 Contents 1 2 3 Marco Sunder Advanced Econometrics 2/ 25 Music Marco Sunder Advanced Econometrics 3/ 25 Music Marco

More information

5 Autoregressive-Moving-Average Modeling

5 Autoregressive-Moving-Average Modeling 5 Autoregressive-Moving-Average Modeling 5. Purpose. Autoregressive-moving-average (ARMA models are mathematical models of the persistence, or autocorrelation, in a time series. ARMA models are widely

More information

Time Series Analysis of United States of America Crude Oil and Petroleum Products Importations from Saudi Arabia

Time Series Analysis of United States of America Crude Oil and Petroleum Products Importations from Saudi Arabia International Journal of Applied Science and Technology Vol. 5, No. 5; October 2015 Time Series Analysis of United States of America Crude Oil and Petroleum Products Importations from Saudi Arabia Olayan

More information

Basics: Definitions and Notation. Stationarity. A More Formal Definition

Basics: Definitions and Notation. Stationarity. A More Formal Definition Basics: Definitions and Notation A Univariate is a sequence of measurements of the same variable collected over (usually regular intervals of) time. Usual assumption in many time series techniques is that

More information

A Diagnostic for Seasonality Based Upon Autoregressive Roots

A Diagnostic for Seasonality Based Upon Autoregressive Roots A Diagnostic for Seasonality Based Upon Autoregressive Roots Tucker McElroy (U.S. Census Bureau) 2018 Seasonal Adjustment Practitioners Workshop April 26, 2018 1 / 33 Disclaimer This presentation is released

More information

Decision 411: Class 9. HW#3 issues

Decision 411: Class 9. HW#3 issues Decision 411: Class 9 Presentation/discussion of HW#3 Introduction to ARIMA models Rules for fitting nonseasonal models Differencing and stationarity Reading the tea leaves : : ACF and PACF plots Unit

More information

Ch 6. Model Specification. Time Series Analysis

Ch 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 information

Lecture 6a: Unit Root and ARIMA Models

Lecture 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 information

Lecture 5: Estimation of time series

Lecture 5: Estimation of time series Lecture 5, page 1 Lecture 5: Estimation of time series Outline of lesson 5 (chapter 4) (Extended version of the book): a.) Model formulation Explorative analyses Model formulation b.) Model estimation

More information

The log transformation produces a time series whose variance can be treated as constant over time.

The log transformation produces a time series whose variance can be treated as constant over time. TAT 520 Homework 6 Fall 2017 Note: Problem 5 is mandatory for graduate students and extra credit for undergraduates. 1) The quarterly earnings per share for 1960-1980 are in the object in the TA package.

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

Asitha Kodippili. Deepthika Senaratne. Department of Mathematics and Computer Science,Fayetteville State University, USA.

Asitha Kodippili. Deepthika Senaratne. Department of Mathematics and Computer Science,Fayetteville State University, USA. Forecasting Tourist Arrivals to Sri Lanka Using Seasonal ARIMA Asitha Kodippili Department of Mathematics and Computer Science,Fayetteville State University, USA. akodippili@uncfsu.edu Deepthika Senaratne

More information

Introduction to Regression Analysis. Dr. Devlina Chatterjee 11 th August, 2017

Introduction to Regression Analysis. Dr. Devlina Chatterjee 11 th August, 2017 Introduction to Regression Analysis Dr. Devlina Chatterjee 11 th August, 2017 What is regression analysis? Regression analysis is a statistical technique for studying linear relationships. One dependent

More information

ARIMA modeling to forecast area and production of rice in West Bengal

ARIMA modeling to forecast area and production of rice in West Bengal Journal of Crop and Weed, 9(2):26-31(2013) ARIMA modeling to forecast area and production of rice in West Bengal R. BISWAS AND B. BHATTACHARYYA Department of Agricultural Statistics Bidhan Chandra Krishi

More information

STAT 436 / Lecture 16: Key

STAT 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 information

X random; interested in impact of X on Y. Time series analogue of regression.

X random; interested in impact of X on Y. Time series analogue of regression. Multiple time series Given: two series Y and X. Relationship between series? Possible approaches: X deterministic: regress Y on X via generalized least squares: arima.mle in SPlus or arima in R. We have

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

Austrian Inflation Rate

Austrian Inflation Rate Austrian Inflation Rate Course of Econometric Forecasting Nadir Shahzad Virkun Tomas Sedliacik Goal and Data Selection Our goal is to find a relatively accurate procedure in order to forecast the Austrian

More information

Forecasting. Simon Shaw 2005/06 Semester II

Forecasting. Simon Shaw 2005/06 Semester II Forecasting Simon Shaw s.c.shaw@maths.bath.ac.uk 2005/06 Semester II 1 Introduction A critical aspect of managing any business is planning for the future. events is called forecasting. Predicting future

More information

Ch 8. MODEL DIAGNOSTICS. Time Series Analysis

Ch 8. MODEL DIAGNOSTICS. Time Series Analysis Model diagnostics is concerned with testing the goodness of fit of a model and, if the fit is poor, suggesting appropriate modifications. We shall present two complementary approaches: analysis of residuals

More information

Circle a single answer for each multiple choice question. Your choice should be made clearly.

Circle a single answer for each multiple choice question. Your choice should be made clearly. TEST #1 STA 4853 March 4, 215 Name: Please read the following directions. DO NOT TURN THE PAGE UNTIL INSTRUCTED TO DO SO Directions This exam is closed book and closed notes. There are 31 questions. Circle

More information

FIN822 project 2 Project 2 contains part I and part II. (Due on November 10, 2008)

FIN822 project 2 Project 2 contains part I and part II. (Due on November 10, 2008) FIN822 project 2 Project 2 contains part I and part II. (Due on November 10, 2008) Part I Logit Model in Bankruptcy Prediction You do not believe in Altman and you decide to estimate the bankruptcy prediction

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

Lesson 13: Box-Jenkins Modeling Strategy for building ARMA models

Lesson 13: Box-Jenkins Modeling Strategy for building ARMA models Lesson 13: Box-Jenkins Modeling Strategy for building ARMA models Facoltà di Economia Università dell Aquila umberto.triacca@gmail.com Introduction In this lesson we present a method to construct an ARMA(p,

More information

Univariate ARIMA Models

Univariate 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 information

PREDICTING SURFACE TEMPERATURES OF ROADS: Utilizing a Decaying Average in Forecasting

PREDICTING SURFACE TEMPERATURES OF ROADS: Utilizing a Decaying Average in Forecasting PREDICTING SURFACE TEMPERATURES OF ROADS: Utilizing a Decaying Average in Forecasting Student Authors Mentor Peter Boyd is a senior studying applied statistics, actuarial science, and mathematics, and

More information

3 Time Series Regression

3 Time Series Regression 3 Time Series Regression 3.1 Modelling Trend Using Regression Random Walk 2 0 2 4 6 8 Random Walk 0 2 4 6 8 0 10 20 30 40 50 60 (a) Time 0 10 20 30 40 50 60 (b) Time Random Walk 8 6 4 2 0 Random Walk 0

More information

Modeling and forecasting global mean temperature time series

Modeling and forecasting global mean temperature time series Modeling and forecasting global mean temperature time series April 22, 2018 Abstract: An ARIMA time series model was developed to analyze the yearly records of the change in global annual mean surface

More information

Stochastic Processes

Stochastic Processes Stochastic Processes Stochastic Process Non Formal Definition: Non formal: A stochastic process (random process) is the opposite of a deterministic process such as one defined by a differential equation.

More information

Suan Sunandha Rajabhat University

Suan Sunandha Rajabhat University Forecasting Exchange Rate between Thai Baht and the US Dollar Using Time Series Analysis Kunya Bowornchockchai Suan Sunandha Rajabhat University INTRODUCTION The objective of this research is to forecast

More information

FE570 Financial Markets and Trading. Stevens Institute of Technology

FE570 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 information

2. An Introduction to Moving Average Models and ARMA Models

2. An Introduction to Moving Average Models and ARMA Models . An Introduction to Moving Average Models and ARMA Models.1 White Noise. The MA(1) model.3 The MA(q) model..4 Estimation and forecasting of MA models..5 ARMA(p,q) models. The Moving Average (MA) models

More information

The data was collected from the website and then converted to a time-series indexed from 1 to 86.

The data was collected from the website  and then converted to a time-series indexed from 1 to 86. Introduction For our group project, we analyzed the S&P 500s futures from 30 November, 2015 till 28 March, 2016. The S&P 500 futures give a reasonable estimate of the changes in the market in the short

More information

Empirical Approach to Modelling and Forecasting Inflation in Ghana

Empirical Approach to Modelling and Forecasting Inflation in Ghana Current Research Journal of Economic Theory 4(3): 83-87, 2012 ISSN: 2042-485X Maxwell Scientific Organization, 2012 Submitted: April 13, 2012 Accepted: May 06, 2012 Published: June 30, 2012 Empirical Approach

More information

Classic Time Series Analysis

Classic 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 information

Final Examination 7/6/2011

Final Examination 7/6/2011 The Islamic University of Gaza Faculty of Commerce Department of Economics & Applied Statistics Time Series Analysis - Dr. Samir Safi Spring Semester 211 Final Examination 7/6/211 Name: ID: INSTRUCTIONS:

More information

Forecasting of the Austrian Inflation Rate

Forecasting of the Austrian Inflation Rate Forecasting of the Austrian Inflation Rate Case Study for the Course of Econometric Forecasting Winter Semester 2007 by Nadir Shahzad Virkun Tomas Sedliacik Goal setting and Data selection The goal of

More information

Univariate, Nonstationary Processes

Univariate, Nonstationary Processes Univariate, Nonstationary Processes Jamie Monogan University of Georgia March 20, 2018 Jamie Monogan (UGA) Univariate, Nonstationary Processes March 20, 2018 1 / 14 Objectives By the end of this meeting,

More information

Part II. Time Series

Part II. Time Series Part II Time Series 12 Introduction This Part is mainly a summary of the book of Brockwell and Davis (2002). Additionally the textbook Shumway and Stoffer (2010) can be recommended. 1 Our purpose is to

More information

EXAMINATIONS OF THE ROYAL STATISTICAL SOCIETY

EXAMINATIONS OF THE ROYAL STATISTICAL SOCIETY EXAMINATIONS OF THE ROYAL STATISTICAL SOCIETY GRADUATE DIPLOMA, 011 MODULE 3 : Stochastic processes and time series Time allowed: Three Hours Candidates should answer FIVE questions. All questions carry

More information

ECONOMETRIA II. CURSO 2009/2010 LAB # 3

ECONOMETRIA II. CURSO 2009/2010 LAB # 3 ECONOMETRIA II. CURSO 2009/2010 LAB # 3 BOX-JENKINS METHODOLOGY The Box Jenkins approach combines the moving average and the autorregresive models. Although both models were already known, the contribution

More information

ARIMA Models. Jamie Monogan. January 16, University of Georgia. Jamie Monogan (UGA) ARIMA Models January 16, / 27

ARIMA Models. Jamie Monogan. January 16, University of Georgia. Jamie Monogan (UGA) ARIMA Models January 16, / 27 ARIMA Models Jamie Monogan University of Georgia January 16, 2018 Jamie Monogan (UGA) ARIMA Models January 16, 2018 1 / 27 Objectives By the end of this meeting, participants should be able to: Argue why

More information

Design of Time Series Model for Road Accident Fatal Death in Tamilnadu

Design of Time Series Model for Road Accident Fatal Death in Tamilnadu Volume 109 No. 8 2016, 225-232 ISSN: 1311-8080 (printed version); ISSN: 1314-3395 (on-line version) url: http://www.ijpam.eu ijpam.eu Design of Time Series Model for Road Accident Fatal Death in Tamilnadu

More information

Forecasting Bangladesh's Inflation through Econometric Models

Forecasting Bangladesh's Inflation through Econometric Models American Journal of Economics and Business Administration Original Research Paper Forecasting Bangladesh's Inflation through Econometric Models 1,2 Nazmul Islam 1 Department of Humanities, Bangladesh University

More information

A SEASONAL TIME SERIES MODEL FOR NIGERIAN MONTHLY AIR TRAFFIC DATA

A SEASONAL TIME SERIES MODEL FOR NIGERIAN MONTHLY AIR TRAFFIC DATA www.arpapress.com/volumes/vol14issue3/ijrras_14_3_14.pdf A SEASONAL TIME SERIES MODEL FOR NIGERIAN MONTHLY AIR TRAFFIC DATA Ette Harrison Etuk Department of Mathematics/Computer Science, Rivers State University

More information

1 Random walks and data

1 Random walks and data Inference, Models and Simulation for Complex Systems CSCI 7-1 Lecture 7 15 September 11 Prof. Aaron Clauset 1 Random walks and data Supposeyou have some time-series data x 1,x,x 3,...,x T and you want

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

The ARIMA Procedure: The ARIMA Procedure

The ARIMA Procedure: The ARIMA Procedure Page 1 of 120 Overview: ARIMA Procedure Getting Started: ARIMA Procedure The Three Stages of ARIMA Modeling Identification Stage Estimation and Diagnostic Checking Stage Forecasting Stage Using ARIMA Procedure

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

Ch3. TRENDS. Time Series Analysis

Ch3. TRENDS. Time Series Analysis 3.1 Deterministic Versus Stochastic Trends The simulated random walk in Exhibit 2.1 shows a upward trend. However, it is caused by a strong correlation between the series at nearby time points. The true

More information

Time Series Analysis

Time Series Analysis Time Series Analysis A time series is a sequence of observations made: 1) over a continuous time interval, 2) of successive measurements across that interval, 3) using equal spacing between consecutive

More information

Seasonal Adjustment using X-13ARIMA-SEATS

Seasonal Adjustment using X-13ARIMA-SEATS Seasonal Adjustment using X-13ARIMA-SEATS Revised: 10/9/2017 Summary... 1 Data Input... 3 Limitations... 4 Analysis Options... 5 Tables and Graphs... 6 Analysis Summary... 7 Data Table... 9 Trend-Cycle

More information

Forecasting the Prices of Indian Natural Rubber using ARIMA Model

Forecasting the Prices of Indian Natural Rubber using ARIMA Model Available online at www.ijpab.com Rani and Krishnan Int. J. Pure App. Biosci. 6 (2): 217-221 (2018) ISSN: 2320 7051 DOI: http://dx.doi.org/10.18782/2320-7051.5464 ISSN: 2320 7051 Int. J. Pure App. Biosci.

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

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

Stat 5100 Handout #12.e Notes: ARIMA Models (Unit 7) Key here: after stationary, identify dependence structure (and use for forecasting)

Stat 5100 Handout #12.e Notes: ARIMA Models (Unit 7) Key here: after stationary, identify dependence structure (and use for forecasting) Stat 5100 Handout #12.e Notes: ARIMA Models (Unit 7) Key here: after stationary, identify dependence structure (and use for forecasting) (overshort example) White noise H 0 : Let Z t be the stationary

More information

Lecture 19 Box-Jenkins Seasonal Models

Lecture 19 Box-Jenkins Seasonal Models Lecture 19 Box-Jenkins Seasonal Models If the time series is nonstationary with respect to its variance, then we can stabilize the variance of the time series by using a pre-differencing transformation.

More information

Read Section 1.1, Examples of time series, on pages 1-8. These example introduce the book; you are not tested on them.

Read Section 1.1, Examples of time series, on pages 1-8. These example introduce the book; you are not tested on them. TS Module 1 Time series overview (The attached PDF file has better formatting.)! Model building! Time series plots Read Section 1.1, Examples of time series, on pages 1-8. These example introduce the book;

More information

Problem Set 2: Box-Jenkins methodology

Problem Set 2: Box-Jenkins methodology Problem Set : Box-Jenkins methodology 1) For an AR1) process we have: γ0) = σ ε 1 φ σ ε γ0) = 1 φ Hence, For a MA1) process, p lim R = φ γ0) = 1 + θ )σ ε σ ε 1 = γ0) 1 + θ Therefore, p lim R = 1 1 1 +

More information

STAT 153: Introduction to Time Series

STAT 153: Introduction to Time Series STAT 153: Introduction to Time Series Instructor: Aditya Guntuboyina Lectures: 12:30 pm - 2 pm (Tuesdays and Thursdays) Office Hours: 10 am - 11 am (Tuesdays and Thursdays) 423 Evans Hall GSI: Brianna

More information

SOME BASICS OF TIME-SERIES ANALYSIS

SOME 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 information

13.7 ANOTHER TEST FOR TREND: KENDALL S TAU

13.7 ANOTHER TEST FOR TREND: KENDALL S TAU 13.7 ANOTHER TEST FOR TREND: KENDALL S TAU In 1969 the U.S. government instituted a draft lottery for choosing young men to be drafted into the military. Numbers from 1 to 366 were randomly assigned to

More information

arxiv: v1 [stat.me] 5 Nov 2008

arxiv: v1 [stat.me] 5 Nov 2008 arxiv:0811.0659v1 [stat.me] 5 Nov 2008 Estimation of missing data by using the filtering process in a time series modeling Ahmad Mahir R. and Al-khazaleh A. M. H. School of Mathematical Sciences Faculty

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

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 Analysis. Smoothing Time Series. 2) assessment of/accounting for seasonality. 3) assessment of/exploiting "serial correlation"

Time Series Analysis. Smoothing Time Series. 2) assessment of/accounting for seasonality. 3) assessment of/exploiting serial correlation Time Series Analysis 2) assessment of/accounting for seasonality This (not surprisingly) concerns the analysis of data collected over time... weekly values, monthly values, quarterly values, yearly values,

More information

Spectral Analysis. Al Nosedal University of Toronto. Winter Al Nosedal University of Toronto Spectral Analysis Winter / 71

Spectral Analysis. Al Nosedal University of Toronto. Winter Al Nosedal University of Toronto Spectral Analysis Winter / 71 Spectral Analysis Al Nosedal University of Toronto Winter 2016 Al Nosedal University of Toronto Spectral Analysis Winter 2016 1 / 71 essentially, all models are wrong, but some are useful George E. P.

More information

Technical note on seasonal adjustment for Capital goods imports

Technical note on seasonal adjustment for Capital goods imports Technical note on seasonal adjustment for Capital goods imports July 1, 2013 Contents 1 Capital goods imports 2 1.1 Additive versus multiplicative seasonality..................... 2 2 Steps in the seasonal

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

Chapter 6: Model Specification for Time Series

Chapter 6: Model Specification for Time Series Chapter 6: Model Specification for Time Series The ARIMA(p, d, q) class of models as a broad class can describe many real time series. Model specification for ARIMA(p, d, q) models involves 1. Choosing

More information

STAT 520 FORECASTING AND TIME SERIES 2013 FALL Homework 05

STAT 520 FORECASTING AND TIME SERIES 2013 FALL Homework 05 STAT 520 FORECASTING AND TIME SERIES 2013 FALL Homework 05 1. ibm data: The random walk model of first differences is chosen to be the suggest model of ibm data. That is (1 B)Y t = e t where e t is a mean

More information

Author: Yesuf M. Awel 1c. Affiliation: 1 PhD, Economist-Consultant; P.O Box , Addis Ababa, Ethiopia. c.

Author: Yesuf M. Awel 1c. Affiliation: 1 PhD, Economist-Consultant; P.O Box , Addis Ababa, Ethiopia. c. ISSN: 2415-0304 (Print) ISSN: 2522-2465 (Online) Indexing/Abstracting Forecasting GDP Growth: Application of Autoregressive Integrated Moving Average Model Author: Yesuf M. Awel 1c Affiliation: 1 PhD,

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

Multiplicative Sarima Modelling Of Nigerian Monthly Crude Oil Domestic Production

Multiplicative Sarima Modelling Of Nigerian Monthly Crude Oil Domestic Production Journal of Applied Mathematics & Bioinformatics, vol.3, no.3, 2013, 103-112 ISSN: 1792-6602 (print), 1792-6939 (online) Scienpress Ltd, 2013 Multiplicative Sarima Modelling Of Nigerian Monthly Crude Oil

More information

Forecasting Foreign Direct Investment Inflows into India Using ARIMA Model

Forecasting Foreign Direct Investment Inflows into India Using ARIMA Model Forecasting Foreign Direct Investment Inflows into India Using ARIMA Model Dr.K.Nithya Kala & Aruna.P.Remesh, 1 Assistant Professor, PSGR Krishnammal College for Women, Coimbatore, Tamilnadu, India 2 PhD

More information

Problem Set 2 Solution Sketches Time Series Analysis Spring 2010

Problem Set 2 Solution Sketches Time Series Analysis Spring 2010 Problem Set 2 Solution Sketches Time Series Analysis Spring 2010 Forecasting 1. Let X and Y be two random variables such that E(X 2 ) < and E(Y 2 )

More information

ITSM-R Reference Manual

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

More information

Lecture 5: Unit Roots, Cointegration and Error Correction Models The Spurious Regression Problem

Lecture 5: Unit Roots, Cointegration and Error Correction Models The Spurious Regression Problem Lecture 5: Unit Roots, Cointegration and Error Correction Models The Spurious Regression Problem Prof. Massimo Guidolin 20192 Financial Econometrics Winter/Spring 2018 Overview Stochastic vs. deterministic

More information

QMT 3001 BUSINESS FORECASTING. Exploring Data Patterns & An Introduction to Forecasting Techniques. Aysun KAPUCUGİL-İKİZ, PhD.

QMT 3001 BUSINESS FORECASTING. Exploring Data Patterns & An Introduction to Forecasting Techniques. Aysun KAPUCUGİL-İKİZ, PhD. 1 QMT 3001 BUSINESS FORECASTING Exploring Data Patterns & An Introduction to Forecasting Techniques Aysun KAPUCUGİL-İKİZ, PhD. Forecasting 2 1 3 4 2 5 6 3 Time Series Data Patterns Horizontal (stationary)

More information

A nonparametric test for seasonal unit roots

A nonparametric test for seasonal unit roots Robert M. Kunst robert.kunst@univie.ac.at University of Vienna and Institute for Advanced Studies Vienna To be presented in Innsbruck November 7, 2007 Abstract We consider a nonparametric test for the

More information

Lab: Box-Jenkins Methodology - US Wholesale Price Indicator

Lab: Box-Jenkins Methodology - US Wholesale Price Indicator Lab: Box-Jenkins Methodology - US Wholesale Price Indicator In this lab we explore the Box-Jenkins methodology by applying it to a time-series data set comprising quarterly observations of the US Wholesale

More information

Forecasting using R. Rob J Hyndman. 2.4 Non-seasonal ARIMA models. Forecasting using R 1

Forecasting using R. Rob J Hyndman. 2.4 Non-seasonal ARIMA models. Forecasting using R 1 Forecasting using R Rob J Hyndman 2.4 Non-seasonal ARIMA models Forecasting using R 1 Outline 1 Autoregressive models 2 Moving average models 3 Non-seasonal ARIMA models 4 Partial autocorrelations 5 Estimation

More information