TIME SERIES ANALYSIS. A time series is essentially composed of the following four components:



Similar documents
TIME SERIES ANALYSIS & FORECASTING

8. Time Series and Prediction

Section A. Index. Section A. Planning, Budgeting and Forecasting Section A.2 Forecasting techniques Page 1 of 11. EduPristine CMA - Part I

Time series forecasting

A Primer on Forecasting Business Performance

Theory at a Glance (For IES, GATE, PSU)

Section 3.2 Polynomial Functions and Their Graphs

2. What is the general linear model to be used to model linear trend? (Write out the model) = or

Dealing with Data in Excel 2010

CHAPTER 13 SIMPLE LINEAR REGRESSION. Opening Example. Simple Regression. Linear Regression

This content downloaded on Tue, 19 Feb :28:43 PM All use subject to JSTOR Terms and Conditions

4. Simple regression. QBUS6840 Predictive Analytics.

Exponential Smoothing with Trend. As we move toward medium-range forecasts, trend becomes more important.

Time Series and Forecasting

Chapter 10. Key Ideas Correlation, Correlation Coefficient (r),

Module 6: Introduction to Time Series Forecasting

AP Physics 1 and 2 Lab Investigations

1) Write the following as an algebraic expression using x as the variable: Triple a number subtracted from the number

Forecasting Methods. What is forecasting? Why is forecasting important? How can we evaluate a future demand? How do we make mistakes?

Industry Environment and Concepts for Forecasting 1

Demand Forecasting When a product is produced for a market, the demand occurs in the future. The production planning cannot be accomplished unless

Ch.3 Demand Forecasting.

Forecasting in STATA: Tools and Tricks

Time Series AS This Is How You Do. Kim Freeman

TIME SERIES ANALYSIS AS A MEANS OF MANAGERIA DECISION MAKING IN MANUFACTURING INDUSTRY

2.2 Elimination of Trend and Seasonality

Forecasting in supply chains

A synonym is a word that has the same or almost the same definition of

2013 MBA Jump Start Program. Statistics Module Part 3

Chapter 7: Simple linear regression Learning Objectives

Schools Value-added Information System Technical Manual

Using Excel (Microsoft Office 2007 Version) for Graphical Analysis of Data

2) The three categories of forecasting models are time series, quantitative, and qualitative. 2)

Plot the following two points on a graph and draw the line that passes through those two points. Find the rise, run and slope of that line.

table to see that the probability is (b) What is the probability that x is between 16 and 60? The z-scores for 16 and 60 are: = 1.

16 : Demand Forecasting

Chapter 27 Using Predictor Variables. Chapter Table of Contents

Simple Methods and Procedures Used in Forecasting

$ ( $1) = 40

Seasonal and working day adjustment for the Industry Production Index Methodological Note

Polynomial Operations and Factoring

Time series Forecasting using Holt-Winters Exponential Smoothing

Demand forecasting & Aggregate planning in a Supply chain. Session Speaker Prof.P.S.Satish

Outline: Demand Forecasting

Regression Analysis: A Complete Example

Introduction to time series analysis

Manual on Air Traffic Forecasting

Slides Prepared by JOHN S. LOUCKS St. Edward s University

business statistics using Excel OXFORD UNIVERSITY PRESS Glyn Davis & Branko Pecar

Trading Binary Options Strategies and Tactics

Algebra II End of Course Exam Answer Key Segment I. Scientific Calculator Only

Forecasting the first step in planning. Estimating the future demand for products and services and the necessary resources to produce these outputs

" Y. Notation and Equations for Regression Lecture 11/4. Notation:

Review of Fundamental Mathematics

Exercise 1.12 (Pg )

Evaluating Trading Systems By John Ehlers and Ric Way

11.2 Monetary Policy and the Term Structure of Interest Rates

Shear and Moment Diagrams. Shear and Moment Diagrams. Shear and Moment Diagrams. Shear and Moment Diagrams. Shear and Moment Diagrams

Financial Time Series Analysis (FTSA) Lecture 1: Introduction

Trading day adjustment for the consumption of Dutch households (methodological note)

Section 1.5 Linear Models

Method To Solve Linear, Polynomial, or Absolute Value Inequalities:

Linear Regression. Chapter 5. Prediction via Regression Line Number of new birds and Percent returning. Least Squares

Time Series Analysis

DRAFT. Algebra 1 EOC Item Specifications

Guidance for Industry

Week TSX Index

Simple Linear Regression Inference

WEB APPENDIX. Calculating Beta Coefficients. b Beta Rise Run Y X

seven Statistical Analysis with Excel chapter OVERVIEW CHAPTER

Module 3: Correlation and Covariance

This unit will lay the groundwork for later units where the students will extend this knowledge to quadratic and exponential functions.

ANALYSIS OF TREND CHAPTER 5

Lecture 11: Chapter 5, Section 3 Relationships between Two Quantitative Variables; Correlation

Correlation key concepts:

In this chapter, you will learn improvement curve concepts and their application to cost and price analysis.

The Big Picture. Correlation. Scatter Plots. Data

Time Series Analysis. 1) smoothing/trend assessment

Time Series Analysis and Forecasting

Promotional Forecast Demonstration

Analytical Test Method Validation Report Template

2After completing this chapter you should be able to

Scatter Plot, Correlation, and Regression on the TI-83/84

I. Introduction. II. Background. KEY WORDS: Time series forecasting, Structural Models, CPS

Part 1 : 07/27/10 21:30:31

Chapter 6 Cost-Volume-Profit Relationships

1.3 LINEAR EQUATIONS IN TWO VARIABLES. Copyright Cengage Learning. All rights reserved.

CREATING A CORPORATE BOND SPOT YIELD CURVE FOR PENSION DISCOUNTING DEPARTMENT OF THE TREASURY OFFICE OF ECONOMIC POLICY WHITE PAPER FEBRUARY 7, 2005

NCSS Statistical Software Principal Components Regression. In ordinary least squares, the regression coefficients are estimated using the formula ( )

Overview Accounting for Business (MCD1010) Introductory Mathematics for Business (MCD1550) Introductory Economics (MCD1690)...

In mathematics, there are four attainment targets: using and applying mathematics; number and algebra; shape, space and measures, and handling data.

Factors affecting online sales

2-1 Position, Displacement, and Distance

2. Simple Linear Regression

Mario Guarracino. Regression

Regression and Correlation

Smoothing methods. Marzena Narodzonek-Karpowska. Prof. Dr. W. Toporowski Institut für Marketing & Handel Abteilung Handel

An Analysis of the Rossby Wave Theory

Experiment #1, Analyze Data using Excel, Calculator and Graphs.

Transcription:

TIME SERIES ANALYSIS A time series is a sequence of data indexed by time, often comprising uniformly spaced observations. It is formed by collecting data over a long range of time at a regular time interval (data points should be at the same interval on the time axis). Consecutive points are then linked by means of straight lines to form the series. The model accounts for patterns in the past movements of a variable and uses that information to predict its future movements. In a sense, a time series is a sophisticated method of extrapolation. In time series analysis, we have no structural knowledge about the real world causal relationships which affect the variable we are trying to forecast. For example, an economic variable may be influenced by external factors which we cannot explain like the weather, changes in taste or seasonal cycles in spending. We could have used a regression model to forecast but the standard errors may become so large that the coefficients will become insignificant and the standard error of forecast unreasonably large. We thus have to observe the evolution of the time series and draw some conclusions about its past behaviour that would allow us to infer something about its probable future. We should not attempt to construct a model which offers a structural explanation for its behaviour in terms of other variables (like in regression) but rather obtain one which replicates its past behaviour in a way that will help us forecast its future behaviour. Components of a time series A time series is essentially composed of the following four components: 1. Trend 2. Seasonality 3. Cycle 4. Residuals Trend The trend can usually be detected by inspection of the time series. It can be upward, downward or constant, depending on the slope of the trend-line. The trend-line equation of the line is actually the equation of the regression line of y(t) on t. Seasonality The seasonal factor can easily be detected from the graph of the time series. It is usually represented by peaks and troughs occurring at regular time intervals, suggesting that the variable attains maxima and minima. The time interval between any two successive peaks or troughs is known as the period.

Cycle A cycle resembles a season except that its period is usually much longer. Cycles occur as a result of changes of qualitative nature, that is, changes in taste, fashion and trend for example. A cycle is very hard to detect visually from a time series graph and is thus very often assumed to be negligible, especially for short-term data. Residuals Residuals are also known as errors which are put on the account of unpredictable external factors commonly known as freaks of nature. They are the differences between the expected and observed values of the variable. Theoretical values are the combination (addition or multiplication) of trend, seasonality and cycle. It is assumed that residuals are normally distributed and that, over a long range of time, they cancel one another in such a way that their sum is zero. Time series models There are two types of time series models additive and multiplicative. In the additive model, the components are added and, in the multiplicative model, they are multiplied! Using T for trend, C for cycle, S for season and R for residuals, we can represent these models as follows: Additive Multiplicative y ( t) = T + C + S + R y ( t) = T C S R The main difference between these two models is that, for the multiplicative, it is assumed that the factors influencing the components are dependent. This is a much more sensible and practical model for real-life situations since, in most situations, factors are interdependent. Whenever the model to be used is not specified, use the multiplicative. It should be clear that, for an additive model, the components are expressed in the same units. For the multiplicative model, the trend has the same units as the y(t) values and the three other components are considered to be unitless, thus acting as indices. Problems on time series mainly involve 1. Detrending 2. Deseasonalisation 3. Forecasting

Isolation of components Trend Given a set of data, it is relative easy to determine the trend-line equation and hence the trend values by using the method of regression. The equation will be of the form y ( t) = a + bt where a and b are known as regression coefficients. It is obvious that a is the y-intercept and b is the slope of the regression line. It is noted that, since the values of t occur at a regular interval, we can determine the trend values by simply adding b continuously to the first trend-value. Seasonality The seasonal component is rather strangely calculated! It is first removed, together with the residuals, from the original data by using the method of moving averages and then obtained back by dividing the original data by the remaining components (multiplicative model) or by subtracting the remaining components from the original data (additive model). The residuals are then eliminated by averaging as will be seen in an example further on. Cycle Cycles are expected to sum up to zero in an additive model and negligible in a multiplicative model. Hence, they do not take an active part in the process of forecasting. Residuals This unpredictable component is also removed together with the season when applying the method of moving averages. It makes no sense to isolate it but it may be extracted from the seasonality by some form of averaging. Forecasting Forecasting is the ultimate objective of time series analysis. This delicate procedure involves only trend and seasonality. We will look at two different aspects of forecasting using tables or graphs. The method of moving averages This is a very effective method of smoothing a time series. Before forecasting, it is essential to remove any wide variation in the data, especially the seasonal factor. The method of moving averages evens out short-term fluctuations and makes the trend clearer. It is important to know the period of the data before applying this method. If we have a period of length n time units, we apply an n-period moving average. When n is odd, the moving average is automatically centred on the data points but when n is even, we have to centre the data before proceeding any further. This is very well illustrated in the following example.

Example The following is a set of data representing the quarterly sales of a certain firm. The series has been smoothed by applying an appropriate four-quarter moving average. (Quarterly data have period 4 and that can be confirmed by plotting a graph and checking the time interval between any two successive peaks or troughs. The bold figures indicate the peaks of the time series.) A multiplicative model has been used in this case. t Y(t) 4Q-MA 4Q-CMA [TCSR] [TC] [TC] 1998 QI 1 289 - QII 2 310-306 QIII 3 325 306.75 307.5 QIV 4 300 308.25 309 1999 QI 5 295 310 311 QII 6 316 311.25 311.5 QIII 7 333 312.25 313 QIV 8 302 313.75 314.5 2000 QI 9 301 316.125 317.75 QII 10 322 318.25 318.75 QIII 11 346 - QIV 12 306 - It is to be noted that the application of a moving average always results in loss of data. In the table above, we have lost the first and last two data points. In general, if n is even, we lose n data points and, if n is odd, we lose n 1 data points. The following diagram shows the smoothing caused by the moving average method.

350 340 330 Time series for sales Y(t) 4Q-CMA Sales 320 310 300 290 280 0 2 4 6 8 10 12 14 Time units Sometimes forecasting is carried out as follows: 1. Draw a line of best fit through the moving averages. 2. If we want to forecast the sales for quarter I in the year 2001, for example, we find the trend-value for that specific quarter by using the trend-line just drawn. 3. Determine the deviations of the data points for all the first quarters from that line. If a point lies above (below) the line, the deviation is considered as positive (negative). 4. Calculate the average of these deviations (known as the seasonal index for the first quarter) and add it to the trend-value found in the second step. This final value will be the forecast. The above method being rather approximate, we can make use of tables to calculate the seasonal indices for each quarter after averaging out the residuals as shown in the tables below for both additive and multiplicative models.

MULTIPLICATIVE MODEL t Y(t) 4Q-MA 4Q-CMA Y(t)/TC Seasonal [TCSR] [TC] [TC] [SR] index 1998 QI 1 289 - - 0.9528 QII 2 310 - - 1.0145 306 QIII 3 325 306.75 1.0595 1.0640 307.5 QIV 4 300 308.25 0.9732 0.9687 309 1999 QI 5 295 310 0.9516 0.9528 311 QII 6 316 311.25 1.0153 1.0145 311.5 QIII 7 333 312.25 1.0665 1.0640 313 QIV 8 302 313.75 0.9625 0.9687 314.5 2000 QI 9 301 316.125 0.9522 0.9528 317.75 QII 10 322 318.25 1.0118 1.0145 318.75 QIII 11 346 - - 1.0640 QIV 12 306 - - 0.9687 Quarter Year I II III IV 1998 - - 1.0595 0.9732 1999 0.9516 1.0153 1.0665 0.9625 2000 0.9522 1.0118 - - Total 1.9038 2.0271 2.1260 1.9357 Average 0.9519 1.01355 1.0630 0.96785 (Total = 3.9963) Index 0.9528 1.0145 1.0640 0.9687 (Total = 4.0000) Trend-line equation: Y(t) = 299.97 + 1.86t FORECAST QI QII QIII QIV 2001 309 331 349 319

ADDITIVE MODEL t Y(t) 4Q-MA 4Q-CMA Y(t)-(T+C) Seasonal [T+C+S+R] [T+C] [T+C] [S+R] index 1998 QI 1 289 - - -14.7344 QII 2 310 - - 4.5781 306 QIII 3 325 306.75 18.25 19.8281 307.5 QIV 4 300 308.25-8.25-9.6719 309 1999 QI 5 295 310-15 -14.7344 311 QII 6 316 311.25 4.75 4.5781 311.5 QIII 7 333 312.25 20.75 19.8281 313 QIV 8 302 313.75-11.75-9.6719 314.5 2000 QI 9 301 316.125-15.125-14.7344 317.75 QII 10 322 318.25 3.75 4.5781 318.75 QIII 11 346 - - 19.8281 QIV 12 306 - - -9.6719 FORECAST Quarter Year I II III IV 1998 - - 18.25-8.25 1999-15 4.75 20.75-11.75 2000-15.125 3.75 - - Total -30.125 8.50 39.00-20.00 Average -15.0625 4.25 19.50-10.00 (Total = -1.3125) Index -14.7344 4.5781 19.8281-9.6719 (Total = -0.0001) Trend-line equation: Y(t) = 299.97 + 1.86t QI QII QIII QIV 2001 309 331 348 320