Learn R Programming

BGVAR (version 2.0.0)

print.bgvar.lps: Print prediction evaulation

Description

print prints log-predictive scores (LPS) of out-of-sample predictions computed with bgvar.predict.

Usage

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

Arguments

x

an object of class bgvar.lps.

...

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)
lps(fcast)
# }

Run the code above in your browser using DataLab