Professional Documents
Culture Documents
Time Series 1
Time Series 1
Time Series 1
Forecasting
WEEK-1
Why Forecast?
• Every organization faces internal and external risks, such as high competition, failure of
technology, labor unrest, inflation, recession, and change in government laws.
Benefits of Forecasting
• It helps in setting business targets/goals
• Understand the past behavior
• Plan for the future
• Evaluate the current accomplishment
What is Time Series?
• A time series is a sequence of measurements on the same variable collected
over time
• Example :
• Daily stock price of a company
• Weekly cash withdrawal from your nearest ATM
• Monthly sales volume
• Annual GDP for a country
Why do you another technique for
forecasting?
• Because not all data are the same, or similar. Because different types of data possess
different features, different methods of forecast becomes applicable
Independent variable
Dependent
variable Month Sales
Price Promotion Adv Sales Jan 250
121 10 300 1000 Feb 300
115 12 250 2300 Mar 372
117 5 275 1900 April 179
125 10 600 1400 May 185
127 15 479 1300 June 194
135 25 450 1350
July ?
127 19 410 ?
Prediction Prediction
Sales = 23 -0.42 Price+ 0.16Promotion+0.03 Adv One Dependent variable – Sales
What are the features of Time-Series
• Data are not independent
• Data should be equally spaced, that is, data should be available at regular
intervals
• Ordering is very important because there is dependency and changing the
order will change the meaning of the data
Month Sales Period Sales Month Sales
Jan 250 Jan 250 Jan 250
Feb 300 Feb 300 May 185
Mar 372 Feb 300
2016 372
April 179
2017 179 April 179
May 185
Q3 185 Mar 372
June 194
Q1 194 June 194
July ?
What is NOT a Time Series
• When time periods are not the same: For example in a single
time series both yearly and quarterly data cannot be mixed
Steps in Forecasting
• Problem definition
Before a forecasting problem is taken up, decision needs to be made regarding the forecast horizon -
Period/Tenure/Range to forecast
a) Long term (5-10 yrs.)
b) Mid-term (1-5 yrs.)
c) Short-term (2 weeks –for few months)
• Gathering information
a) Understanding historical pattern of data
b) Using past knowledge forecasting for future
If volume of data is limited, forecasts will not be reliable enough
If data is available for very long past, data may not be useful at all
Steps in forecasting contd…
Do we need 35 years for data to predict for next one year?
Series stable
Years
Steps in forecasting contd1…
• Based on the pattern of the data, time series has been split into 3
components
1) Trend
2) Seasonality
3) Irregular component
Trend
Upward Trend
Downward Trend
Seasonality
Trend : Initial years Outliers : No Long run cycle: from 1974 to 1980
• It’s a part of the series that can’t be explained through systematic components , that is,
trend or seasonality
• Interpolation – Linear
• Interpolation – Spline