This utility performs the prediction from the linear models of UNRATE and GDP. The purpose of this method is to automate the prediction and to allow users experimenting optimization on the natural rate of interest.
jubilee.macro_predict(dtb, rs, new.tb3ms = NA, new.gs10 = NA)
data table, usually this is lm.dtb
of the rs
object,
with GDP log-return percent (logrp.N, logrp.K)
calculated.
the list returned from jubilee.macro_fit
, which provides
regression parameters for the prediction (not the data).
numeric, vector of new rate.tb3ms
with length equal to NROW of dtb.
Default is NA
.
numeric, vector of new rate.gs10
with length equal to NROW of dtb.
Default is NA
.
The data table containing the predictions and all the required input columns