CLASS B.Sc.III PAPER APPLIED STATISTICS. Time Series “The Art of Forecasting”

82
CLASS B.Sc.III PAPER APPLIED STATISTICS

Transcript of CLASS B.Sc.III PAPER APPLIED STATISTICS. Time Series “The Art of Forecasting”

Page 1: CLASS B.Sc.III PAPER APPLIED STATISTICS. Time Series “The Art of Forecasting”

CLASS B.Sc.III

PAPER

APPLIED STATISTICS

Page 2: CLASS B.Sc.III PAPER APPLIED STATISTICS. Time Series “The Art of Forecasting”

Time SeriesTime Series

““The Art of Forecasting”The Art of Forecasting”

Page 3: CLASS B.Sc.III PAPER APPLIED STATISTICS. Time Series “The Art of Forecasting”

Learning ObjectivesLearning ObjectivesLearning ObjectivesLearning Objectives• Describe what forecasting is

• Explain time series & its components

• Smooth a data series– Moving average– Exponential smoothing

• Forecast using trend models Simple Linear Regression Auto-regressive

Page 4: CLASS B.Sc.III PAPER APPLIED STATISTICS. Time Series “The Art of Forecasting”

What Is Forecasting?What Is Forecasting?What Is Forecasting?What Is Forecasting?• Process of predicting a

future event• Underlying basis of

all business decisions– Production

– Inventory

– Personnel

– Facilities

Page 5: CLASS B.Sc.III PAPER APPLIED STATISTICS. Time Series “The Art of Forecasting”

• Used when situation is vague & little data exist– New products– New technology

• Involve intuition, experience

• e.g., forecasting sales on Internet

Qualitative MethodsQualitative Methods

Forecasting ApproachesForecasting ApproachesForecasting ApproachesForecasting Approaches

Quantitative MethodsQuantitative Methods

Page 6: CLASS B.Sc.III PAPER APPLIED STATISTICS. Time Series “The Art of Forecasting”

• Used when situation is ‘stable’ & historical data exist– Existing products– Current technology

• Involve mathematical techniques

• e.g., forecasting sales of color televisions

Quantitative MethodsQuantitative Methods

Forecasting ApproachesForecasting ApproachesForecasting ApproachesForecasting Approaches

• Used when situation is vague & little data exist– New products– New technology

• Involve intuition, experience

• e.g., forecasting sales on Internet

Qualitative MethodsQualitative Methods

Page 7: CLASS B.Sc.III PAPER APPLIED STATISTICS. Time Series “The Art of Forecasting”

Quantitative ForecastingQuantitative Forecasting Quantitative ForecastingQuantitative Forecasting

• Select several forecasting methods

• ‘Forecast’ the past

• Evaluate forecasts

• Select best method

• Forecast the future

• Monitor continuously forecast accuracy

Page 8: CLASS B.Sc.III PAPER APPLIED STATISTICS. Time Series “The Art of Forecasting”

Quantitative Forecasting Methods

Quantitative Forecasting Methods

Page 9: CLASS B.Sc.III PAPER APPLIED STATISTICS. Time Series “The Art of Forecasting”

Quantitative Forecasting Methods

Quantitative Forecasting Methods

QuantitativeForecasting

Page 10: CLASS B.Sc.III PAPER APPLIED STATISTICS. Time Series “The Art of Forecasting”

Quantitative Forecasting Methods

Quantitative Forecasting Methods

QuantitativeForecasting

Time SeriesModels

Page 11: CLASS B.Sc.III PAPER APPLIED STATISTICS. Time Series “The Art of Forecasting”

CausalModels

Quantitative Forecasting Methods

Quantitative Forecasting Methods

QuantitativeForecasting

Time SeriesModels

Page 12: CLASS B.Sc.III PAPER APPLIED STATISTICS. Time Series “The Art of Forecasting”

CausalModels

Quantitative Forecasting Methods

Quantitative Forecasting Methods

QuantitativeForecasting

Time SeriesModels

ExponentialSmoothing

TrendModels

MovingAverage

Page 13: CLASS B.Sc.III PAPER APPLIED STATISTICS. Time Series “The Art of Forecasting”

CausalModels

Quantitative Forecasting Methods

Quantitative Forecasting Methods

QuantitativeForecasting

Time SeriesModels

RegressionExponentialSmoothing

TrendModels

MovingAverage

Page 14: CLASS B.Sc.III PAPER APPLIED STATISTICS. Time Series “The Art of Forecasting”

CausalModels

Quantitative Forecasting Methods

Quantitative Forecasting Methods

QuantitativeForecasting

Time SeriesModels

RegressionExponentialSmoothing

TrendModels

MovingAverage

Page 15: CLASS B.Sc.III PAPER APPLIED STATISTICS. Time Series “The Art of Forecasting”

What is a Time Series?What is a Time Series?What is a Time Series?What is a Time Series?• Set of evenly spaced numerical data

– Obtained by observing response variable at regular time periods

• Forecast based only on past values– Assumes that factors influencing past, present, &

future will continue

• Example– Year: 1995 1996 1997 1998 1999– Sales: 78.7 63.5 89.7 93.2 92.1

Page 16: CLASS B.Sc.III PAPER APPLIED STATISTICS. Time Series “The Art of Forecasting”

Time Series vs. Time Series vs. Cross Sectional DataCross Sectional Data

Time series data is a sequence of observations

– collected from a collected from a process process

– with with equally spacedequally spaced periods of time periods of time.

Page 17: CLASS B.Sc.III PAPER APPLIED STATISTICS. Time Series “The Art of Forecasting”

Time Series vs. Time Series vs. Cross Sectional DataCross Sectional Data

Contrary to restrictions placed on cross-sectional data, the major purpose of forecasting with time series is to extrapolate beyond the range of the explanatory variables.

Page 18: CLASS B.Sc.III PAPER APPLIED STATISTICS. Time Series “The Art of Forecasting”

Time Series vs. Time Series vs. Cross Sectional DataCross Sectional Data

Time series is dynamic, it does change over time.

Page 19: CLASS B.Sc.III PAPER APPLIED STATISTICS. Time Series “The Art of Forecasting”

Time Series vs. Time Series vs. Cross Sectional DataCross Sectional Data

When working with time series data, it is paramount that the data is plotted so the researcher can view the data.

Page 20: CLASS B.Sc.III PAPER APPLIED STATISTICS. Time Series “The Art of Forecasting”

Time Series ComponentsTime Series Components

Page 21: CLASS B.Sc.III PAPER APPLIED STATISTICS. Time Series “The Art of Forecasting”

Time Series ComponentsTime Series Components

TrendTrend

Page 22: CLASS B.Sc.III PAPER APPLIED STATISTICS. Time Series “The Art of Forecasting”

Time Series ComponentsTime Series Components

TrendTrend CyclicalCyclical

Page 23: CLASS B.Sc.III PAPER APPLIED STATISTICS. Time Series “The Art of Forecasting”

Time Series ComponentsTime Series Components

TrendTrend

SeasonalSeasonal

CyclicalCyclical

Page 24: CLASS B.Sc.III PAPER APPLIED STATISTICS. Time Series “The Art of Forecasting”

Time Series ComponentsTime Series Components

TrendTrend

SeasonalSeasonal

CyclicalCyclical

IrregularIrregular

Page 25: CLASS B.Sc.III PAPER APPLIED STATISTICS. Time Series “The Art of Forecasting”

Trend ComponentTrend Component• Persistent, overall upward or downward

pattern

• Due to population, technology etc.

• Several years duration

Mo., Qtr., Yr.Mo., Qtr., Yr.

ResponseResponse

© 1984-1994 T/Maker Co.

Page 26: CLASS B.Sc.III PAPER APPLIED STATISTICS. Time Series “The Art of Forecasting”

Trend ComponentTrend Component

• Overall Upward or Downward Movement

• Data Taken Over a Period of Years

Sales

Time

Upward trend

Page 27: CLASS B.Sc.III PAPER APPLIED STATISTICS. Time Series “The Art of Forecasting”

Cyclical ComponentCyclical Component• Repeating up & down movements

• Due to interactions of factors influencing economy

• Usually 2-10 years duration

Mo., Qtr., Yr.Mo., Qtr., Yr.

ResponseResponseCycle

Page 28: CLASS B.Sc.III PAPER APPLIED STATISTICS. Time Series “The Art of Forecasting”

Cyclical ComponentCyclical Component• Upward or Downward Swings

• May Vary in Length

• Usually Lasts 2 - 10 YearsSales

Time

Cycle

Page 29: CLASS B.Sc.III PAPER APPLIED STATISTICS. Time Series “The Art of Forecasting”

Seasonal ComponentSeasonal Component

• Regular pattern of up & down fluctuations

• Due to weather, customs etc.

• Occurs within one year

Mo., Qtr.Mo., Qtr.

ResponseResponseSummerSummer

© 1984-1994 T/Maker Co.

Page 30: CLASS B.Sc.III PAPER APPLIED STATISTICS. Time Series “The Art of Forecasting”

Seasonal ComponentSeasonal Component• Upward or Downward Swings

• Regular Patterns

• Observed Within One YearSales

Time (Monthly or Quarterly)

Winter

Page 31: CLASS B.Sc.III PAPER APPLIED STATISTICS. Time Series “The Art of Forecasting”

Irregular ComponentIrregular Component

• Erratic, unsystematic, ‘residual’ fluctuations

• Due to random variation or unforeseen events– Union strike– War

• Short duration & nonrepeating

© 1984-1994 T/Maker Co.

Page 32: CLASS B.Sc.III PAPER APPLIED STATISTICS. Time Series “The Art of Forecasting”

Random or Irregular Random or Irregular ComponentComponent

• Erratic, Nonsystematic, Random,

‘Residual’ Fluctuations

• Due to Random Variations of

– Nature

– Accidents

• Short Duration and Non-repeating

Page 33: CLASS B.Sc.III PAPER APPLIED STATISTICS. Time Series “The Art of Forecasting”

Time Series ForecastingTime Series Forecasting

Page 34: CLASS B.Sc.III PAPER APPLIED STATISTICS. Time Series “The Art of Forecasting”

Time Series ForecastingTime Series ForecastingTime

Series

Page 35: CLASS B.Sc.III PAPER APPLIED STATISTICS. Time Series “The Art of Forecasting”

Time Series ForecastingTime Series ForecastingTime

Series

Trend?

Page 36: CLASS B.Sc.III PAPER APPLIED STATISTICS. Time Series “The Art of Forecasting”

Time Series ForecastingTime Series ForecastingTime

Series

Trend?SmoothingMethods

NoNo

Page 37: CLASS B.Sc.III PAPER APPLIED STATISTICS. Time Series “The Art of Forecasting”

Time Series ForecastingTime Series ForecastingTime

Series

Trend?SmoothingMethods

TrendModels

YesYesNoNo

Page 38: CLASS B.Sc.III PAPER APPLIED STATISTICS. Time Series “The Art of Forecasting”

Time Series ForecastingTime Series ForecastingTime

Series

Trend?SmoothingMethods

TrendModels

YesYesNoNo

ExponentialSmoothing

MovingAverage

Page 39: CLASS B.Sc.III PAPER APPLIED STATISTICS. Time Series “The Art of Forecasting”

Time Series ForecastingTime Series Forecasting

Linear

TimeSeries

Trend?SmoothingMethods

TrendModels

YesNo

ExponentialSmoothing

Quadratic Exponential Auto-Regressive

MovingAverage

Linear

TimeSeries

Trend?SmoothingMethods

TrendModels

YesNo

ExponentialSmoothing

Quadratic Exponential Auto-Regressive

MovingAverage

Page 40: CLASS B.Sc.III PAPER APPLIED STATISTICS. Time Series “The Art of Forecasting”

Time Series AnalysisTime Series Analysis

Page 41: CLASS B.Sc.III PAPER APPLIED STATISTICS. Time Series “The Art of Forecasting”

Plotting Time Series DataPlotting Time Series Data

09/83 07/86 05/89 03/92 01/95

Month/Year

0

2

4

6

8

10

12

Number of Passengers

(X 1000)Intra-Campus Bus Passengers

Data collected by Coop Student (10/6/95)

Page 42: CLASS B.Sc.III PAPER APPLIED STATISTICS. Time Series “The Art of Forecasting”

Moving Average MethodMoving Average MethodMoving Average MethodMoving Average Method

Page 43: CLASS B.Sc.III PAPER APPLIED STATISTICS. Time Series “The Art of Forecasting”

Time Series ForecastingTime Series ForecastingTime Series ForecastingTime Series Forecasting

Linear

TimeSeries

Trend?SmoothingMethods

TrendModels

YesNo

ExponentialSmoothing

Quadratic Exponential Auto-Regressive

MovingAverage

Linear

TimeSeries

Trend?SmoothingMethods

TrendModels

YesNo

ExponentialSmoothing

Quadratic Exponential Auto-Regressive

MovingAverage

Page 44: CLASS B.Sc.III PAPER APPLIED STATISTICS. Time Series “The Art of Forecasting”

Moving Average MethodMoving Average Method

• Series of arithmetic means

• Used only for smoothing– Provides overall impression of data over time

Page 45: CLASS B.Sc.III PAPER APPLIED STATISTICS. Time Series “The Art of Forecasting”

Moving Average MethodMoving Average MethodMoving Average MethodMoving Average Method

• Series of arithmetic means

• Used only for smoothing– Provides overall impression of data over time

Used for elementary forecasting Used for elementary forecasting

Page 46: CLASS B.Sc.III PAPER APPLIED STATISTICS. Time Series “The Art of Forecasting”

Moving Average GraphMoving Average GraphMoving Average GraphMoving Average Graph

0

2

4

6

8

93 94 95 96 97 98

0

2

4

6

8

93 94 95 96 97 98

YearYear

SalesSalesActualActual

Page 47: CLASS B.Sc.III PAPER APPLIED STATISTICS. Time Series “The Art of Forecasting”

Moving Average Moving Average [An Example]

Moving Average Moving Average [An Example]

You work for Firestone Tire. You want to smooth random fluctuations using a 3-period moving average.

1995 20,0001996 24,0001997 22,0001998 26,0001999 25,000

Page 48: CLASS B.Sc.III PAPER APPLIED STATISTICS. Time Series “The Art of Forecasting”

Moving Average [Solution]

Moving Average [Solution]

Year Sales MA(3) in 1,000

1995 20,000 NA

1996 24,000 (20+24+22)/3 = 22

1997 22,000 (24+22+26)/3 = 24

1998 26,000 (22+26+25)/3 = 24

1999 25,000 NA

Page 49: CLASS B.Sc.III PAPER APPLIED STATISTICS. Time Series “The Art of Forecasting”

Moving Average Moving Average Year Response Moving

Ave

1994 2 NA

1995 5 3

1996 2 3

1997 2 3.67

1998 7 5

1999 6 NA 94 95 96 97 98 99

8

6

4

2

0

Sales

Page 50: CLASS B.Sc.III PAPER APPLIED STATISTICS. Time Series “The Art of Forecasting”

Exponential Smoothing Exponential Smoothing MethodMethod

Exponential Smoothing Exponential Smoothing MethodMethod

Page 51: CLASS B.Sc.III PAPER APPLIED STATISTICS. Time Series “The Art of Forecasting”

Time Series ForecastingTime Series ForecastingTime Series ForecastingTime Series Forecasting

Linear

TimeSeries

Trend?SmoothingMethods

TrendModels

YesNo

ExponentialSmoothing

Quadratic Exponential Auto-Regressive

MovingAverage

Linear

TimeSeries

Trend?SmoothingMethods

TrendModels

YesNo

ExponentialSmoothing

Quadratic Exponential Auto-Regressive

MovingAverage

Page 52: CLASS B.Sc.III PAPER APPLIED STATISTICS. Time Series “The Art of Forecasting”

Exponential Smoothing Exponential Smoothing MethodMethod

Exponential Smoothing Exponential Smoothing MethodMethod

• Form of weighted moving average– Weights decline exponentially– Most recent data weighted most

• Requires smoothing constant (W)– Ranges from 0 to 1– Subjectively chosen

• Involves little record keeping of past data

Page 53: CLASS B.Sc.III PAPER APPLIED STATISTICS. Time Series “The Art of Forecasting”

You’re organizing a Kwanza meeting. You want to forecast attendance for 1998 using exponential smoothing ( = .20). Past attendance (00) is:

1995 41996 61997 51998 31999 7

Exponential SmoothingExponential Smoothing [An Example]

Exponential SmoothingExponential Smoothing [An Example]

© 1995 Corel Corp.

Page 54: CLASS B.Sc.III PAPER APPLIED STATISTICS. Time Series “The Art of Forecasting”

Exponential SmoothingExponential SmoothingExponential SmoothingExponential Smoothing

Time YiSmoothed Value, Ei

(W = .2)Forecast

Yi + 1

1995 4 4.0 NA

1996 6 (.2)(6) + (1-.2)(4.0) = 4.4 4.0

1997 5 (.2)(5) + (1-.2)(4.4) = 4.5 4.4

1998 3 (.2)(3) + (1-.2)(4.5) = 4.2 4.5

1999 7 (.2)(7) + (1-.2)(4.2) = 4.8 4.2

2000 NA NA 4.8

Time YiSmoothed Value, Ei

(W = .2)Forecast

Yi + 1

1995 4 4.0 NA

1996 6 (.2)(6) + (1-.2)(4.0) = 4.4 4.0

1997 5 (.2)(5) + (1-.2)(4.4) = 4.5 4.4

1998 3 (.2)(3) + (1-.2)(4.5) = 4.2 4.5

1999 7 (.2)(7) + (1-.2)(4.2) = 4.8 4.2

2000 NA NA 4.8

Ei = W·Yi + (1 - W)·Ei-1Ei = W·Yi + (1 - W)·Ei-1

^

Page 55: CLASS B.Sc.III PAPER APPLIED STATISTICS. Time Series “The Art of Forecasting”

Exponential SmoothingExponential Smoothing [Graph]

Exponential SmoothingExponential Smoothing [Graph]

0

2

4

6

8

93 96 97 98 99

0

2

4

6

8

93 96 97 98 99

YearYear

AttendanceAttendanceActualActual

Page 56: CLASS B.Sc.III PAPER APPLIED STATISTICS. Time Series “The Art of Forecasting”

Weight

W is... Prior Period2 Periods

Ago3 Periods

Ago

W W(1-W) W(1-W)2

0.10 10% 9% 8.1%

0.90 90% 9% 0.9%

Weight

W is... Prior Period2 Periods

Ago3 Periods

Ago

W W(1-W) W(1-W)2

0.10 10% 9% 8.1%

0.90 90% 9% 0.9%

Forecast Effect of Smoothing Coefficient (W)

Forecast Effect of Smoothing Coefficient (W)

YYii+1+1 = = W·YW·Yii + + W·W·(1-(1-WW))·Y·Yii-1-1 + + W·W·(1-(1-WW))22·Y·Yii-2 -2 +...+...^

Page 57: CLASS B.Sc.III PAPER APPLIED STATISTICS. Time Series “The Art of Forecasting”

Linear Time-Series Linear Time-Series Forecasting ModelForecasting ModelLinear Time-Series Linear Time-Series Forecasting ModelForecasting Model

Page 58: CLASS B.Sc.III PAPER APPLIED STATISTICS. Time Series “The Art of Forecasting”

Time Series ForecastingTime Series ForecastingTime Series ForecastingTime Series Forecasting

Linear

TimeSeries

Trend?SmoothingMethods

TrendModels

YesNo

ExponentialSmoothing

Quadratic Exponential Auto-Regressive

MovingAverage

Linear

TimeSeries

Trend?SmoothingMethods

TrendModels

YesNo

ExponentialSmoothing

Quadratic Exponential Auto-Regressive

MovingAverage

Page 59: CLASS B.Sc.III PAPER APPLIED STATISTICS. Time Series “The Art of Forecasting”

Linear Time-Series Forecasting ModelLinear Time-Series Forecasting Model

• Used for forecasting trend

• Relationship between response variable Y & time X is a linear function

• Coded X values used often– Year X: 1995 1996 1997 1998 1999– Coded year: 0 1 2 3 4– Sales Y: 78.7 63.5 89.7 93.2 92.1

Page 60: CLASS B.Sc.III PAPER APPLIED STATISTICS. Time Series “The Art of Forecasting”

Linear Time-Series Linear Time-Series ModelModelLinear Time-Series Linear Time-Series ModelModel

Y

Time, X 1

Y

Time, X 1

Y b b Xi i 0 1 1Y b b Xi i 0 1 1

bb11 > 0 > 0

bb11 < 0 < 0

Page 61: CLASS B.Sc.III PAPER APPLIED STATISTICS. Time Series “The Art of Forecasting”

Linear Time-Series Model [An Example]

Linear Time-Series Model [An Example]

You’re a marketing analyst for Hasbro Toys. Using coded years, you find Yi = .6 + .7Xi.

1995 11996 11997 21998 21999 4

Forecast 2000 sales.

^

Page 62: CLASS B.Sc.III PAPER APPLIED STATISTICS. Time Series “The Art of Forecasting”

Linear Time-Series Linear Time-Series [Example][Example]Linear Time-Series Linear Time-Series [Example][Example]

Year Coded Year Sales (Units)1995 0 11996 1 11997 2 21998 3 21999 4 42000 5 ?

2000 forecast sales: Yi = .6 + .7·(5) = 4.1

The equation would be different if ‘Year’ used.

^

Page 63: CLASS B.Sc.III PAPER APPLIED STATISTICS. Time Series “The Art of Forecasting”

The Linear Trend ModelThe Linear Trend Model

iii X..XbbY 743143210 Year Coded Sales

94 0 2

95 1 5

96 2 2

97 3 2

98 4 7

99 5 6

0

1

2

3

4

5

6

7

8

1993 1994 1995 1996 1997 1998 1999 2000

Projected to year 2000

CoefficientsIntercept 2.14285714X Variable 1 0.74285714

Excel Output

Page 64: CLASS B.Sc.III PAPER APPLIED STATISTICS. Time Series “The Art of Forecasting”

Time Series Plot

01/93 01/94 01/95 01/96 01/97

Month/Year

16

17

18

19

20

Number of Surgeries

(X 1000)

Surgery Data(Time Sequence Plot)

Source: General Hospital, Metropolis

Page 65: CLASS B.Sc.III PAPER APPLIED STATISTICS. Time Series “The Art of Forecasting”

Time Series Plot [Revised]

01/93 01/94 01/95 01/96 01/97

Month/Year

183

185

187

189

191

193

Number of Surgeries

(X 100)

Revised Surgery Data(Time Sequence Plot)

Source: General Hospital, Metropolis

Page 66: CLASS B.Sc.III PAPER APPLIED STATISTICS. Time Series “The Art of Forecasting”

Seasonality Plot

Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec

Month

99.7

99.9

100.1

100.3

100.5

Monthly Index

Revised Surgery Data

(Seasonal Decomposition)

Source: General Hospital, Metropolis

Page 67: CLASS B.Sc.III PAPER APPLIED STATISTICS. Time Series “The Art of Forecasting”

Trend Analysis

12/92 10/93 8/94 6/95 9/96 2/97 12/97

Month/Year

18

18.3

18.6

18.9

19.2

19.5

Number of Surgeries

(X 1000)

Revised Surgery Data(Trend Analysis)

Source: General Hospital, Metropolis

Page 68: CLASS B.Sc.III PAPER APPLIED STATISTICS. Time Series “The Art of Forecasting”

Quadratic Time-Series Quadratic Time-Series Forecasting ModelForecasting Model

Quadratic Time-Series Quadratic Time-Series Forecasting ModelForecasting Model

Page 69: CLASS B.Sc.III PAPER APPLIED STATISTICS. Time Series “The Art of Forecasting”

Time Series ForecastingTime Series ForecastingTime Series ForecastingTime Series Forecasting

Linear

TimeSeries

Trend?SmoothingMethods

TrendModels

YesNo

ExponentialSmoothing

Quadratic Exponential Auto-Regressive

MovingAverage

Linear

TimeSeries

Trend?SmoothingMethods

TrendModels

YesNo

ExponentialSmoothing

Quadratic Exponential Auto-Regressive

MovingAverage

Page 70: CLASS B.Sc.III PAPER APPLIED STATISTICS. Time Series “The Art of Forecasting”

Quadratic Time-Series Quadratic Time-Series Forecasting ModelForecasting Model

Quadratic Time-Series Quadratic Time-Series Forecasting ModelForecasting Model

• Used for forecasting trend

• Relationship between response variable Y & time X is a quadratic function

• Coded years used

Page 71: CLASS B.Sc.III PAPER APPLIED STATISTICS. Time Series “The Art of Forecasting”

Quadratic Time-Series Quadratic Time-Series Forecasting ModelForecasting Model

Quadratic Time-Series Quadratic Time-Series Forecasting ModelForecasting Model

• Used for forecasting trend

• Relationship between response variable Y & time X is a quadratic function

• Coded years used

• Quadratic model

Y b b X b Xi i i 0 1 1 11

21

Y b b X b Xi i i 0 1 1 11

21

Page 72: CLASS B.Sc.III PAPER APPLIED STATISTICS. Time Series “The Art of Forecasting”

Y

Year, X 1

Y

Year, X 1

Y

Year, X 1

Quadratic Time-Series Model Relationships

Quadratic Time-Series Model Relationships

Y

Year, X 1

bb1111 > 0 > 0bb1111 > 0 > 0

bb1111 < 0 < 0bb1111 < 0 < 0

Page 73: CLASS B.Sc.III PAPER APPLIED STATISTICS. Time Series “The Art of Forecasting”

Quadratic Trend ModelQuadratic Trend Model2

210 iii XbXbbY

22143308572 iii X.X..Y

Excel Output

Year Coded Sales

94 0 2

95 1 5

96 2 2

97 3 2

98 4 7

99 5 6

CoefficientsIntercept 2.85714286X Variable 1 -0.3285714X Variable 2 0.21428571

Page 74: CLASS B.Sc.III PAPER APPLIED STATISTICS. Time Series “The Art of Forecasting”

Exponential Time-Series Exponential Time-Series ModelModel

Exponential Time-Series Exponential Time-Series ModelModel

Page 75: CLASS B.Sc.III PAPER APPLIED STATISTICS. Time Series “The Art of Forecasting”

Time Series ForecastingTime Series ForecastingTime Series ForecastingTime Series Forecasting

Linear

TimeSeries

Trend?SmoothingMethods

TrendModels

YesNo

ExponentialSmoothing

Quadratic Exponential Auto-Regressive

MovingAverage

Linear

TimeSeries

Trend?SmoothingMethods

TrendModels

YesNo

ExponentialSmoothing

Quadratic Exponential Auto-Regressive

MovingAverage

Page 76: CLASS B.Sc.III PAPER APPLIED STATISTICS. Time Series “The Art of Forecasting”

Exponential Time-Series Forecasting Model

Exponential Time-Series Forecasting Model

• Used for forecasting trend

• Relationship is an exponential function

• Series increases (decreases) at increasing (decreasing) rate

Page 77: CLASS B.Sc.III PAPER APPLIED STATISTICS. Time Series “The Art of Forecasting”

Exponential Time-Series Forecasting Model

Exponential Time-Series Forecasting Model

• Used for forecasting trend

• Relationship is an exponential function

• Series increases (decreases) at increasing (decreasing) rate

Page 78: CLASS B.Sc.III PAPER APPLIED STATISTICS. Time Series “The Art of Forecasting”

Y

Year, X 1

Y

Year, X 1

Exponential Time-Series Model Relationships

Exponential Time-Series Model Relationships

bb11 > 1 > 1

0 < 0 < bb11 < 1 < 1

Page 79: CLASS B.Sc.III PAPER APPLIED STATISTICS. Time Series “The Art of Forecasting”

Exponential Weight Exponential Weight [Example Graph][Example Graph]

94 95 96 97 98 99

8

6

4

2

0

Sales

Year

Data

Smoothed

Page 80: CLASS B.Sc.III PAPER APPLIED STATISTICS. Time Series “The Art of Forecasting”

CoefficientsIntercept 0.33583795X Variable 10.08068544

Exponential Trend ModeliX

i bbY 10 or 110 blogXblogYlog i

Excel Output of Values in logs

iXi ).)(.(Y 21172

Year Coded Sales

94 0 2

95 1 5

96 2 2

97 3 2

98 4 7

99 5 6

antilog(.33583795) = 2.17antilog(.08068544) = 1.2

Page 81: CLASS B.Sc.III PAPER APPLIED STATISTICS. Time Series “The Art of Forecasting”

ASSIGNMENT

1. WHAT ARE THE FOUR COMPONENTS OF TIME SERIES? EXPLAIN ONE BY ONE.

2.EXPLAIN THE MOVIN AVG METHOD

3.WHAT DO YOU MEAN BY EXPONENTIAL TREND

Page 82: CLASS B.Sc.III PAPER APPLIED STATISTICS. Time Series “The Art of Forecasting”

TEST

1.WHAT ARE CYCLIC COMPONENTS OF TIME SERIES?

2.WHAT DO YOU MEAN BY TIME SERIES ANALYSIS? WHAT ARE ITS COMPONENTS? 3.WHAT DO YOU MEAN BY LINEAR TREND MODEL?