-
Notifications
You must be signed in to change notification settings - Fork 1
/
Step2_Bereinigung_Investitionen_nom.R
63 lines (56 loc) · 2.49 KB
/
Step2_Bereinigung_Investitionen_nom.R
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# ~~~~~~~~~~~~~~~~~~~~~~~~~~
#
# Saisonbereinigung Investitionen Nom
#
# ~~~~~~~~~~~~~~~~~~~~~~~~~~
# invest muss geladen sein
# Tramo Seat Investitionen ---------------------------
investNom <- perHts(
## N111G Wohnbauinvestitionen -------------------------------------
N13G = perTramo(invest$V[, "N13G"] , template = "RSA3",
# Transformation
transform.function = "None",
# Outliers
outlier.enabled = TRUE,
usrdef.outliersEnabled = FALSE,
# usrdef.outliersType = c("AO", "AO",
# "AO", "LS"),
# usrdef.outliersDate = c("1999-10-01", "2000-10-01",
# "2020-04-01", "2021-01-01"),
# Trading Days
usrdef.varEnabled = FALSE,
# usrdef.var = NA, usrdef.varType = "Calendar",
# tradingdays.option = "UserDefined",
# Easter
easter.type = NULL, easter.duration = 6,
# Arima-Model
automdl.enabled = TRUE,
arima.p = 0, arima.d = 1, arima.q = 1,
arima.bp = 0, arima.bd = 1, arima.bq = 1, arima.mu = FALSE),
## N112G Nicht-Wohnbauinvestitionen -------------------------------------
N12G = perTramo(invest$V[, "N12G"], template = "RSA3",
# Transformation
transform.function = "None",
# Outliers
outlier.enabled = TRUE,
usrdef.outliersEnabled = FALSE,
# usrdef.outliersType = c("AO", "AO",
# "AO", "LS"),
# usrdef.outliersDate = c("1999-10-01", "2000-10-01",
# "2020-04-01", "2021-01-01"),
# Trading Days
usrdef.varEnabled = FALSE,
# usrdef.var = NA, usrdef.varType = "Calendar",
# tradingdays.option = "UserDefined",
# Easter
easter.type = NULL, easter.duration = 6,
# Arima-Model
automdl.enabled = TRUE,
arima.p = 0, arima.d = 1, arima.q = 1,
arima.bp = 0, arima.bd = 1, arima.bq = 1, arima.mu = FALSE)
)
# RUN ----------
investNom$run()
output_investNom <- lapply(investNom$components, function(x){
x$output$final$series
})