Displaying 2 results from an estimated 2 matches for "oildata".
2017 Oct 02
2
Default value of the option initial in the ses function in the forecast package.
...s(y, h = 10, level = c(80, 95), fan = FALSE, initial = c("optimal",
"simple"), alpha = NULL, lambda = NULL, biasadj = FALSE, x = y, ...)
My query is that if I do not mention the initial value will its default
value be "optimal".
A MWE would be :
library(fpp)
oildata <- window(oil,start=1996,end=2007)
fit3 <- ses(oildata, h=3)
In the above is the default value of initial "optimal" or "simple" ?
Note I have taken this example from https://www.otexts.org/fpp/7/1
Best Regards,
Ashim
[[alternative HTML version deleted]]
2017 Oct 02
0
Default value of the option initial in the ses function in the forecast package.
...initial = c("optimal",
> "simple"), alpha = NULL, lambda = NULL, biasadj = FALSE, x = y, ...)
>
> My query is that if I do not mention the initial value will its default
> value be "optimal".
>
> A MWE would be :
>
> library(fpp)
> oildata <- window(oil,start=1996,end=2007)
> fit3 <- ses(oildata, h=3)
>
> In the above is the default value of initial "optimal" or "simple" ?
>
> Note I have taken this example from https://www.otexts.org/fpp/7/1
>
> Best Regards,
> Ashim
>
> [...