type
Post
Created date
Jun 16, 2022 01:21 PM
category
Data Science
tags
Applied forecasting
Economics
status
Published
Language
From
summary
slug
password
Author
Priority
Featured
Featured
Cover
Origin
Type
URL
Youtube
Youtube
icon
TOC
Time series patternsSeasonal subseries plotsWeek 3: Time series decomposition. 13.1. Transformations and adjustments. 13.2. Mathematical transformations. 1Example of the different adjustment3.2.1. Box-Cox transformations.Alternative transformationlog(x+1) (Use it when there is zero)3.3. Time series components. 3.3.2. Time series decomposition. (trend-cycle)3.3.3. Seasonal adjustment (Seasonal)3.4. History of time series decomposition. Change of window (Example)Week 5. The forecaster's toolbox5.1 A tidy forecasting workflow5.2. Some simple forecasting methods. 25.3. Residual diagnostics5.2.3. Forecasting residuals5.2.4. ACF of residuals.5.2.5. Portmanteau tests5.4. Distributional forecasts and prediction intervals5.4.1. Forecast distributions5.4.2. Prediction intervals5.5. Forecasting with transformationsMeasures of forecast accuracyFAQ
TOC (By Week)
Model Learnt
Basic
- MEAN(y): Average method
- NAIVE(y): Naïve method
- SNAIVE(y ~ lag(m)): Seasonal naïve method
- RW(y ~ drift()): Drift method
Medium
- Automatic forecasting
![notion image](https://www.notion.so/image/https%3A%2F%2Ffile.notion.so%2Ff%2Ff%2Fe1c5ba0e-562a-49b0-8505-ce5e38fc061b%2F87a07796-3d7f-4803-af75-22f5c8cb72aa%2FUntitled.png%3Ftable%3Dblock%26id%3D2cf77357-2398-4895-8cfe-8567aaf5b56f%26spaceId%3De1c5ba0e-562a-49b0-8505-ce5e38fc061b%26expirationTimestamp%3D1725480000000%26signature%3D7QAsdp05pxsB-S6X1enIOIZjHOg7riX4OJOMvrlEyGA?table=block&id=2cf77357-2398-4895-8cfe-8567aaf5b56f&cache=v2)
Sophisticated
Arima → Less interpretable compared to ETS
To do
What is hetroskesity
ETS
optimisation
p.57 likelihood
Innovations state space models
ARIMA
![notion image](https://www.notion.so/image/https%3A%2F%2Ffile.notion.so%2Ff%2Ff%2Fe1c5ba0e-562a-49b0-8505-ce5e38fc061b%2F4a747a31-d264-455b-91db-01735c26b6ea%2FUntitled.png%3Ftable%3Dblock%26id%3Dad70a85b-97c9-4b77-9edf-f504f0668397%26spaceId%3De1c5ba0e-562a-49b0-8505-ce5e38fc061b%26expirationTimestamp%3D1725480000000%26signature%3Dvun92fr7V7R7ntV-6W4STYJXDAS3mZQJEFhUO1RXno4?table=block&id=ad70a85b-97c9-4b77-9edf-f504f0668397&cache=v2)
![notion image](https://www.notion.so/image/https%3A%2F%2Ffile.notion.so%2Ff%2Ff%2Fe1c5ba0e-562a-49b0-8505-ce5e38fc061b%2Fe79a95cf-322d-43fe-ad81-f6941ed64ac7%2FUntitled.png%3Ftable%3Dblock%26id%3D1f860d80-510d-4080-8210-816f94c1110f%26spaceId%3De1c5ba0e-562a-49b0-8505-ce5e38fc061b%26expirationTimestamp%3D1725480000000%26signature%3DiTslldHUJHNn9TkWvuFYR8zH6DlzdP4CFvrAXV6dZEI?table=block&id=1f860d80-510d-4080-8210-816f94c1110f&cache=v2)
Time series patterns
There are 3 types of time series patterns that need to be well-defined :
Trend
- exists when there is a long-term increase or decrease in the data.
Seasonal
- exists when a series is influenced by seasonal factors
- (e.g., the quarter of the year, the month, or day of the week).
Cyclic
- exists when data exhibit rises and falls that are not of fixed period (duration usually of at least 2 years).
![Many people get confused about Seasonal and Cyclic. Here are the difference.](https://www.notion.so/image/https%3A%2F%2Ffile.notion.so%2Ff%2Ff%2Fe1c5ba0e-562a-49b0-8505-ce5e38fc061b%2F44626bcd-ccfe-4f13-be7a-416462d6440c%2FUntitled.png%3Ftable%3Dblock%26id%3D89ceae7a-33cf-4048-a816-fb53c847ddc4%26spaceId%3De1c5ba0e-562a-49b0-8505-ce5e38fc061b%26expirationTimestamp%3D1725480000000%26signature%3DS6Iiu6cq9goSIZjF2JogLYK0QxFF8i7RRMqHlr4Bt8s?table=block&id=89ceae7a-33cf-4048-a816-fb53c847ddc4&cache=v2)
Economic data is more of a cyclic pattern = Recession, boom, climax
Seasonal subseries plots
3.5. Lagged scatterplots
Why do we need lagged valued?
- In finance, we want to see percentage change in certain amount of day like t-1 = one day changed
3.6.1 Autocorrelation
- Covariance and correlation: measure extent of linear relationship between two variables (y and X).
- Auto means “Self” in Latin. As implied, autocovariance and autocorrelation measure the linear relationship between lagged values of a time series y. Lagged values are derived from the “SELF” values.
The autocorrelation function (ACF) tells us the correlation between observations and those that came before them separated by different lags (refer to the monster generations in slides!)
![r = autocorrelation coefficient](https://www.notion.so/image/https%3A%2F%2Ffile.notion.so%2Ff%2Ff%2Fe1c5ba0e-562a-49b0-8505-ce5e38fc061b%2F1d02c5cf-ab51-4737-bc48-e8a611260843%2FUntitled.png%3Ftable%3Dblock%26id%3D303e70c4-e4b8-40d6-88b7-68e348a9f57a%26spaceId%3De1c5ba0e-562a-49b0-8505-ce5e38fc061b%26expirationTimestamp%3D1725480000000%26signature%3DZJGUffGccf22bZi5qDCN5heUo396y7KdB8_gDHCtYMY?table=block&id=303e70c4-e4b8-40d6-88b7-68e348a9f57a&cache=v2)
3.6.1 correlogram (ACF)
new_production %>% ACF(Beer) %>% autoplot()
![notion image](https://www.notion.so/image/https%3A%2F%2Ffile.notion.so%2Ff%2Ff%2Fe1c5ba0e-562a-49b0-8505-ce5e38fc061b%2F27f4a408-fa68-421b-90e2-8e521a7b4f8f%2FUntitled.png%3Ftable%3Dblock%26id%3Dc0baa282-f6f2-4559-afe0-90789be68e7b%26spaceId%3De1c5ba0e-562a-49b0-8505-ce5e38fc061b%26expirationTimestamp%3D1725480000000%26signature%3DhEat9jF54IJosoV0KpOAOsbGGMOnZTUOoU2KU2M5FKE?table=block&id=c0baa282-f6f2-4559-afe0-90789be68e7b&cache=v2)
- r4 higher than for the other lags.
- This is due to the seasonal pattern in the data: the peaks tend to be 4 quarters apart and the troughs tend to be 2 quarters apart.The dashed Blue line indicates that if the correlations are significantly different from 0.
- r2 is more negative than for the other lags because troughs tend to be 2 quarters behind peaks.
![The dashed Blue line indicates that if the correlations are significantly different from 0.](https://www.notion.so/image/https%3A%2F%2Ffile.notion.so%2Ff%2Ff%2Fe1c5ba0e-562a-49b0-8505-ce5e38fc061b%2Fea848d80-0046-42bd-821d-ecd05aa82b8c%2FUntitled.png%3Ftable%3Dblock%26id%3D561641e0-30cf-40a4-b796-5d1a959682f8%26spaceId%3De1c5ba0e-562a-49b0-8505-ce5e38fc061b%26expirationTimestamp%3D1725480000000%26signature%3D9HSALo4FFhfBhdZrslr3mXVLt64zqH7x2a-rhGfhMW0?table=block&id=561641e0-30cf-40a4-b796-5d1a959682f8&cache=v2)
- When data have a trend, the autocorrelations for small lags tend to be large and positive.
- When data are seasonal, the autocorrelations will be larger at the seasonal lags (i.e., at multiples of the seasonal frequency)
- When data are trended and seasonal, you see a combination of these effects.
3.7. White noise
- Time series that show no Autocorrelation are called “White noise“.
- Expect each autocorrelation to be close to zero.
![notion image](https://www.notion.so/image/https%3A%2F%2Ffile.notion.so%2Ff%2Ff%2Fe1c5ba0e-562a-49b0-8505-ce5e38fc061b%2Feb70e2ee-0e3f-4214-926a-ae681701327e%2FUntitled.png%3Ftable%3Dblock%26id%3D061e0901-1077-4862-8d8d-73e1030b392a%26spaceId%3De1c5ba0e-562a-49b0-8505-ce5e38fc061b%26expirationTimestamp%3D1725480000000%26signature%3DyPVj69KFeT3i5_-Ent3v0g8pLeFqFwaL8NRB1aNTn-0?table=block&id=061e0901-1077-4862-8d8d-73e1030b392a&cache=v2)
- Blue lines show 95% critical values.
- Common to plot lines at ±1.96/√T when plotting ACF. These are the critical values.
- 95% of all for white noise must lie within ±1.96/√T.
- If this is not the case (亦即某 超過 dashed blue line) , the series is probably not White noise.
Week 3: Time series decomposition. 1
3.1. Transformations and adjustments. 1
There are 4 kinds of adjustments :
- Population adjustments
- Inflation adjustments
- calendar adjustments
- Mathematical transformations
The purpose of which is to simplify the pattern in the historical data
- by removing the known source of variation
- by making the pattern more consistent across the entire dataset.
Why do I need to simplify the pattern ?
- Lead to a more accurate forecast.
3.2. Mathematical transformations. 1
- Power transformations includes Square root, cube roots
- Box-cox transformations: log
![notion image](https://www.notion.so/image/https%3A%2F%2Ffile.notion.so%2Ff%2Ff%2Fe1c5ba0e-562a-49b0-8505-ce5e38fc061b%2F956ff72e-130a-4cb6-8328-a90cf6d894a4%2FUntitled.png%3Ftable%3Dblock%26id%3D781629cf-d627-4a9a-9737-63ea6bea1494%26spaceId%3De1c5ba0e-562a-49b0-8505-ce5e38fc061b%26expirationTimestamp%3D1725480000000%26signature%3D3IJgZgqXXbyKnNp_EwDxCsB4qoQplxw6bXEVlQkKOPQ?table=block&id=781629cf-d627-4a9a-9737-63ea6bea1494&cache=v2)
![notion image](https://www.notion.so/image/https%3A%2F%2Ffile.notion.so%2Ff%2Ff%2Fe1c5ba0e-562a-49b0-8505-ce5e38fc061b%2F571e91f5-f398-452a-b2d8-71bf6935103f%2FUntitled.png%3Ftable%3Dblock%26id%3D708629df-5de5-4e62-a112-437b6fedc2e6%26spaceId%3De1c5ba0e-562a-49b0-8505-ce5e38fc061b%26expirationTimestamp%3D1725480000000%26signature%3DkWb-i16oO6IhqHUAJL3f3ScqZYQ0rfNpAfC7ffuEOko?table=block&id=708629df-5de5-4e62-a112-437b6fedc2e6&cache=v2)
Example of the different adjustment
![notion image](https://www.notion.so/image/https%3A%2F%2Ffile.notion.so%2Ff%2Ff%2Fe1c5ba0e-562a-49b0-8505-ce5e38fc061b%2F5c0985cd-e153-4297-a2c7-13c2cbcf8a0d%2FUntitled.png%3Ftable%3Dblock%26id%3D70f9c759-7494-43a8-b58c-2c835b914ebc%26spaceId%3De1c5ba0e-562a-49b0-8505-ce5e38fc061b%26expirationTimestamp%3D1725480000000%26signature%3DmsJSHrz9gKKaDFS6ujaeHvKD1EdW2p5klZcTD7vWNj4?table=block&id=70f9c759-7494-43a8-b58c-2c835b914ebc&cache=v2)
![notion image](https://www.notion.so/image/https%3A%2F%2Ffile.notion.so%2Ff%2Ff%2Fe1c5ba0e-562a-49b0-8505-ce5e38fc061b%2F3b6d5efd-9126-4033-bb55-c08f7cf0d560%2FUntitled.png%3Ftable%3Dblock%26id%3D090ca4e9-cabd-4b55-aeff-7eb340268d66%26spaceId%3De1c5ba0e-562a-49b0-8505-ce5e38fc061b%26expirationTimestamp%3D1725480000000%26signature%3Dwy_iDzF2KXG43CAbYZ97cpDqk8DvqWZ8jxTs71epTd0?table=block&id=090ca4e9-cabd-4b55-aeff-7eb340268d66&cache=v2)
![notion image](https://www.notion.so/image/https%3A%2F%2Ffile.notion.so%2Ff%2Ff%2Fe1c5ba0e-562a-49b0-8505-ce5e38fc061b%2F842ef9aa-6742-494d-acc9-acaf38a1d894%2FUntitled.png%3Ftable%3Dblock%26id%3De20a2855-0842-49a7-9c6b-3f0ac7c88c66%26spaceId%3De1c5ba0e-562a-49b0-8505-ce5e38fc061b%26expirationTimestamp%3D1725480000000%26signature%3D3RzHyA9HPxSAB2WQhs2RJi1BiAjJZzzA7rLWewbIJFE?table=block&id=e20a2855-0842-49a7-9c6b-3f0ac7c88c66&cache=v2)
![notion image](https://www.notion.so/image/https%3A%2F%2Ffile.notion.so%2Ff%2Ff%2Fe1c5ba0e-562a-49b0-8505-ce5e38fc061b%2F4c9d7ab6-8330-45a8-bfca-9724d45507e2%2FUntitled.png%3Ftable%3Dblock%26id%3Ded685758-2ab6-4974-989e-ac2a70ced357%26spaceId%3De1c5ba0e-562a-49b0-8505-ce5e38fc061b%26expirationTimestamp%3D1725480000000%26signature%3DXW_3A6h_x9TxeldiJsH_IF0wMeqlb_B5NM6siBYO9iQ?table=block&id=ed685758-2ab6-4974-989e-ac2a70ced357&cache=v2)
![notion image](https://www.notion.so/image/https%3A%2F%2Ffile.notion.so%2Ff%2Ff%2Fe1c5ba0e-562a-49b0-8505-ce5e38fc061b%2F0bab9af1-bbc5-42ed-b936-a3fe0f1ef512%2FUntitled.png%3Ftable%3Dblock%26id%3Df7795c7b-edf9-4a2c-82f8-2ddac92dbbdd%26spaceId%3De1c5ba0e-562a-49b0-8505-ce5e38fc061b%26expirationTimestamp%3D1725480000000%26signature%3D51j8FgU4IZqXa-eKmg7zj3zBaUHzAMixRCFa7ZMfUEE?table=block&id=f7795c7b-edf9-4a2c-82f8-2ddac92dbbdd&cache=v2)
3.2.1. Box-Cox transformations.
![notion image](https://www.notion.so/image/https%3A%2F%2Ffile.notion.so%2Ff%2Ff%2Fe1c5ba0e-562a-49b0-8505-ce5e38fc061b%2Fb59f1d04-2029-4d2e-81ba-5b6e80fe1252%2FUntitled.png%3Ftable%3Dblock%26id%3D4e041c52-9d47-4841-ab42-f4677ace0275%26spaceId%3De1c5ba0e-562a-49b0-8505-ce5e38fc061b%26expirationTimestamp%3D1725480000000%26signature%3DOk9h1_AOaoMAAlVpw4M8WUPvgVADe1ljfSKyXTKeApY?table=block&id=4e041c52-9d47-4841-ab42-f4677ace0275&cache=v2)
myseries_train %>% features(Turnover, features = guerrero)
Feature of power transformation :
- STABLISES the variance of the series.
- ADJUST the series to make it more comparable.
- Often no transformation needed.
- Simple transformations are easier to explain and work well enough.
- Transformations can have very large effect on PI.
- If some data are zero or negative, then use λ > 0.
- log1p() can also be useful for data with zeros.
- Choosing logs is a simple way to force forecasts to be positive
- Transformations must be reversed to obtain forecasts on the original scale. (Handled automatically by fable.)
- ASSUME the variation is proportional to the level of the series.
Rule of thumb of Box-Cox transformation (lambda)
Let x = the size of the seasonal variation about the same across the whole series
When Value of
- ≥ 0, you are making x weaker.
- ≤ 1, you are making x stronger.
- = 1 means there is no transformation.
- = 0 means natural log, which is pretty strong.
![Handling trend](https://www.notion.so/image/https%3A%2F%2Ffile.notion.so%2Ff%2Ff%2Fe1c5ba0e-562a-49b0-8505-ce5e38fc061b%2Fb53ca02c-55fa-4895-93db-c511840c4c52%2FUntitled.png%3Ftable%3Dblock%26id%3D45729353-878d-4a4d-9ddd-3caf304da61e%26spaceId%3De1c5ba0e-562a-49b0-8505-ce5e38fc061b%26expirationTimestamp%3D1725480000000%26signature%3Ddi9-7fFlozcFOwHI163g5b1hCyE4jT6UmSBq5o_JN1Y?table=block&id=45729353-878d-4a4d-9ddd-3caf304da61e&cache=v2)
![Handling seasonality](https://www.notion.so/image/https%3A%2F%2Ffile.notion.so%2Ff%2Ff%2Fe1c5ba0e-562a-49b0-8505-ce5e38fc061b%2Faf053726-17a7-4800-bc71-e7b879e6bade%2FUntitled.png%3Ftable%3Dblock%26id%3Dda48c181-8b1b-4bbd-8334-acf5bb9678eb%26spaceId%3De1c5ba0e-562a-49b0-8505-ce5e38fc061b%26expirationTimestamp%3D1725480000000%26signature%3DWegaCd3TpXEJRgHL7hu28neFaNnJkrSFL17xIN_Vb8c?table=block&id=da48c181-8b1b-4bbd-8334-acf5bb9678eb&cache=v2)
![notion image](https://www.notion.so/image/https%3A%2F%2Ffile.notion.so%2Ff%2Ff%2Fe1c5ba0e-562a-49b0-8505-ce5e38fc061b%2F8deb28d8-ddf1-42c7-9bc7-c604c53d2a2e%2FUntitled.png%3Ftable%3Dblock%26id%3D3c185f06-240e-4504-bce4-eceabe60cefa%26spaceId%3De1c5ba0e-562a-49b0-8505-ce5e38fc061b%26expirationTimestamp%3D1725480000000%26signature%3DGmIIgWN-9utHOimmvYTP37iekGg0ofMO4m0_kJcRSNE?table=block&id=3c185f06-240e-4504-bce4-eceabe60cefa&cache=v2)
Alternative transformation
log(x+1)
(Use it when there is zero)
![notion image](https://www.notion.so/image/https%3A%2F%2Ffile.notion.so%2Ff%2Ff%2Fe1c5ba0e-562a-49b0-8505-ce5e38fc061b%2Fe4b290f8-b084-409c-859a-e04f3ffa28ed%2FUntitled.png%3Ftable%3Dblock%26id%3D99694b92-2150-4cdf-9bdf-9c68a498e09b%26spaceId%3De1c5ba0e-562a-49b0-8505-ce5e38fc061b%26expirationTimestamp%3D1725480000000%26signature%3D4p_onPRB69u6UdpnBeSpy5nCsqyKjbU0eM3CE9laAe8?table=block&id=99694b92-2150-4cdf-9bdf-9c68a498e09b&cache=v2)
![notion image](https://www.notion.so/image/https%3A%2F%2Ffile.notion.so%2Ff%2Ff%2Fe1c5ba0e-562a-49b0-8505-ce5e38fc061b%2Fb47b3c28-f6be-4fc7-9b43-33f0dc69a29d%2FUntitled.png%3Ftable%3Dblock%26id%3D225fdf2a-506a-4677-bd8b-7ad9c43cf3d2%26spaceId%3De1c5ba0e-562a-49b0-8505-ce5e38fc061b%26expirationTimestamp%3D1725480000000%26signature%3DN8BtrSLS0zDZn80tqdeWu9jeOdoy_q_PUbuqTwCaXI0?table=block&id=225fdf2a-506a-4677-bd8b-7ad9c43cf3d2&cache=v2)
pedestrian %>% filter(Sensor == "Southern Cross Station") %>% autoplot(log1p(Count)) + labs(title = "Southern Cross Pedestrians")
If there is a high skewness and some ZEROs (so we can’s take logs, we can try
log(x+1)
transformation. 3.3. Time series components.
3.3.1. Time series patterns (Refer back the previous week)
3.3.2. Time series decomposition. (trend-cycle)
When we decompose a time series into components, we usually combine the trend and cycle into a single trend-cycle component (sometimes called the trend for simplicity).
Thus we think of a time series as comprising three components: a trend-cycle component, a seasonal component, and a remainder component (containing anything else in the time series).
In this chapter, we are to learn some common methods for extracting these components from a time series.
where
yt = data at period t
Tt = trend-cycle component at period t
St = seasonal component at period t
Rt = remainder component at period t
- Additive model appropriate if the magnitude of seasonal fluctuations does not vary with level.
- If seasonal is proportional to the level of series, then the multiplicative model is appropriate.
- Multiplicative decomposition is more common with economic time series.
- Alternative: use a Box-Cox transformation (make it more stable), and then use additive decomposition.
- Logs turn multiplicative relationship into an additive relationship:
![The electrical equipment orders (top) and its three additive components.](https://www.notion.so/image/https%3A%2F%2Ffile.notion.so%2Ff%2Ff%2Fe1c5ba0e-562a-49b0-8505-ce5e38fc061b%2Fd366981d-c583-49fc-8c85-c9cf2c710671%2FUntitled.png%3Ftable%3Dblock%26id%3Db4ba1b8f-4289-42d9-a5b8-6e66ce952c26%26spaceId%3De1c5ba0e-562a-49b0-8505-ce5e38fc061b%26expirationTimestamp%3D1725480000000%26signature%3DGD-t5gYKgAHqdNLnQZrCdXWrnrImhsr7Zc0i3YHoxtI?table=block&id=b4ba1b8f-4289-42d9-a5b8-6e66ce952c26&cache=v2)
The grey bars to the right of each panel show the RELATIVE SCALES of the components.
- A longer bar means the smaller scales; smaller bar means the scales are similar to the original data.
- Bars with same lengths belong to the same scales.
The large grey bar in the bottom panel shows that the variation in the remainder component is small compared to the variation in the data, which has a bar about one quarter the size.
- If we shrunk the bottom three panels until their bars became the same size as that in the data panel, then all the panels would be on the same scale.
3.3.3. Seasonal adjustment (Seasonal)
- We use estimates of S based on past values to seasonally adjust a current value.
- Seasonally adjusted series reflect remainders as well as trends. Therefore they are not “smooth”
- “downturns” or “upturns” can be misleading.
What is an example of seasonal variation?
- An increase in unemployment due to school leavers seeking work is seasonal variation, while an increase in unemployment due to an economic recession is non-seasonal.
- Most economic analysts who study unemployment data are more interested in the non-seasonal variation. Consequently, employment data (and many other economic series) are removing the seasonality of the data (i.e. seasonally adjusted).
3.4. History of time series decomposition.
3.4.1. X-11 decomposition. 2
3.4.2. Extensions: X-12-ARIMA and X-13-ARIMA.. 2
3.4.3. X-13ARIMA-SEATS. 2
3.4.4. STL decomposition. 2
seats_dcmp <- us_retail_employment %>% model(seats = X_13ARIMA_SEATS(Employed ~ seats())) %>% components() autoplot(seats_dcmp) + labs(title = "Decomposition of total US retail employment using SEATS")
![notion image](https://www.notion.so/image/https%3A%2F%2Ffile.notion.so%2Ff%2Ff%2Fe1c5ba0e-562a-49b0-8505-ce5e38fc061b%2F23e21055-6fc3-4ba1-9c7b-6470667727f4%2FUntitled.png%3Ftable%3Dblock%26id%3D45a9ae15-b668-42ab-a101-13e56780c386%26spaceId%3De1c5ba0e-562a-49b0-8505-ce5e38fc061b%26expirationTimestamp%3D1725480000000%26signature%3DsK_46RZj3wRo0slrjx36xOv8w0Ccx0vVZCoUlZiVs50?table=block&id=45a9ae15-b668-42ab-a101-13e56780c386&cache=v2)
The grey bar asides correspond to the contribution to the original data.
- The seasonal pattern (3rd row) has the SMALLEST contribution as the bar is the largest compared to the trend’s and seasonal one.
3.5. When things go wrong. 2
Change of window (Example)
![notion image](https://www.notion.so/image/https%3A%2F%2Ffile.notion.so%2Ff%2Ff%2Fe1c5ba0e-562a-49b0-8505-ce5e38fc061b%2F760fb009-5fc6-4280-b56b-2df8dbab8941%2FUntitled.png%3Ftable%3Dblock%26id%3Dfc568619-144d-4458-a433-2a1a79141aeb%26spaceId%3De1c5ba0e-562a-49b0-8505-ce5e38fc061b%26expirationTimestamp%3D1725480000000%26signature%3D7coQJUKNFNSgteiRzOV7GP1IsvbrlVnIFoUt00FKMso?table=block&id=fc568619-144d-4458-a433-2a1a79141aeb&cache=v2)
(remainder ) : my remainder looks pretty random; it's going all over the place.
(seasonality ) : my seasonality looks smooth and seasonal there are some fluctuations in it in the size you can see it's growing a little bit but that's fine it's just variability that we couldn't handle with our transformation
(trend) : our trend looks like it goes through the data nicely
![notion image](https://www.notion.so/image/https%3A%2F%2Ffile.notion.so%2Ff%2Ff%2Fe1c5ba0e-562a-49b0-8505-ce5e38fc061b%2F6dd98126-9d7e-4ed1-a681-0aaf3b64e246%2FUntitled.png%3Ftable%3Dblock%26id%3Df7d7b03a-2930-4750-8bfd-642b5e254547%26spaceId%3De1c5ba0e-562a-49b0-8505-ce5e38fc061b%26expirationTimestamp%3D1725480000000%26signature%3DaMpuDqCcLdtXohW9w6LXg3j0wc9xOuR4Hv45l96Rqcc?table=block&id=f7d7b03a-2930-4750-8bfd-642b5e254547&cache=v2)
(trend) : the line is a bit smoother now i've increased the
window so it's now averaging over more numbers and we get a straighter line a smoother line
![notion image](https://www.notion.so/image/https%3A%2F%2Ffile.notion.so%2Ff%2Ff%2Fe1c5ba0e-562a-49b0-8505-ce5e38fc061b%2F630bafbf-d31c-4ab8-932e-8a136cfb417a%2FUntitled.png%3Ftable%3Dblock%26id%3D1b704852-f26d-43a7-9d65-77824b94df62%26spaceId%3De1c5ba0e-562a-49b0-8505-ce5e38fc061b%26expirationTimestamp%3D1725480000000%26signature%3DEqM7BVediR4T95DliOOg2FuCuwU6p7WP-GFfCw7Bri0?table=block&id=1b704852-f26d-43a7-9d65-77824b94df62&cache=v2)
(trend) : what an infinite window means is essentially we've just got regression we don't have a local regression anymore. Because we've only got one window of infinite size, that's using the whole length of the data and we just get one straight line our regression line
![notion image](https://www.notion.so/image/https%3A%2F%2Ffile.notion.so%2Ff%2Ff%2Fe1c5ba0e-562a-49b0-8505-ce5e38fc061b%2F1b11d0dc-2ce4-4b98-b850-1341513d2761%2FUntitled.png%3Ftable%3Dblock%26id%3D3a301d6c-551d-4863-a31e-2b2cbf418aad%26spaceId%3De1c5ba0e-562a-49b0-8505-ce5e38fc061b%26expirationTimestamp%3D1725480000000%26signature%3DlIkNY68SSnUn5R6mMCk1fWbnWNkdALT9tbdDQ3TCFcw?table=block&id=3a301d6c-551d-4863-a31e-2b2cbf418aad&cache=v2)
(trend): each slope is based only on one position in time; that value essentially will just be the intercept. That means it's really flexible right it's pretty much your trend
(remainder ): your remainder in one component and looking at the error there's no error left it's zero which again sometimes in models you do want no error. However, for this one, we don't we want the randomness to be in the remainder term. Here we've got too much flexibility and our trend is no longer smooth
Week 5. The forecaster's toolbox
For this week, we discuss some useful tools for many different forecasting situations. Each of the tools below will be used repeatedly as we develop and explore a range of forecasting methods.
- Some benchmark forecasting methods,
- Ways of making the forecasting task simpler using transformations and adjustments
- Methods for checking whether a forecasting method has adequately utilised the available information (Quality of the method)
- Techniques for computing prediction intervals.
5.1 A tidy forecasting workflow
![5.1.1. An overview of tidy forecasting workflow](https://www.notion.so/image/https%3A%2F%2Ffile.notion.so%2Ff%2Ff%2Fe1c5ba0e-562a-49b0-8505-ce5e38fc061b%2Fd3f0c4b1-aa1e-4117-89e8-47454fd317d7%2FUntitled.png%3Ftable%3Dblock%26id%3D30202e51-e62a-4f47-ab0b-326e4daf05b2%26spaceId%3De1c5ba0e-562a-49b0-8505-ce5e38fc061b%26expirationTimestamp%3D1725480000000%26signature%3DAQb0WKwxFPdKWpYq1qG359brfUGenNPLTeA97Y4P9_8?table=block&id=30202e51-e62a-4f47-ab0b-326e4daf05b2&cache=v2)
3 Specifying a model
5 Accuracy & performance evaluation
![notion image](https://www.notion.so/image/https%3A%2F%2Ffile.notion.so%2Ff%2Ff%2Fe1c5ba0e-562a-49b0-8505-ce5e38fc061b%2F21d3622c-5b0f-4c0c-8604-131d5bab80c5%2FUntitled.png%3Ftable%3Dblock%26id%3Df8c4a3a6-912a-44ce-8a41-fdfe1c819ac4%26spaceId%3De1c5ba0e-562a-49b0-8505-ce5e38fc061b%26expirationTimestamp%3D1725480000000%26signature%3Dr8Vq0kS_X7TlYqnm2eiKKzU-DQmAWzqu3cbqn8U1Ios?table=block&id=f8c4a3a6-912a-44ce-8a41-fdfe1c819ac4&cache=v2)
![5.1.2. Data preparation (tidy) : Select the needed variables and Transform the data](https://www.notion.so/image/https%3A%2F%2Ffile.notion.so%2Ff%2Ff%2Fe1c5ba0e-562a-49b0-8505-ce5e38fc061b%2Feb523333-f4a3-4d5e-b97a-62e0f9e22148%2FUntitled.png%3Ftable%3Dblock%26id%3D392ad38e-a58a-471e-b946-50b0d2e77c25%26spaceId%3De1c5ba0e-562a-49b0-8505-ce5e38fc061b%26expirationTimestamp%3D1725480000000%26signature%3D1B7iuKr3lVbQu0DHYgVnU0vYk1yZ8SeTYsittRDVERs?table=block&id=392ad38e-a58a-471e-b946-50b0d2e77c25&cache=v2)
![notion image](https://www.notion.so/image/https%3A%2F%2Ffile.notion.so%2Ff%2Ff%2Fe1c5ba0e-562a-49b0-8505-ce5e38fc061b%2Fd1b5d907-1c36-4ed1-88b1-f3bd37f76484%2FUntitled.png%3Ftable%3Dblock%26id%3D29d22d82-9b61-4574-8c3b-bdea275239b4%26spaceId%3De1c5ba0e-562a-49b0-8505-ce5e38fc061b%26expirationTimestamp%3D1725480000000%26signature%3DJ8ZtopnvqyuBVOJskmrEJaGQbgTmJNNNUgvRjlEhzS0?table=block&id=29d22d82-9b61-4574-8c3b-bdea275239b4&cache=v2)
![5.1.3. Data visualisation](https://www.notion.so/image/https%3A%2F%2Ffile.notion.so%2Ff%2Ff%2Fe1c5ba0e-562a-49b0-8505-ce5e38fc061b%2F0c945db6-2e31-4651-ace4-edd21780bdc3%2FUntitled.png%3Ftable%3Dblock%26id%3Df57721ad-3094-4a63-9514-1961e7058cc9%26spaceId%3De1c5ba0e-562a-49b0-8505-ce5e38fc061b%26expirationTimestamp%3D1725480000000%26signature%3D0WsuOTiyGR8bBc6tpr7gQe2qOJ5xmXy-eDu4AQFAZVA?table=block&id=f57721ad-3094-4a63-9514-1961e7058cc9&cache=v2)
![5.1.4. Model estimation.](https://www.notion.so/image/https%3A%2F%2Ffile.notion.so%2Ff%2Ff%2Fe1c5ba0e-562a-49b0-8505-ce5e38fc061b%2Fd9199d98-0c16-42e0-942e-929ecc218f04%2FUntitled.png%3Ftable%3Dblock%26id%3Dd1c90c27-37c3-47df-a9cb-b341664a5c12%26spaceId%3De1c5ba0e-562a-49b0-8505-ce5e38fc061b%26expirationTimestamp%3D1725480000000%26signature%3DN-j_RocO45YaE7Hui4yhHjJ0Hy49J5mtPQkXTpQwHfU?table=block&id=d1c90c27-37c3-47df-a9cb-b341664a5c12&cache=v2)
- A mable is a model table, each cell corresponds to a fitted model.
- The
model()
function trains models to data.
![5.1.5. Producing forecasts.](https://www.notion.so/image/https%3A%2F%2Ffile.notion.so%2Ff%2Ff%2Fe1c5ba0e-562a-49b0-8505-ce5e38fc061b%2Ff07738da-63b3-49c9-bc75-69ccefc8597f%2FUntitled.png%3Ftable%3Dblock%26id%3D5b37f2fb-39f3-4b3b-909a-5e56b84b10c7%26spaceId%3De1c5ba0e-562a-49b0-8505-ce5e38fc061b%26expirationTimestamp%3D1725480000000%26signature%3DX0nadFMQJ4qUi8V-TUS6eWPpN8V7ziRkrjADut1zBEY?table=block&id=5b37f2fb-39f3-4b3b-909a-5e56b84b10c7&cache=v2)
- A fable is a forecast table with point forecasts and distributions.
![5.1.6. Visualising forecasts.](https://www.notion.so/image/https%3A%2F%2Ffile.notion.so%2Ff%2Ff%2Fe1c5ba0e-562a-49b0-8505-ce5e38fc061b%2F3c89c002-bd0f-41f9-a7e4-77060dcb6be1%2FUntitled.png%3Ftable%3Dblock%26id%3D08b619e8-7485-48d0-a26e-d97485ff3a80%26spaceId%3De1c5ba0e-562a-49b0-8505-ce5e38fc061b%26expirationTimestamp%3D1725480000000%26signature%3DB0RtV-vaXlBvCTY5eZGTlylveSSBMBbTblXVn9wECAQ?table=block&id=08b619e8-7485-48d0-a26e-d97485ff3a80&cache=v2)
5.2. Some simple forecasting methods. 2
The following 4 forecasting methods that we will use are benchmarks for other forecasting methods. They are very simple and surprisingly effective.
- MEAN(y): Average method
- NAIVE(y): Naïve method
- SNAIVE(y ~ lag(m)): Seasonal naïve method
- RW(y ~ drift()): Drift method
Above, Naive assumes the most recent observation is the most important one, and all previous obs provide no information about the future.
MEAN(y)
: Average method![notion image](https://www.notion.so/image/https%3A%2F%2Ffile.notion.so%2Ff%2Ff%2Fe1c5ba0e-562a-49b0-8505-ce5e38fc061b%2F60e06240-86c6-4a65-9845-a36174a84892%2FUntitled.png%3Ftable%3Dblock%26id%3Dc2615ab3-0e20-4903-a7ef-0c5b3e541ddb%26spaceId%3De1c5ba0e-562a-49b0-8505-ce5e38fc061b%26expirationTimestamp%3D1725480000000%26signature%3Dicj_FKxJQBuxXAHKGIWN1NkYNeGoZ39Y4Px2XmiQFNg?table=block&id=c2615ab3-0e20-4903-a7ef-0c5b3e541ddb&cache=v2)
Forecast of all future values = mean of historical data {y1, . . . , yT}.
SNAIVE(y ~ lag(m))
: Seasonal naïve method![notion image](https://www.notion.so/image/https%3A%2F%2Ffile.notion.so%2Ff%2Ff%2Fe1c5ba0e-562a-49b0-8505-ce5e38fc061b%2F2bccbef7-9406-49f9-9fda-3db2a0c55265%2FUntitled.png%3Ftable%3Dblock%26id%3D8bb5e0d2-25d7-4c59-b552-68873a674767%26spaceId%3De1c5ba0e-562a-49b0-8505-ce5e38fc061b%26expirationTimestamp%3D1725480000000%26signature%3DV5u0K_1B_ncdlgM3lW2JWBbPAIQfPfTITr-3OJ8fzZ4?table=block&id=8bb5e0d2-25d7-4c59-b552-68873a674767&cache=v2)
Forecasts = last value from same season.
NAIVE(y)
: Naïve method![notion image](https://www.notion.so/image/https%3A%2F%2Ffile.notion.so%2Ff%2Ff%2Fe1c5ba0e-562a-49b0-8505-ce5e38fc061b%2Fcbf288ae-f2f7-4fdd-8554-84e35b90ff03%2FUntitled.png%3Ftable%3Dblock%26id%3D8364d064-a340-4bf5-957d-7595cbf009c8%26spaceId%3De1c5ba0e-562a-49b0-8505-ce5e38fc061b%26expirationTimestamp%3D1725480000000%26signature%3DQXPFmzx-jgqw1-LCVAtuni97mTfqhuJ_JTTi89Z-qiQ?table=block&id=8364d064-a340-4bf5-957d-7595cbf009c8&cache=v2)
Forecasts = last observed value.
RW(y ~ drift())
: Drift method![notion image](https://www.notion.so/image/https%3A%2F%2Ffile.notion.so%2Ff%2Ff%2Fe1c5ba0e-562a-49b0-8505-ce5e38fc061b%2F5ab613c0-fb8e-4077-a35d-60132906daf8%2FUntitled.png%3Ftable%3Dblock%26id%3De4e4d5e8-c026-4479-b0c3-bb82afd7d45e%26spaceId%3De1c5ba0e-562a-49b0-8505-ce5e38fc061b%26expirationTimestamp%3D1725480000000%26signature%3DxQAt7PwaEZpxUxmXFZwhrV6odDaQ58_1EtfelyqESW8?table=block&id=e4e4d5e8-c026-4479-b0c3-bb82afd7d45e&cache=v2)
Forecasts = last value plus average change.
5.3. Residual diagnostics
5.2.2. Fitted values
- Each observation in a time series can be forecast using all previous observations. We call these Fitted values.
![notion image](https://www.notion.so/image/https%3A%2F%2Ffile.notion.so%2Ff%2Ff%2Fe1c5ba0e-562a-49b0-8505-ce5e38fc061b%2F3929099f-2d8b-4d35-81e8-4c9e80b954e5%2FUntitled.png%3Ftable%3Dblock%26id%3D3df71f5d-44d4-43d8-8f97-7b9bb7e940ce%26spaceId%3De1c5ba0e-562a-49b0-8505-ce5e38fc061b%26expirationTimestamp%3D1725480000000%26signature%3DlabhM4sgk-9VZVoKoaWc1jJwqIjS25779fEbAMwkSXI?table=block&id=3df71f5d-44d4-43d8-8f97-7b9bb7e940ce&cache=v2)
5.2.3. Forecasting residuals
- Define difference between observed value and its fitted value:
- Useful in checking whether a model has adequately captured the information in the data.
- A good forecasting method has the following assumptions and useful properties :
Assumptions
![notion image](https://www.notion.so/image/https%3A%2F%2Ffile.notion.so%2Ff%2Ff%2Fe1c5ba0e-562a-49b0-8505-ce5e38fc061b%2F0280b9c6-f19a-4723-9bc7-68da09d6d0b4%2FUntitled.png%3Ftable%3Dblock%26id%3Dd8b237a1-70fd-4634-b0dc-b499ba68b840%26spaceId%3De1c5ba0e-562a-49b0-8505-ce5e38fc061b%26expirationTimestamp%3D1725480000000%26signature%3DNLbw0B_F9sa6Eo904DP3V9NnNGLqiVMghrituUP3GaU?table=block&id=d8b237a1-70fd-4634-b0dc-b499ba68b840&cache=v2)
Useful properties
![(for distributions & prediction intervals)](https://www.notion.so/image/https%3A%2F%2Ffile.notion.so%2Ff%2Ff%2Fe1c5ba0e-562a-49b0-8505-ce5e38fc061b%2Fccf067fb-a2eb-4fd2-a8c4-d777921bfb6f%2FUntitled.png%3Ftable%3Dblock%26id%3Daebd07ed-4a1b-48da-9015-5546f48f25d8%26spaceId%3De1c5ba0e-562a-49b0-8505-ce5e38fc061b%26expirationTimestamp%3D1725480000000%26signature%3DHxR-LgZpBj6l4KxINNMvdgONBdHDeUzgI5aBR98UzFQ?table=block&id=aebd07ed-4a1b-48da-9015-5546f48f25d8&cache=v2)
There are 2 ways to check residuals; one by treating residuals individually (i.e. ACF of residuals) , another one by treating residuals as a group (Portmanteau tests)
5.2.4. ACF of residuals.
![notion image](https://www.notion.so/image/https%3A%2F%2Ffile.notion.so%2Ff%2Ff%2Fe1c5ba0e-562a-49b0-8505-ce5e38fc061b%2F27e95f6c-7aa7-4767-9cdd-f2b843c6dbf1%2FUntitled.png%3Ftable%3Dblock%26id%3D4f0c8d03-f578-40a0-a827-fac348d5e58a%26spaceId%3De1c5ba0e-562a-49b0-8505-ce5e38fc061b%26expirationTimestamp%3D1725480000000%26signature%3D-SAvc2I47Klmxc-PSLWLg81zHqfEdezU0q5Z5cT-iq0?table=block&id=4f0c8d03-f578-40a0-a827-fac348d5e58a&cache=v2)
Interpretation
These graphs show that the naïve method produces forecasts that appear to account for all available information. The mean of the residuals is close to zero and there is no significant correlation in the residuals series. The time plot of the residuals shows that the variation of the residuals stays much the same across the historical data, apart from the one outlier, and therefore the residual variance can be treated as constant. This can also be seen on the histogram of the residuals. The histogram suggests that the residuals may not be normal — the right tail seems a little too long, even when we ignore the outlier. Consequently, forecasts from this method will probably be quite good, but prediction intervals that are computed assuming a normal distribution may be inaccurate.
- Assume residuals are white noise (uncorrelated, mean zero, constant variance).
- If they aren’t, then there is information left in the residuals that should be used in computing forecasts.
5.2.5. Portmanteau tests
- A more formal test for autocorrelation by considering a whole set of values as a group
- A test to see whether the set is significantly different from a zero set.
5.4. Distributional forecasts and prediction intervals
5.4.1. Forecast distributions
- A forecast is (usually) the mean of the conditional distribution .
- Most time series models produce normally distributed forecasts.
- The forecast distribution describes the probability of observing any future value.
5.4.2. Prediction intervals
- A prediction interval gives a region within which we expect to lie with a specified probability.
- Assuming forecast errors are normally distributed, then a 95% PI is ; where is the st dev of the h-step distribution.
- When h = 1, can be estimated from the residuals.
brick_fc %>% hilo(level = 95)
- Point forecasts often useless without a measure of uncertainty (such as prediction intervals).
- Prediction intervals require a stochastic model (with random errors, etc).
- For most models, prediction intervals get wider as the forecast horizon increases.
- Use level argument to control coverage. Check residual assumptions before believing them.
- Usually too narrow due to unaccounted uncertainty.
5.5. Forecasting with transformations
5.5.1. Modelling with transformations
5.5.2. Forecasting with transformations
5.5.3. Bias adjustment
ETC3550 Lecture 5A - YouTube Here mentions :
If this probability is some number — p, then the probability of the transformation must also be that number p.
- because the amount of probability of the amount of mass — the density mass — is going to be the same as whatever sits in here.
- So. probabilities are preserved (i.e., identical), at least in terms of the quantiles of the distribution.
5.6. Forecasting and decomposition
Since we have learnt how to decompose the time series into 3 components (T= S+T_R), we now can first forecast the components and then combine them into one forecast.
- Fit a decomposition model which involves both an STL decomposition followed by separate models for the seasonally adjusted series and the seasonal component.
- When I produce forecasts of that, it's a forecast of the original series.
- Under decomposition, model understands it's going to put these together at the end of the day
- it looks to see what the model is for the seasonal component and what the model is for the adjusted component and adds them together to get forecasts of the original series
- that's what it comes back with a forecast of the original series in the usual format the distribution and then the mean of the distribution
## use the function decomposition model ## 1 dcmp <- decomposition_model( STL(Employed), NAIVE(season_adjust), SNAIVE(season_year) ) ## 2 us_retail_employment %>% model(stlf = dcmp) %>% forecast()%>% autoplot()
5.7. 7 Evaluating forecast accuracy
5.7.1. Training and test sets
- Same as the ones taught in ETC3250.
5.7.2. Forecast errors
- Errors are not the same as the residual (Here).
Measures of forecast accuracy
for notation above,
- y t plus h is the t plus h th observation
- y hat t plus h given t is the forecast based on data up until the end of the training set
- e t plus h is the difference between the two
Example of Scale independent:
If the unit of e is a dollar, the units of e in
MAE
, RMSE
are dollars; but the unit of MSE
is dollar ^2.MAPE is a common metric to be used in the industry. But it has drawbacks: 1) yt has to be positive. 2) y has an absolute 0.
So Rob invented one that called
MASE. ->>>>
Works well because it can be used to compare forecast accuracy across series with different units.
Mean Error (ME) and Mean Percentage Error (MPE) are a measure of bias, rather than accuracy, which Rob does not normally look at.
![notion image](https://www.notion.so/image/https%3A%2F%2Ffile.notion.so%2Ff%2Ff%2Fe1c5ba0e-562a-49b0-8505-ce5e38fc061b%2Fa575066b-0b8d-445e-b973-111c9ae3dfbc%2FUntitled.png%3Ftable%3Dblock%26id%3D6362ae8e-862e-462b-9d9f-f18c0e6cebb8%26spaceId%3De1c5ba0e-562a-49b0-8505-ce5e38fc061b%26expirationTimestamp%3D1725480000000%26signature%3DnK6bQu5t5beFctPN0NDnjYFtCKx_FWJ9ZcB0lWQQJmo?table=block&id=6362ae8e-862e-462b-9d9f-f18c0e6cebb8&cache=v2)
![notion image](https://www.notion.so/image/https%3A%2F%2Ffile.notion.so%2Ff%2Ff%2Fe1c5ba0e-562a-49b0-8505-ce5e38fc061b%2F670796a5-480c-40b5-8997-7199f170192a%2FUntitled.png%3Ftable%3Dblock%26id%3D04cb08d6-4c1a-4ff3-b0d4-ce7c6ff43826%26spaceId%3De1c5ba0e-562a-49b0-8505-ce5e38fc061b%26expirationTimestamp%3D1725480000000%26signature%3DBAVLjuHwsJiuMBxUq2GrsIouU4tPOKjM2-CNM6Hsxjo?table=block&id=04cb08d6-4c1a-4ff3-b0d4-ce7c6ff43826&cache=v2)
![notion image](https://www.notion.so/image/https%3A%2F%2Ffile.notion.so%2Ff%2Ff%2Fe1c5ba0e-562a-49b0-8505-ce5e38fc061b%2Fb0ff5173-1e68-4358-bfb7-176a7a6b1d4e%2FUntitled.png%3Ftable%3Dblock%26id%3Dbeb3549c-e367-4f3b-92d7-993155be85f9%26spaceId%3De1c5ba0e-562a-49b0-8505-ce5e38fc061b%26expirationTimestamp%3D1725480000000%26signature%3D7OzBvBvzVz0sCd5VaxCf4uhR5RY8nkAoktC39CyAWw4?table=block&id=beb3549c-e367-4f3b-92d7-993155be85f9&cache=v2)
![notion image](https://www.notion.so/image/https%3A%2F%2Ffile.notion.so%2Ff%2Ff%2Fe1c5ba0e-562a-49b0-8505-ce5e38fc061b%2F5ca242fa-fa84-4031-b4ce-1fab7e5590e5%2FUntitled.png%3Ftable%3Dblock%26id%3D34c9d775-4d9b-45b2-ac2f-3d77b245e24d%26spaceId%3De1c5ba0e-562a-49b0-8505-ce5e38fc061b%26expirationTimestamp%3D1725480000000%26signature%3DM9MJEx8Y3AlkFeZHx5NddVw5KnRM-1U9aJz7SAhEHA8?table=block&id=34c9d775-4d9b-45b2-ac2f-3d77b245e24d&cache=v2)
![notion image](https://www.notion.so/image/https%3A%2F%2Ffile.notion.so%2Ff%2Ff%2Fe1c5ba0e-562a-49b0-8505-ce5e38fc061b%2F2f94ebf8-8099-4f6d-a9f3-d0bf5265f016%2FUntitled.png%3Ftable%3Dblock%26id%3Dbbb0c0a2-5238-4a7a-9290-2747f47ff170%26spaceId%3De1c5ba0e-562a-49b0-8505-ce5e38fc061b%26expirationTimestamp%3D1725480000000%26signature%3D-x6NuMsRQ_5JhBVgmI3lxB5TJyUsPKx1nXoxdzQ9vL4?table=block&id=bbb0c0a2-5238-4a7a-9290-2747f47ff170&cache=v2)
5.8. 8 Time series cross-validation 2. 4
FAQ
- Author:Jason Siu
- URL:https://jason-siu.com/article%2F7d3431d9-8016-4409-8591-87d58880982a
- Copyright:All articles in this blog, except for special statements, adopt BY-NC-SA agreement. Please indicate the source!
Relate Posts