Computes core inflation using the weighted percentile method (IPCA-P55)
Source:R/core_p55.R
core_p55.RdThe P55 core is the price change of the sub-item at the 55th percentile of the weighted cross-section distribution of sub-item price changes, as described in Section 2.5 of BCB's Technical Note 57 (Dec/2025). The 55th percentile (instead of the median) minimises the bias relative to headline inflation.
Arguments
- data
Dataframe object with inflation sub-items data.
- change
A string with the column name of the percentage change of the inflation sub-items.
- weight
A string with the column name of the weight of the inflation sub-items.
- date
A string with the name of the date column.
- percentile
Percentile of the weighted distribution (BCB uses 55).
Author
Fernando da Silva <fernando@fortietwo.com>