print.grid.tvp {fDMA} | R Documentation |
Prints grid.tvp
Object.
Description
The function prints selected outcomes obtained from grid.tvp
.
Usage
## S3 method for class 'grid.tvp'
print(x, ...)
Arguments
x |
an object of |
... |
not used |
Details
The function prints Root Mean Squared Error (RMSE) and Mean Absolute Error (MAE) for all estimated models.
Value
Called for printing.
Examples
wti <- crudeoil[-1,1]
drivers <- (lag(crudeoil[,-1],k=1))[-1,]
ld.wti <- (diff(log(wti)))[-1,]
ld.drivers <- (diff(log(drivers)))[-1,]
grl <- c(0.99,0.98,0.97,0.96,0.95)
g <- grid.tvp(y=ld.wti,x=ld.drivers,V=1,grid.lambda=grl)
print(g)
[Package fDMA version 2.2.7 Index]