jubilee.macro_predict {jubilee}R Documentation

Prediction from UNRATE and GDP models

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

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


[Package jubilee version 0.3.3 Index]