Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

predict_ga

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


dampack

Decision-Analytic Modeling Package

v1.0.0
GPL-3
Authors
Fernando Alarid-Escudero [aut], Greg Knowlton [aut, cre], Caleb Easterly [aut], Eva Enns [aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.