You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: 11-TimeSeries/01-Introduction.md
+16-6Lines changed: 16 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -122,17 +122,27 @@ The following methods are used for detecting autocorrelation:
122
122
123
123
This function does the tests for all possible lags and plots them at the same time as well. It is very time efficient for this reason.
124
124
125
-
### STL Analysis
126
125
127
-
We can also do an STL analysis which would give us the seasonality, trend and remainder plots for any time series.
128
-
129
-
> NOTE: If you find that the range of the seasonality plot is more or less the same as the range of the remained plot, then there isn't much seasonality. The STL is designed to look for **seasonality so it will always give you a seasonality plot** and it'll be for the person reading to determine whether there is actual seasonlity or not.
130
-
131
-
# Time Series Regression
126
+
## Time Series Regression
132
127
133
128
There are certain key points, that need to be considered when we do, Time Series Regression. They are as follows:
134
129
135
130
1. Check if time ordered residuals are independent
136
131
2. White Noise: Time Series of independent residuals (i.e. independent and identically distributed (*iid*), normal with 0 mean and constant variance ) It is given by 
137
132
3. When doing regression models of nonstationary time series, check for autocorrelation in the residual series, because **a pattern in the residual series is equivalent to pattern in the data not captured by our model**.
138
133
134
+
# Seasonality
135
+
136
+
### Smoothing or Filtering
137
+
138
+
> Often the **smoothing or filtering** is done **before the data is delivered** and this **can be bad thing** because we don't know how seasonality was removed and also because we can only predict deseasonal values.
139
+
140
+
### STL (Seasonal Trend Lowess Analysis
141
+
142
+
We can also do an STL analysis which would give us the seasonality, trend and remainder plots for any time series.
143
+
144
+
> NOTE: If you find that the range of the seasonality plot is more or less the same as the range of the remained plot, then there isn't much seasonality. The STL is designed to look for **seasonality so it will always give you a seasonality plot** and it'll be for the person reading to determine whether there is actual seasonlity or not.
0 commit comments