Learn R Programming

BGVAR (version 2.0.1)

print.bgvar.rmse: Print prediction evaulation

Description

print prints root mean squared errors (RMSE) of out-of-sample predictions computed with bgvar.predict.

Usage

# S3 method for bgvar.rmse
print(x, ...)

Arguments

x

an object of class bgvar.predeval.

...

other arguments.

Value

No return value.

See Also

bgvar to estimate a bgvar object and predict.bgvar to compute predictions.

Examples

Run this code
# NOT RUN {
library(BGVAR)
data(eerData)
model.ssvs.eer<-bgvar(Data=eerData,W=W.trade0012,saves=100,burns=100,plag=1,prior="SSVS",
                      eigen=TRUE,h=8)
fcast <- predict(model.ssvs.eer,fhorz=8,save.store=TRUE)
rmse(fcast)
# }

Run the code above in your browser using DataLab