Closed dashaub closed 8 years ago
Fixed in https://github.com/robjhyndman/forecast/commit/8b33ba3da20fcf96bdaeee97e09281a811d98b2a and https://github.com/robjhyndman/forecast/commit/ed02d98863f4e1e6d39651cb57e210ba1d28b6e4
fitted(nnetar(wineind))
and residuals(nnetar(wineined))
both already work.
Correction, I meant fitted(stlm(wineind))
and residuals(stlm(wineind))
. Thinking about the other nnetar issues muddled this.
The
accuracy()
method is not currently supported forstlm
objects. This will require the modification of theif
statement as we did withnnetar
objects, but there is an additional twist. ThegetResponse()
(default) method already works, butfitted(nnetar(wineind))
does not. While we are at it we might as well supportresiduals(nnetar(wineind)
as well.What would you think modifying
stlm()
so we store the fitted and/or residuals in thestlm
object like intbats
/bats
/nnetar
/ets
objects? That should make extracting the fitted/residuals very easy and quick.