predict_ga {dampack} | R Documentation |
Function to compute the preposterior for each of the basis functions of the GAM model.
Description
Function to compute the preposterior for each of the basis functions of the GAM model.
Usage
predict_ga(object, n, n0)
Arguments
object |
gam object |
n |
scalar or vector of new sample size to compute evsi on |
n0 |
scalar or vector of effective prior sample size |
Value
the conditional loss associated with a gam, effective prior sample size, and new sample size
[Package dampack version 1.0.2.1000 Index]