doit_expectation: DoIt approximation of the expectation

Description Usage Arguments Value Examples

Description

Approximate the expectation of the vector 'theta'.

Usage

1

Arguments

doit

An object of class 'doit', see function 'doit_fit'.

Value

Vector of expected values of the target density.

Examples

1
2
3
4
design = data.frame(x=rnorm(10), y=rnorm(10))
design$f = with(design, exp(-0.5*(x+y)^2))
fit = doit_fit(design)
expec = doit_expectation(fit)

sieste/doit documentation built on May 9, 2019, 4:10 p.m.