PR.Fore: Improved Augmented Regression Method for Predictive...

View source: R/PR.Fore.R

PR.ForeR Documentation

Improved Augmented Regression Method for Predictive Regression

Description

Function for forecasting based on Imporved ARM

Usage

PR.Fore(x, y, M, h = 10)

Arguments

x

predictor or matrix of predictors in column

y

variable to be predicted, usually stock return

M

Estimation results of the function PR.IARM

h

forecasting period

Details

Function for forecasting based on Imporved ARM

Value

Fore

Out-of sample and dynamic forecasts for y and x

Note

Kim J.H., 2014, Predictive Regression: Improved Augmented Regression Method, Journal of Empirical Finance 25, 13-15.

Author(s)

jae H. Kim

References

Kim J.H., 2014, Predictive Regression: Improved Augmented Regression Method, Journal of Empirical Finance 25, 13-15.

Examples

data(data1)
# Replicating Table 5 (excess return)
y=data1$ret.nyse.vw*100 -data1$tbill*100
x=cbind(log(data1$dy.nyse), data1$tbill*100); k=ncol(x) 
p=4
Rmat1=Rmatrix(p,k,type=1,index=1); Rmat=Rmat1$Rmat; rvec=Rmat1$rvec
M=PR.IARM(x,y,p,Rmat,rvec)
PRF=PR.Fore(x,y,M)

VAR.etp documentation built on Aug. 31, 2023, 9:08 a.m.