x13 output filters to x13 input filters
filter_input.Rd
Elements t_filter
and s_filter
are transformed to input parameters x11.trendma
and x11.seasonalma
Examples
myseries <- pickmdl_data("myseries")
a <- x13(myseries, spec = "RSA3")
a$decomposition$t_filter
#> [1] "23-Henderson"
a$decomposition$s_filter
#> [1] "3x9"
filter_input(a)
#> $x11.trendma
#> [1] 23
#>
#> $x11.seasonalma
#> [1] "S3X9"
#>
spec_b <- x13_spec(spec = "RSA3", x11.trendma = 13, x11.seasonalma = "Stable",
x11.trendAuto = FALSE)
b <- x13(myseries, spec = spec_b)
b$decomposition$t_filter
#> [1] "13-Henderson"
b$decomposition$s_filter
#> [1] "Stable filter"
filter_input(b)
#> $x11.trendma
#> [1] 13
#>
#> $x11.seasonalma
#> [1] "Stable"
#>