Compute IC-Ratio

ic_ratio(x, sc, mul = FALSE)

Arguments

x

input time series.

sc

trend-cycle component.

mul

boolean indicating if the decomposition is multiplicative or additive.

Examples

q<-x11plus(rjd3toolkit::retail$AllOtherGenMerchandiseStores, 12)
x <- q$decomposition$sa
sc <- henderson(x, length = 13, musgrave = FALSE)
ic_ratio(x, sc)
#> [1] 3.720734