tramoseats_revisions | R Documentation |
Compute revisions history
tramoseats_revisions(
ts,
spec,
data_ids = NULL,
ts_ids = NULL,
cmp_ids = NULL,
context = NULL
)
ts |
The time series used for the estimation. |
spec |
The specification used. |
data_ids |
A |
ts_ids |
A |
cmp_ids |
A |
context |
The context of the specification. |
s <- rjd3toolkit::ABS$X0.2.09.10.M
sa_mod <- tramoseats(s)
data_ids <- list(
# Get the coefficient of the trading-day coefficient from 2005-jan
list(start = "2005-01-01", id = "regression.td(1)"),
# Get the ljung-box statistics on residuals from 2010-jan
list(start = "2010-01-01", id = "residuals.lb")
)
ts_ids <- list(
# Get the SA component estimates of 2010-jan from 2010-jan
list(period = "2010-01-01", start = "2010-01-01", id = "sa"),
# Get the irregular component estimates of 2010-jan from 2015-jan
list(period = "2010-01-01", start = "2015-01-01", id = "i")
)
cmp_ids <- list(
# Get the SA component estimates (full time series) 2010-jan to 2020-jan
list(start = "2010-01-01", end = "2020-01-01", id = "sa"),
# Get the trend component estimates (full time series) 2010-jan to 2020-jan
list(start = "2010-01-01", end = "2020-01-01", id = "t")
)
rh <- tramoseats_revisions(s, sa_mod$result_spec, data_ids, ts_ids, cmp_ids)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.