SlideShare a Scribd company logo
1 of 21
Time Series Analysis and
Forecasting
Introduction to Time Series Analysis
• A time-series is a set of observations on a quantitative
variable collected over time.
• Examples
– Dow Jones Industrial Averages
– Historical data on sales, inventory, customer counts,
interest rates, costs, etc
• Businesses are often very interested in forecasting time
series variables.
• Often, independent variables are not available to build a
regression model of a time series variable.
• In time series analysis, we analyze the past behavior of
a variable in order to predict its future behavior.
Methods used in Forecasting
• Regression Analysis
• Time Series Analysis (TSA)
– A statistical technique that uses time-
series data for explaining the past or
forecasting future events.
– The prediction is a function of time
(days, months, years, etc.)
– No causal variable; examine past behavior
of a variable and and attempt to predict
future behavior
Components of TSA
• Time Frame (How far can we predict?)
– short-term (1 - 2 periods)
– medium-term (5 - 10 periods)
– long-term (12+ periods)
– No line of demarcation
• Trend
– Gradual, long-term movement (up or down) of
demand.
– Easiest to detect
Components of TSA (Cont.)
• Cycle
– An up-and-down repetitive movement in demand.
– repeats itself over a long period of time
• Seasonal Variation
– An up-and-down repetitive movement within a trend
occurring periodically.
– Often weather related but could be daily or weekly
occurrence
• Random Variations
– Erratic movements that are not predictable because
they do not follow a pattern
Time Series Plot
Actual Sales
$0
$500
$1,000
$1,500
$2,000
$2,500
$3,000
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
Time Period
Sales
(in
$1,000s)
Components of TSA (Cont.)
• Difficult to forecast demand because...
– There are no causal variables
– The components (trend, seasonality,
cycles, and random variation) cannot
always be easily or accurately
identified
Some Time Series Terms
• Stationary Data - a time series variable exhibiting
no significant upward or downward trend over
time.
• Nonstationary Data - a time series variable
exhibiting a significant upward or downward trend
over time.
• Seasonal Data - a time series variable exhibiting
a repeating patterns at regular intervals over
time.
Approaching Time Series Analysis
• There are many, many different time series
techniques.
• It is usually impossible to know which technique
will be best for a particular data set.
• It is customary to try out several different
techniques and select the one that seems to
work best.
• To be an effective time series modeler, you need
to keep several time series techniques in your
“tool box.”
Measuring Accuracy
• We need a way to compare different time series
techniques for a given data set.
• Four common techniques are the:
– mean absolute deviation,
– mean absolute percent error,
– the mean square error,
– root mean square error.
MAD =
Y Y
i i
i
n
n




1
 
MSE =
Y Y
i i
i
n
n



 2
1
MSE
RMSE 



n
i i
i
i
n 1 Y
Ŷ
Y
100
=
MAPE
• We will focus on MSE.
Extrapolation Models
• Extrapolation models try to account for the past
behavior of a time series variable in an effort to
predict the future behavior of the variable.
 
 , , ,
Y Y Y Y
t t t t
f
  

1 1 2 
Moving Averages

Y
Y Y Y
t t-1 t- +1
t
k
k
 
 
1
u No general method exists for determining k.
u We must try out several k values to see what works best.
Weighted Moving Average
• The moving average technique assigns equal weight
to all previous observations

Y
1
Y
1
Y
1
Y
t t-1 t- -1
t k
k k k
    
1 
u The weighted moving average technique allows for
different weights to be assigned to previous
observations.

Y Y Y Y
t t-1 t- -1
t k k
w w w
    
1 1 2 
where 0 and
  

w w
i i
1 1
u We must determine values for k and the wi
Exponential Smoothing
  (  )
Y Y Y Y
t t t t
   
1 
where 0 1
 

u It can be shown that the above equation is equivalent to:
 ( ) ( ) ( )
Y Y Y Y Y
t t t t
n
t n
   
        
1 1
2
2
1 1 1
      
 
Seasonality
• Seasonality is a regular, repeating
pattern in time series data.
• May be additive or multiplicative in
nature...
M u ltip licative S easo n al E ffects
1 2 3 4 5 6 7 8 9 1 0 1 1 1 2 1 3 1 4 1 5 1 6 1 7 1 8 1 9 2 0 2 1 2 2 2 3 2 4 2 5
T im e Pe r io d
Ad d itive S easo n al E ffects
1 2 3 4 5 6 7 8 9 1 0 1 1 1 2 1 3 1 4 1 5 1 6 1 7 1 8 1 9 2 0 2 1 2 2 2 3 2 4 2 5
T im e Pe r io d
Stationary Seasonal Effects
Trend Models
• Trend is the long-term sweep or general
direction of movement in a time series.
• We’ll now consider some nonstationary time
series techniques that are appropriate for
data exhibiting upward or downward trends.
The Linear Trend Model

Y X
t b b t
 
0 1 1
where X1t
t

For example:
X X X
1 1 1
1 2 3
1 2 3
  
, , , 
The TREND() Function
TREND(Y-range, X-range, X-value for prediction)
where:
Y-range is the spreadsheet range containing the dependent Y
variable,
X-range is the spreadsheet range containing the independent X
variable(s),
X-value for prediction is a cell (or cells) containing the values for
the independent X variable(s) for which we want an estimated value
of Y.
Note: The TREND( ) function is dynamically updated whenever any inputs to
the function change. However, it does not provide the statistical information
provided by the regression tool. It is best two use these two different
approaches to doing regression in conjunction with one another.
The Quadratic Trend Model

Y X X
t b b b
t t
  
0 1 1 2 2
where X and X
1 2
2
t t
t t
 
Combining Forecasts
• It is also possible to combine forecasts to create a
composite forecast.
• Suppose we used three different forecasting methods
on a given data set.
u Denote the predicted value of time period t using
each method as follows:
F F F
t t t
1 2 3
, , and
u We could create a composite forecast as follows:

Y F F F
t b b b b
t t t
   
0 1 1 2 2 3 3

More Related Content

Similar to Time Series Analysis and Forecasting.ppt

Wavelet Multi-resolution Analysis of High Frequency FX Rates
Wavelet Multi-resolution Analysis of High Frequency FX RatesWavelet Multi-resolution Analysis of High Frequency FX Rates
Wavelet Multi-resolution Analysis of High Frequency FX RatesaiQUANT
 
Anaplan Stat Forecasting Methods.pdf
Anaplan Stat Forecasting Methods.pdfAnaplan Stat Forecasting Methods.pdf
Anaplan Stat Forecasting Methods.pdfVishYrdy
 
Time Series Analysis.pptx
Time Series Analysis.pptxTime Series Analysis.pptx
Time Series Analysis.pptxSunny429247
 
What is the Holt-Winters Forecasting Algorithm and How Can it be Used for Ent...
What is the Holt-Winters Forecasting Algorithm and How Can it be Used for Ent...What is the Holt-Winters Forecasting Algorithm and How Can it be Used for Ent...
What is the Holt-Winters Forecasting Algorithm and How Can it be Used for Ent...Smarten Augmented Analytics
 
Industrial engineering notes for gate
Industrial engineering notes for gateIndustrial engineering notes for gate
Industrial engineering notes for gateSoumith V
 
Statistical process control
Statistical process controlStatistical process control
Statistical process controljsembiring
 
Introduction to Eviews.pptx
Introduction to Eviews.pptxIntroduction to Eviews.pptx
Introduction to Eviews.pptxSudhamathi4
 
Trend and Seasonal Components
Trend and Seasonal ComponentsTrend and Seasonal Components
Trend and Seasonal ComponentsAnnaRevin
 
Forecasting
ForecastingForecasting
Forecasting3abooodi
 
Trend and seasonal components/Abshor Marantika/Cindy Aprilia Anggaresta
Trend and seasonal components/Abshor Marantika/Cindy Aprilia AnggarestaTrend and seasonal components/Abshor Marantika/Cindy Aprilia Anggaresta
Trend and seasonal components/Abshor Marantika/Cindy Aprilia AnggarestaCindyAprilia15
 
ders 3.3 Unit root testing section 3 .pptx
ders 3.3 Unit root testing section 3 .pptxders 3.3 Unit root testing section 3 .pptx
ders 3.3 Unit root testing section 3 .pptxErgin Akalpler
 
Statistics in research by dr. sudhir sahu
Statistics in research by dr. sudhir sahuStatistics in research by dr. sudhir sahu
Statistics in research by dr. sudhir sahuSudhir INDIA
 
Lecture_03.pdf
Lecture_03.pdfLecture_03.pdf
Lecture_03.pdfjeys3
 

Similar to Time Series Analysis and Forecasting.ppt (20)

Wavelet Multi-resolution Analysis of High Frequency FX Rates
Wavelet Multi-resolution Analysis of High Frequency FX RatesWavelet Multi-resolution Analysis of High Frequency FX Rates
Wavelet Multi-resolution Analysis of High Frequency FX Rates
 
Anaplan Stat Forecasting Methods.pdf
Anaplan Stat Forecasting Methods.pdfAnaplan Stat Forecasting Methods.pdf
Anaplan Stat Forecasting Methods.pdf
 
Demand forecasting
Demand forecastingDemand forecasting
Demand forecasting
 
Chapter 18 Part I
Chapter 18 Part IChapter 18 Part I
Chapter 18 Part I
 
Time Series Analysis.pptx
Time Series Analysis.pptxTime Series Analysis.pptx
Time Series Analysis.pptx
 
Time series
Time seriesTime series
Time series
 
Forecasting
ForecastingForecasting
Forecasting
 
What is the Holt-Winters Forecasting Algorithm and How Can it be Used for Ent...
What is the Holt-Winters Forecasting Algorithm and How Can it be Used for Ent...What is the Holt-Winters Forecasting Algorithm and How Can it be Used for Ent...
What is the Holt-Winters Forecasting Algorithm and How Can it be Used for Ent...
 
Modified chap003
Modified chap003Modified chap003
Modified chap003
 
Industrial engineering notes for gate
Industrial engineering notes for gateIndustrial engineering notes for gate
Industrial engineering notes for gate
 
Forcasting methods
Forcasting methodsForcasting methods
Forcasting methods
 
Statistical process control
Statistical process controlStatistical process control
Statistical process control
 
Introduction to Eviews.pptx
Introduction to Eviews.pptxIntroduction to Eviews.pptx
Introduction to Eviews.pptx
 
Trend and Seasonal Components
Trend and Seasonal ComponentsTrend and Seasonal Components
Trend and Seasonal Components
 
Forecasting
ForecastingForecasting
Forecasting
 
Demand forecasting.
Demand forecasting.Demand forecasting.
Demand forecasting.
 
Trend and seasonal components/Abshor Marantika/Cindy Aprilia Anggaresta
Trend and seasonal components/Abshor Marantika/Cindy Aprilia AnggarestaTrend and seasonal components/Abshor Marantika/Cindy Aprilia Anggaresta
Trend and seasonal components/Abshor Marantika/Cindy Aprilia Anggaresta
 
ders 3.3 Unit root testing section 3 .pptx
ders 3.3 Unit root testing section 3 .pptxders 3.3 Unit root testing section 3 .pptx
ders 3.3 Unit root testing section 3 .pptx
 
Statistics in research by dr. sudhir sahu
Statistics in research by dr. sudhir sahuStatistics in research by dr. sudhir sahu
Statistics in research by dr. sudhir sahu
 
Lecture_03.pdf
Lecture_03.pdfLecture_03.pdf
Lecture_03.pdf
 

Recently uploaded

GFP in rDNA Technology (Biotechnology).pptx
GFP in rDNA Technology (Biotechnology).pptxGFP in rDNA Technology (Biotechnology).pptx
GFP in rDNA Technology (Biotechnology).pptxAleenaTreesaSaji
 
Boyles law module in the grade 10 science
Boyles law module in the grade 10 scienceBoyles law module in the grade 10 science
Boyles law module in the grade 10 sciencefloriejanemacaya1
 
A relative description on Sonoporation.pdf
A relative description on Sonoporation.pdfA relative description on Sonoporation.pdf
A relative description on Sonoporation.pdfnehabiju2046
 
VIRUSES structure and classification ppt by Dr.Prince C P
VIRUSES structure and classification ppt by Dr.Prince C PVIRUSES structure and classification ppt by Dr.Prince C P
VIRUSES structure and classification ppt by Dr.Prince C PPRINCE C P
 
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCR
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCRStunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCR
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCRDelhi Call girls
 
Recombinant DNA technology (Immunological screening)
Recombinant DNA technology (Immunological screening)Recombinant DNA technology (Immunological screening)
Recombinant DNA technology (Immunological screening)PraveenaKalaiselvan1
 
Animal Communication- Auditory and Visual.pptx
Animal Communication- Auditory and Visual.pptxAnimal Communication- Auditory and Visual.pptx
Animal Communication- Auditory and Visual.pptxUmerFayaz5
 
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...Sérgio Sacani
 
Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...
Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...
Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...Sérgio Sacani
 
Biopesticide (2).pptx .This slides helps to know the different types of biop...
Biopesticide (2).pptx  .This slides helps to know the different types of biop...Biopesticide (2).pptx  .This slides helps to know the different types of biop...
Biopesticide (2).pptx .This slides helps to know the different types of biop...RohitNehra6
 
Orientation, design and principles of polyhouse
Orientation, design and principles of polyhouseOrientation, design and principles of polyhouse
Orientation, design and principles of polyhousejana861314
 
Nanoparticles synthesis and characterization​ ​
Nanoparticles synthesis and characterization​  ​Nanoparticles synthesis and characterization​  ​
Nanoparticles synthesis and characterization​ ​kaibalyasahoo82800
 
Unlocking the Potential: Deep dive into ocean of Ceramic Magnets.pptx
Unlocking  the Potential: Deep dive into ocean of Ceramic Magnets.pptxUnlocking  the Potential: Deep dive into ocean of Ceramic Magnets.pptx
Unlocking the Potential: Deep dive into ocean of Ceramic Magnets.pptxanandsmhk
 
Biological Classification BioHack (3).pdf
Biological Classification BioHack (3).pdfBiological Classification BioHack (3).pdf
Biological Classification BioHack (3).pdfmuntazimhurra
 
Is RISC-V ready for HPC workload? Maybe?
Is RISC-V ready for HPC workload? Maybe?Is RISC-V ready for HPC workload? Maybe?
Is RISC-V ready for HPC workload? Maybe?Patrick Diehl
 
NAVSEA PEO USC - Unmanned & Small Combatants 26Oct23.pdf
NAVSEA PEO USC - Unmanned & Small Combatants 26Oct23.pdfNAVSEA PEO USC - Unmanned & Small Combatants 26Oct23.pdf
NAVSEA PEO USC - Unmanned & Small Combatants 26Oct23.pdfWadeK3
 
G9 Science Q4- Week 1-2 Projectile Motion.ppt
G9 Science Q4- Week 1-2 Projectile Motion.pptG9 Science Q4- Week 1-2 Projectile Motion.ppt
G9 Science Q4- Week 1-2 Projectile Motion.pptMAESTRELLAMesa2
 
Hubble Asteroid Hunter III. Physical properties of newly found asteroids
Hubble Asteroid Hunter III. Physical properties of newly found asteroidsHubble Asteroid Hunter III. Physical properties of newly found asteroids
Hubble Asteroid Hunter III. Physical properties of newly found asteroidsSérgio Sacani
 
All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...
All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...
All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...Sérgio Sacani
 

Recently uploaded (20)

GFP in rDNA Technology (Biotechnology).pptx
GFP in rDNA Technology (Biotechnology).pptxGFP in rDNA Technology (Biotechnology).pptx
GFP in rDNA Technology (Biotechnology).pptx
 
Boyles law module in the grade 10 science
Boyles law module in the grade 10 scienceBoyles law module in the grade 10 science
Boyles law module in the grade 10 science
 
The Philosophy of Science
The Philosophy of ScienceThe Philosophy of Science
The Philosophy of Science
 
A relative description on Sonoporation.pdf
A relative description on Sonoporation.pdfA relative description on Sonoporation.pdf
A relative description on Sonoporation.pdf
 
VIRUSES structure and classification ppt by Dr.Prince C P
VIRUSES structure and classification ppt by Dr.Prince C PVIRUSES structure and classification ppt by Dr.Prince C P
VIRUSES structure and classification ppt by Dr.Prince C P
 
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCR
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCRStunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCR
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCR
 
Recombinant DNA technology (Immunological screening)
Recombinant DNA technology (Immunological screening)Recombinant DNA technology (Immunological screening)
Recombinant DNA technology (Immunological screening)
 
Animal Communication- Auditory and Visual.pptx
Animal Communication- Auditory and Visual.pptxAnimal Communication- Auditory and Visual.pptx
Animal Communication- Auditory and Visual.pptx
 
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
 
Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...
Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...
Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...
 
Biopesticide (2).pptx .This slides helps to know the different types of biop...
Biopesticide (2).pptx  .This slides helps to know the different types of biop...Biopesticide (2).pptx  .This slides helps to know the different types of biop...
Biopesticide (2).pptx .This slides helps to know the different types of biop...
 
Orientation, design and principles of polyhouse
Orientation, design and principles of polyhouseOrientation, design and principles of polyhouse
Orientation, design and principles of polyhouse
 
Nanoparticles synthesis and characterization​ ​
Nanoparticles synthesis and characterization​  ​Nanoparticles synthesis and characterization​  ​
Nanoparticles synthesis and characterization​ ​
 
Unlocking the Potential: Deep dive into ocean of Ceramic Magnets.pptx
Unlocking  the Potential: Deep dive into ocean of Ceramic Magnets.pptxUnlocking  the Potential: Deep dive into ocean of Ceramic Magnets.pptx
Unlocking the Potential: Deep dive into ocean of Ceramic Magnets.pptx
 
Biological Classification BioHack (3).pdf
Biological Classification BioHack (3).pdfBiological Classification BioHack (3).pdf
Biological Classification BioHack (3).pdf
 
Is RISC-V ready for HPC workload? Maybe?
Is RISC-V ready for HPC workload? Maybe?Is RISC-V ready for HPC workload? Maybe?
Is RISC-V ready for HPC workload? Maybe?
 
NAVSEA PEO USC - Unmanned & Small Combatants 26Oct23.pdf
NAVSEA PEO USC - Unmanned & Small Combatants 26Oct23.pdfNAVSEA PEO USC - Unmanned & Small Combatants 26Oct23.pdf
NAVSEA PEO USC - Unmanned & Small Combatants 26Oct23.pdf
 
G9 Science Q4- Week 1-2 Projectile Motion.ppt
G9 Science Q4- Week 1-2 Projectile Motion.pptG9 Science Q4- Week 1-2 Projectile Motion.ppt
G9 Science Q4- Week 1-2 Projectile Motion.ppt
 
Hubble Asteroid Hunter III. Physical properties of newly found asteroids
Hubble Asteroid Hunter III. Physical properties of newly found asteroidsHubble Asteroid Hunter III. Physical properties of newly found asteroids
Hubble Asteroid Hunter III. Physical properties of newly found asteroids
 
All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...
All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...
All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...
 

Time Series Analysis and Forecasting.ppt

  • 1. Time Series Analysis and Forecasting
  • 2. Introduction to Time Series Analysis • A time-series is a set of observations on a quantitative variable collected over time. • Examples – Dow Jones Industrial Averages – Historical data on sales, inventory, customer counts, interest rates, costs, etc • Businesses are often very interested in forecasting time series variables. • Often, independent variables are not available to build a regression model of a time series variable. • In time series analysis, we analyze the past behavior of a variable in order to predict its future behavior.
  • 3. Methods used in Forecasting • Regression Analysis • Time Series Analysis (TSA) – A statistical technique that uses time- series data for explaining the past or forecasting future events. – The prediction is a function of time (days, months, years, etc.) – No causal variable; examine past behavior of a variable and and attempt to predict future behavior
  • 4. Components of TSA • Time Frame (How far can we predict?) – short-term (1 - 2 periods) – medium-term (5 - 10 periods) – long-term (12+ periods) – No line of demarcation • Trend – Gradual, long-term movement (up or down) of demand. – Easiest to detect
  • 5. Components of TSA (Cont.) • Cycle – An up-and-down repetitive movement in demand. – repeats itself over a long period of time • Seasonal Variation – An up-and-down repetitive movement within a trend occurring periodically. – Often weather related but could be daily or weekly occurrence • Random Variations – Erratic movements that are not predictable because they do not follow a pattern
  • 6. Time Series Plot Actual Sales $0 $500 $1,000 $1,500 $2,000 $2,500 $3,000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 Time Period Sales (in $1,000s)
  • 7. Components of TSA (Cont.) • Difficult to forecast demand because... – There are no causal variables – The components (trend, seasonality, cycles, and random variation) cannot always be easily or accurately identified
  • 8. Some Time Series Terms • Stationary Data - a time series variable exhibiting no significant upward or downward trend over time. • Nonstationary Data - a time series variable exhibiting a significant upward or downward trend over time. • Seasonal Data - a time series variable exhibiting a repeating patterns at regular intervals over time.
  • 9. Approaching Time Series Analysis • There are many, many different time series techniques. • It is usually impossible to know which technique will be best for a particular data set. • It is customary to try out several different techniques and select the one that seems to work best. • To be an effective time series modeler, you need to keep several time series techniques in your “tool box.”
  • 10. Measuring Accuracy • We need a way to compare different time series techniques for a given data set. • Four common techniques are the: – mean absolute deviation, – mean absolute percent error, – the mean square error, – root mean square error. MAD = Y Y i i i n n     1   MSE = Y Y i i i n n     2 1 MSE RMSE     n i i i i n 1 Y Ŷ Y 100 = MAPE • We will focus on MSE.
  • 11. Extrapolation Models • Extrapolation models try to account for the past behavior of a time series variable in an effort to predict the future behavior of the variable.    , , , Y Y Y Y t t t t f     1 1 2 
  • 12. Moving Averages  Y Y Y Y t t-1 t- +1 t k k     1 u No general method exists for determining k. u We must try out several k values to see what works best.
  • 13. Weighted Moving Average • The moving average technique assigns equal weight to all previous observations  Y 1 Y 1 Y 1 Y t t-1 t- -1 t k k k k      1  u The weighted moving average technique allows for different weights to be assigned to previous observations.  Y Y Y Y t t-1 t- -1 t k k w w w      1 1 2  where 0 and     w w i i 1 1 u We must determine values for k and the wi
  • 14. Exponential Smoothing   (  ) Y Y Y Y t t t t     1  where 0 1    u It can be shown that the above equation is equivalent to:  ( ) ( ) ( ) Y Y Y Y Y t t t t n t n              1 1 2 2 1 1 1         
  • 15. Seasonality • Seasonality is a regular, repeating pattern in time series data. • May be additive or multiplicative in nature...
  • 16. M u ltip licative S easo n al E ffects 1 2 3 4 5 6 7 8 9 1 0 1 1 1 2 1 3 1 4 1 5 1 6 1 7 1 8 1 9 2 0 2 1 2 2 2 3 2 4 2 5 T im e Pe r io d Ad d itive S easo n al E ffects 1 2 3 4 5 6 7 8 9 1 0 1 1 1 2 1 3 1 4 1 5 1 6 1 7 1 8 1 9 2 0 2 1 2 2 2 3 2 4 2 5 T im e Pe r io d Stationary Seasonal Effects
  • 17. Trend Models • Trend is the long-term sweep or general direction of movement in a time series. • We’ll now consider some nonstationary time series techniques that are appropriate for data exhibiting upward or downward trends.
  • 18. The Linear Trend Model  Y X t b b t   0 1 1 where X1t t  For example: X X X 1 1 1 1 2 3 1 2 3    , , , 
  • 19. The TREND() Function TREND(Y-range, X-range, X-value for prediction) where: Y-range is the spreadsheet range containing the dependent Y variable, X-range is the spreadsheet range containing the independent X variable(s), X-value for prediction is a cell (or cells) containing the values for the independent X variable(s) for which we want an estimated value of Y. Note: The TREND( ) function is dynamically updated whenever any inputs to the function change. However, it does not provide the statistical information provided by the regression tool. It is best two use these two different approaches to doing regression in conjunction with one another.
  • 20. The Quadratic Trend Model  Y X X t b b b t t    0 1 1 2 2 where X and X 1 2 2 t t t t  
  • 21. Combining Forecasts • It is also possible to combine forecasts to create a composite forecast. • Suppose we used three different forecasting methods on a given data set. u Denote the predicted value of time period t using each method as follows: F F F t t t 1 2 3 , , and u We could create a composite forecast as follows:  Y F F F t b b b b t t t     0 1 1 2 2 3 3