-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Re-consider IC output for refitted models #269
Comments
@robjhyndman Line 153 in 64b36c6
Any reason why |
Also @TimothyHyndman, when you say "Refit ARIMA with two more observations", you're refitting the model with only two observations (not two more observations). You'll need to refit the model with the historical data and the next two observations (or use stream.ARIMA once #251 is done). |
npar = # coefficients + 1 to account for the residual variance. This is how the AIC/AICc/BIC defines # parameters in a model. |
Got it, thanks. Line 159 in 64b36c6
Then in this case ( |
It is problematic computing AICc on a refit because the parameters were not estimated on that data set. If the data was used for estimation, then the equation is correct. But you would expect nstar to always be bigger than npar+1 or you would be over-fitting. I'm not sure what we should return as AICc value on a refit -- possibly the original AICc on the original data, or perhaps NA or NULL. |
Ah, I was thinking that refit used the data contained in |
Using the latest github version of fable here (but issue is also present on CRAN version).
Created on 2020-05-18 by the reprex package (v0.3.0)
The text was updated successfully, but these errors were encountered: