p.eqn4.supp {calibrator}R Documentation

Apostiori probability of psi1

Description

Gives the probability of psi1, given observations. Equation 4 of the supplement

Usage

p.eqn4.supp(D1, y, H1, include.prior=TRUE, lognormally.distributed, return.log, phi)

Arguments

D1 Matrix of code run points
y Vector of code outputs
H1 Regression function
include.prior Boolean with default TRUE meaning to return the likelihood multiplied by the aprior probability and FALSE meaning to return the likelihood without the prior.
lognormally.distributed Boolean; see ?prob.theta for details
return.log Boolean, with default FALSE meaning to return the probability and TRUE meaning to return the logarithm of the probability
phi hyperparameters

Author(s)

Robin K. S. Hankin

References

See Also

W1

Examples

data(toys)
p.eqn4.supp(D1=D1.toy, y=y.toy , H1=H1.toy, lognormally.distributed=TRUE,
phi=phi.toy)

[Package calibrator version 1.0-58 Index]