Learn R Programming

tscopula (version 0.3.9)

cpi: CPI inflation data 1959-2020

Description

Time series of US quarterly CPI (consumer price index) data Q4 1959 to Q4 2020 (245 values) for studying inflation. These data were sourced from the OECD webpage and represent the total `perspective' on inflation, including food and energy. They have been based to have a value of 100 in 2015.

Usage

data(cpi)

Arguments

Format

An object of class "xts".

Examples

Run this code
data(cpi)
plot(cpi)
X <- (diff(log(cpi))[-1]) * 100
plot(X)

Run the code above in your browser using DataLab