Detrending a time series
Time series are made up of multiple components including:
- Long-term trends
- Seasonal patterns
- Cyclical (but non-seasonal) patterns
- Random noise
- Phenomena of interest
Detrending a time series means removing as many components as you can, leaving only the phenomena of interest left to visualize/analyze
I recommend the
{fable}package for time-series analysis
