jubilee.macro_predict: Prediction from UNRATE and GDP models

Description Usage Arguments Value Author(s)

View source: R/jubilee-macro-predict-method.R

Description

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.

Usage

1
jubilee.macro_predict(dtb, rs, new.tb3ms = NA, new.gs10 = NA)

Arguments

dtb

data table, usually this is lm.dtb of the rs object, with GDP log-return percent (logrp.N, logrp.K) calculated.

rs

the list returned from jubilee.macro_fit, which provides regression parameters for the prediction (not the data).

new.tb3ms

numeric, vector of new rate.tb3ms with length equal to NROW of dtb. Default is NA.

new.gs10

numeric, vector of new rate.gs10 with length equal to NROW of dtb. Default is NA.

Value

The data table containing the predictions and all the required input columns

Author(s)

Stephen H. Lihn


jubilee documentation built on Jan. 24, 2020, 5:10 p.m.