Forecaster interface: getting in-sample forecasts, getting residuals
See original GitHub issueIs your feature request related to a problem? Please describe. I think there should be a method or property to obtain in-sample fitted value or residuals, which are important in many forecasting methods, such as forecast combination.
Describe the solution you’d like
Add a method or property to BaseForecaster
and it should be implemented for every forecaster.
Additional context A traditional forecast combination method based on variance of in-sample residuals.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:36 (13 by maintainers)
Top Results From Across the Web
Forecasting with sktime
sktime provides a unified interface to make panel and hierarchical forecasts. All sktime forecasters can be applied to panel and hierarchical data, which...
Read more >How to get in-sample forecast for ARIMA model in R? [closed]
There is a workaround: fitted values equal original values minus residuals. Residuals can be extracted from a fitted object using the method ...
Read more >3.3 Residual diagnostics | Forecasting: Principles and ...
The residuals have zero mean. If the residuals have a mean other than zero, then the forecasts are biased. Any forecasting method that...
Read more >Forecasting
Forecaster for a ForecastingModel using Hamiltonian Monte Carlo. On initialization, this will run NUTS sampler to get posterior samples of the model. After ......
Read more >Using the "forecastHybrid" package
The "forecastHybrid" package provides functions to build composite models using multiple individual component models from the "forecast" ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I think so, yes.
I’d prefer keeping it simple and only provide a method for in-sample residuals, at least for now. Don’t have preference over
compute_residuals
orpredict_residuals
.