Presentation is loading. Please wait.

Presentation is loading. Please wait.

Analysis of Time Series and Forecasting

Similar presentations


Presentation on theme: "Analysis of Time Series and Forecasting"— Presentation transcript:

1 Analysis of Time Series and Forecasting
Chapter 15 Analysis of Time Series and Forecasting

2 Learning Objectives Objectives of Time series
Components of Time series Additive & multiplicative model Moving Average method Least Square Method Method of simple averages (Seasonal Variation) De-seasonalisation of data Exponential Smoothing Method

3 Types of Forecasting Models
Qualitative methods – judgmental methods Forecasts generated subjectively by the forecaster Educated guesses Quantitative methods – based on mathematical modeling: Forecasts generated through mathematical modeling

4 Quantitative Approaches to Forecasting
Quantitative methods are based on an analysis of historical data concerning one or more time series. A time series is a set of observations measured at successive points in time or over successive periods of time. If the historical data used are restricted to past values of the series that we are trying to forecast, the procedure is called a time series method. If the historical data used involve other time series that are believed to be related to the time series that we are trying to forecast, the procedure is called a causal method. Quantitative approaches are generally preferred. In this chapter we will focus on quantitative approaches to forecasting.

5 Time Series and Forecasting
Time series refers to any group of statistical information accumulated at regular intervals. It is a quantitative method used to determine patterns in data collected over time. Future prediction is always a matter of great concern in any organization. It is of great interest in any field such as economics, business, whether, stock market, etc. In forecasting, these patterns are projected to arrive at an estimate for the future.

6 Objectives of Time Series Analysis
Understanding the past behaviour: If we look at the times series of sales of readymade garment of a company then we can get an idea about the sales trend of that company in the past and on the basis of this trend, we can predict future sales. Estimation and Forecasting: A forecast does not test what will happen but indicates what would happen if the past behaviour continues.

7 Components of Time series
Secular trend: Overall/general tendency if the series is observed over a long period of time. Cyclical variation: Cyclical movements. It do not follow any regular pattern but move in a somewhat unpredictable manner and period is more than one year. Seasonal variation: Periodic patterns of change within a year that tend to be repeated from year to year. Irregular variation: Describing the variation which is completely unpredictable, changing in a random manner.

8 Components of Time Series Data
Irregular fluctuations Cyclical Trend Seasonal 1 2 3 4 5 6 7 8 9 10 11 12 13 Year

9 Trend Analysis Secular trend represents the long-term direction of the series. Study of secular trends allows us to describe the historical pattern. Studying secular trends permits us to project past patterns, or trends, into the future. Studying the secular trend of a time series allows us to eliminate the trend component from the series. Trends can be linear or curvilinear. Fitting the linear trend: Least square method is used to find the best fitting line. When time series are best described by curves, then method of fitting the second-degree equation (parabolic curve) is used.

10 Cyclical Variation Cyclical variation is the component of a time series that tend to oscillate above and below the secular trend line for period more than one year. The cycles may sometimes be peculiar to a particular industry but more generally they relate to a the whole economy and are called business cycles. In business, cyclic variations are commonly associated with economic cycles, successful booms and slumps in economy. It has got 4 phases i.e prosperity, recession, depression and recovery. Contd…

11 Seasonal Variation Seasonal variation is a component of a time series which is defined as the repetitive and predictable movement around the trend line in one year or less. In order to detect seasonal variation, time intervals must be measured in small units (days, weeks, months or quarters). Main reasons for seasonal variations are the different climatic conditions in the year, customs, traditions, festivals, etc. Industries dealing with agricultural products, soft drinks, woolen garments, fashion tourism etc. are noticeably affected by seasonal variations. Contd…

12 Irregular Variation The final component of a time series is irregular variation. Typically, irregular variation occurs over short intervals and follows a random pattern. Because of the unpredictability of irregular variation, we do not attempt to explain it mathematically. However, we can often isolate its causes, but not all causes of irregular variation can be identified so easily.

13 Additive Model Multiplicative Model
Assumptions: The four components are independent and additive. Y=T+S+C+I The components C,S & I are measured as deviations from the secular trend and are all expressed in the same units as the original time series data. Multiplicative Model Assumptions: The four components are not independent and are multiplicative of each other. Y=T*S*C*I Only trend is expressed in the same units as the given data. Others are expressed as proportions.

14 Examples Decline in sales of cold drink in December
An Era of Prosperity A fire in factory delaying production for three weeks A need for increase in wheat production due to consistent increase in population

15 Excel Instructions for Drawing a Scatter Plot
Enter data in the Excel spreadsheet. Click on Insert on the toolbar and then click on the Chart tab. The Chart Wizard will appear. In step 1 on select the XY (scatter) chart type and then click next. In step 2 specify the cells where your data is located in the data range box. In step 3 you can give your chart a title and label your axes. In step 4 specify where you want the chart to be placed.

16 Example: Robert’s Drugs
During the past ten weeks, sales of cases of Comfort brand headache medicine at Robert's Drugs have been as follows: Week Sales Week Sales Plot this data.

17 Plot Robert’s Drugs Example
Excel Spreadsheet Showing Input Data. Specify cells A4:B13 as the Data Range.

18 Plot Robert’s Drugs Example
I labeled Robert’s Drug Example as The Chart title I labeled Sales as My Value (y) axis I labeled Week, t as My Value (x) axis

19 Smoothing Methods In cases in which the time series is fairly stable and has no significant trend, seasonal, or cyclical effects, one can use smoothing methods to average out the irregular components of the time series. Three common smoothing methods are: Moving average Weighted moving average Exponential smoothing

20 Smoothing Methods: Moving Average
Moving Average Method The moving average method consists of computing an average of the most recent n data values for the series and using this average for forecasting the value of the time series for the next period.

21 Robert Drug’s Example: Moving Average
Our scatter plot for Robert’s Drug Sales has no significant trend, seasonal, or cyclical effects. Thus we should employ a smoothing technique for forecasting sales. Forecast the sales for period 11 using a three period moving average (MA3).

22 Example: Robert’s Drugs: Moving Average
Steps to Moving Average Using Excel Step 1: Select the Tools pull-down menu. Step 2: Select the Data Analysis option. Step 3: When the Data Analysis Tools dialog appears, choose Moving Average. Step 4: When the Moving Average dialog box appears: Enter B4:B13 in the Input Range box. Enter 3 in the Interval box. Enter C5 in the Output Range box. Select OK. This specifies the value of n This is the column following our data, and one row below where our data begins.

23 Robert’s Drugs: Moving Average
MA3 (Three period Moving average) for Robert’s Drug Example Ft is the forecast for week t. F4 (forecast for week 4)=116.7 F11 (forecast for week 11)=118.3 Thus we would forecast the sales for Week 11 to be 118.3

24 Smoothing Methods: Weighted Moving Average
Weighted Moving Average Method The weighted moving average method consists of computing a weighted average of the most recent n data values for the series and using this weighted average for forecasting the value of the time series for the next period. The more recent observations are typically given more weight than older observations. For convenience, the weights usually sum to 1. The regular moving average gives equal weight to past data values when computing a forecast for the next period. The weighted moving average allows different weights to be allocated to past data values. There is no Excel command for computing this so you must do this manually. You can either manually enter the formulas into excel and apply to all periods or compute value by hand.

25 Smoothing Methods: Weighted Moving Average
Use a 3 period weighted moving average to forecast the sales for week 11 giving a weight of 0.6 to the most recent period, 0.3 to the second most recent period, and 0.1 to the third most recent period. F11 = (0.6)*130 + (0.3)*110 + (0.1)* 115= 122.5 Thus we would forecast the sales for week 11 to be Sales for 3rd most recent period Sales for the most recent period Sales for 2nd most recent period

26 Smoothing Methods: Exponential Smoothing
Using exponential smoothing, the forecast for the next period is equal to the forecast for the current period plus a proportion () of the forecast error in the current period. Using exponential smoothing, the forecast is calculated by: Ft+1= Yt + (1- )Ft where:  is the smoothing constant (a number between 0 and 1) Ft is the forecast for period t Ft +1 is the forecast for period t+1 Yt is the actual data value for period t This is the same as Ft+1 = Ft + α (Yt – Ft)

27 Robert’s Drugs: Exponential Smoothing
Forecast the sales for period 11 using Exponential Smoothing α= 0.1.

28 Robert’s Drugs: Exponential Smoothing
Steps to Exponential Smoothing Using Excel Step 1: Select the Tools pull-down menu. Step 2: Select the Data Analysis option. Step 3: When the Data Analysis Tools dialog appears, choose Exponential Smoothing. Step 4: When the Exponential Smoothing dialog box appears: Enter B4:B13 in the Input Range box. Enter 0.9 (for a = 0.1) in Damping Factor box. Enter C4 in the Output Range box. Select OK. Damping factor is always 1-α

29 Robert’s Drugs: Exponential Smoothing
F11 = 0.1 * Y F10 = .1 * * = Thus we would forecast sales for week 11 to be

30 Thank U


Download ppt "Analysis of Time Series and Forecasting"

Similar presentations


Ads by Google