View source: R/spec_regarima.R
| set_transform | R Documentation |
Set Log-level Transformation and Decomposition scheme in Pre-Processing Specification
set_transform(
x,
fun = c(NA, "Auto", "Log", "None"),
adjust = c(NA, "None", "LeapYear", "LengthOfPeriod"),
outliers = NA,
aicdiff = NA,
fct = NA
)
x |
the specification to customize, must be a "SPEC" class object (see details). |
fun |
the transformation of the input series: |
adjust |
pre-adjustment of the input series for the length of period or leap year effects:
|
outliers |
Boolean indicating if a pre-correction for large outliers (AO and LS only) should be done
in the test for the log-level specification ( |
aicdiff |
(REGARIMA/X-13 specific) a numeric defining the difference in AICC needed to accept no transformation when the automatic
transformation selection is chosen (considered only when |
fct |
(TRAMO specific) |
x specification parameter must be a JD3_X13_SPEC" class object generated with rjd3x13::x13_spec()
(or "JD3_REGARIMA_SPEC" generated with rjd3x13::spec_regarima() or "JD3_TRAMOSEATS_SPEC"
generated with rjd3tramoseats::spec_tramoseats() or "JD3_TRAMO_SPEC" generated with
rjd3tramoseats::spec_tramo()).
The modified specification (with log/level transformation scheme)
More information in JDemetra+ online documentation: https://jdemetra-new-documentation.netlify.app/
set_outlier, set_tradingdays
# Customize a default specification
init_spec <- x13_spec_default
new_spec <- set_transform(x = init_spec, fun = "Log", outliers = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.