3. Real and nominal variables. The consumer price index (CPI) measures the price of a basket of goods and services over time.
In this exercise, we will use the CPI to deflate the 2021 price of a barrel of oil into 2011 prices. The following variables have been
defined for you: cpi_2011, cpi_2021, oil_2021.
To convert time t prices into prices in year s, we use the following adjustment:
\[ real\_price_{t} = \frac{price_{t}}{cpi_{t}} cpi_{s} \]