Skip to content

bryce-bowles/ts-decomposition.R

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Time Series Decomposition .R

ts-decomposition.R

Decomposition methods allow us to break time series into their components

  • compare the trend-cycle component to the full data
  • STL Decomposition components
  • seasonally-adjusted series
  • Moving Averages

Classical time series decomposition uses moving averages to deconstruct a time series into trend, season, and remainder components

  • Step 1 - calculate the trend component with an MA
  • Step 2 - deduct the trend component from the time series (de-trend)
  • Step 3 - calculate the average of the de-trended series for each season
  • Step 4 - deduct the trend and season components from the time series

image

image

Releases

No releases published

Packages

No packages published

Languages