sens.bayes.control: Returns Control Parameters for Approximating The Integrals In...

Description Usage Arguments Value Examples

View source: R/6-UserBayesFunctions.R

Description

This function returns two lists each corresponds to an implemented integration method for approximating the integrals in the sensitivity (derivative) functions for the Bayesian optimality criteria.

Usage

1
2
3
4
5
6
sens.bayes.control(
  method = c("cubature", "quadrature"),
  cubature = list(tol = 1e-05, maxEval = 50000, absError = 0),
  quadrature = list(type = c("GLe", "GHe"), level = 6, ndConstruction = "product",
    level.trans = FALSE)
)

Arguments

method

A character denotes which method to be used to approximate the integrals in Bayesian criteria. "cubature" corresponds to the adaptive multivariate integration method using the hcubature algorithm (default). "quadrature" corresponds the traditional quadrature formulas and calls the function createNIGrid. The tuning parameters are adjusted by crt.bayes.control. Default is set to "cubature".

cubature

A list that will be passed to the arguments of the hcubature function. See 'Details' of crt.bayes.control.

quadrature

A list that will be passed to the arguments of the createNIGrid function. See 'Details' of crt.bayes.control.

Value

A list of control parameters for approximating the integrals.

Examples

1
2
3
sens.bayes.control()
sens.bayes.control(cubature = list(maxEval = 50000))
sens.bayes.control(quadrature =  list(level = 4))

ICAOD documentation built on Oct. 23, 2020, 6:40 p.m.