5. Real log returns. You are given a data frame, data
, which contains the variables, log_real_returns
and log_inflation_rate
for the period between 2011 and 2021.
The real log return is computed as follows:
\[ real\_log\_return_{t} = log\_return_{t} - log\_inflation_{t}\]