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

sens.bayes.control

Returns Control Parameters for Approximating The Integrals In The Bayesian Sensitivity Functions


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

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

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

ICAOD

Optimal Designs for Nonlinear Statistical Models by Imperialist Competitive Algorithm (ICA)

v1.0.1
GPL (>= 2)
Authors
Ehsan Masoudi [aut, cre], Heinz Holling [aut], Weng Kee Wong [aut], Seongho Kim [ctb]
Initial release

We don't support your browser anymore

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