powered by
Computes the trimmed means core inflation
INFL.core_tm(subits.var, weights, smoo, inf = 20, sup = 20, wind = 12)
A ts. Subitems' variation.
ts
A ts. Each subitem corresponding weights. If missing, all items get the same weight.
A vector. List of codes to be smoothed. If missing, no item will be smoothed.
vector
An integer. Percentage lower tail cut. Predefined as 20.
integer
An integer. Percentage upper tail cut. Predefined as 20.
An integer. The volatility's window size.
A list object. The list contains two time-series (ts objects). The computed core and the variables that were used to calculate the means.
list
# NOT RUN { ipca_sub <- Inflation::ipca_sub nuc <- Inflation::INFL.core_tm(subits.var = ipca_sub$ipca_ts, weights = ipca_sub$weights_ts) # }
Run the code above in your browser using DataLab