I try to generate multiple one-step forecasts by using the HoltWinters method for exponential smoothing. I, therefore, split my data into training and testing and fit a HoltWinters model on my training set. Now I want to produce multiple one-step forecasts for the length of my test data, in a way that the model is "updated" with every new observation of the test set, without re-estimation of the parameters. Kind of in a way rolling origin cross-validation would be done.
I found the refit()-function, but that only seems to work with ARIMA models. Does someone know some code that could work? Or somewhere I could read about it?
How to refit a Holt-Winters exponential smoothing model on test data without re-estimation of parameters
285 Views Asked by csarvf_01 At
1
There are 1 best solutions below
Related Questions in R
- in R, recovering strings that have been converted to factors with factor()
- How to reinstall pandoc after removing .cabal?
- How do I code a Mixed effects model for abalone growth in Aquaculture nutrition with nested individuals
- How to save t.test result in R to a txt file?
- how to call function from library in formula with R type provider
- geom_bar define border color with different fill colors
- Different outcome using model.matrix for a function in R
- Creating a combination data.table in R
- Force specific interactions in Package 'earth' in R
- Output from recursive function R
- Extract series of observations from dataframe for complete sets of data
- Retrieve path of supplementary data file of developed package
- r package development - own function not visible for opencpu
- Label a dataset according to bins of a histogram
- multiply each columns of a matrix by a vector
Related Questions in CROSS-VALIDATION
- computed initial MA coefficients are not invertible [Python] [TSA] [ARIMAX] [CrossValidation]
- Big accuracy difference between cross-validation and testing with a test set in weka? is it normal?
- How to predict labels for new data (test set) by the PartitionedEnsemble model in Matlab?
- h2o.runif() always returns the same vector
- Access indices of each CV fold for custom metric function in caret
- python sklearn cross_validation /number of labels does not match number of samples
- LDA cross validation and variable selection
- How to use cross validation in MATLAB
- Parameter selection of SVM
- Using Cross-Validation on a Scikit-Learn Classifer
- Can I extract y-values (data labels) from inside a cross-validation pipline in scikit-learn?
- Why does GridSearchCV give different optimums on repeated runs?
- How is cross validation implemented?
- Make a cross validation on a dataframe for an OLS regression model
- K fold cross validation using keras
Related Questions in FORECASTING
- weka API import
- Forecasting an Arima Model in R Returning Strange Error
- multiple seasonality-using Tbat() function ,-forecasting
- ETS multiplicative trend model written in state space form
- Forecast using auto.arima with help of dplyr groupby function
- SVM is not generating forecast using R
- In ETS packages can you use high frequency f=365..?
- Fitted values in R forecast missing date / time component
- Forecasting models for the following data
- time series forecasting using Support Vector Machine
- passing sparse xreg to stlf in R causes optimisation error
- Forecasting values along with corresponding years
- How to sample a SARIMA model with given parameters in R
- Limit the range of forecast values for R forecast package
- Use of frequency argument in window function
Related Questions in HOLTWINTERS
- parameters out of range: ets, optim
- Why am I getting flat time series forecasts from most of the techniques?
- Is statsmodel/exponential smoothing working correctly?
- statsmodels.tsa.holtwinters ExponentialSmoothing model appears to use the same data and parameters but returns two different results
- StatsModels - ExponentialSmoothing takes infinity time to fit
- exponential time series for multiple time series data
- ARIMA/Holt Winters for multiple Time Series
- oracle forecast (holt method)
- Statsmodels ETSModel get_prediction encounters error
- Holt forecast for multiple timeseries in R
- How to resolve error in Holtwinters forecast model with R?
- Holt-Winters Timeseries forecasting with statsmodels
- Why can't Holt Winters Seasonal recognize the seasonal component when forecasting a period
- Implementing ARIMA or Holt Winter's using Map-Reduce in Python
- ggplot & holt winters predictions
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
The Holt-Winters method is a special case of an ETS model. So you can use the
ETSfunction from the fable package like this:Created on 2022-06-02 by the reprex package (v2.0.1)
If you specifically wanted the Holt-Winters variant, you could use
for a multiplicative Holt-Winters model or
for an additive Holt-Winters model