View source: R/summary.grid.tvp.R
summary.grid.tvp | R Documentation |
grid.tvp
Objects.The function summarizes outcomes obtained from grid.tvp
.
## S3 method for class 'grid.tvp'
summary(object, ...)
object |
an object of |
... |
not used |
The function produces the outcomes as print.grid.tvp
.
Additionally, it finds the model minimizing Root Mean Squared Error (RMSE) and minimizing Mean Absolute Error (MAE).
Called for printing.
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)
summary(g)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.