powered by
Computes the double weighted core inflation
INFL.core_dw(infl.var, subits.var, weights, wind = 12)
A ts object. The inflation index variation.
ts
A ts. Subitems' variation.
A ts. Weights corresponding to each subitem.
An integer. The volatility's window size.
integer
A ts object.
# NOT RUN { ipca <- Inflation::ipca_item nuc <- Inflation::INFL.core_dw(ipca$ipca_index, ipca$ipca_ts, ipca$weights_ts, wind = 12) # }
Run the code above in your browser using DataLab