Mean and variances of the posterior at points given by X.

Share:

Description

returns the posterior mean and variance for a given set of points.

Usage

1
gpPosteriorMeanVar(model, X, varsigma.return=FALSE)

Arguments

model

the model for which the posterior will be computed.

X

the input positions for which the posterior will be computed.

varsigma.return

(logical) compute variances.

Value

mu

the mean of the posterior distribution.

sigma

the variances of the posterior distributions.

See Also

gpCreate.

Examples

1
## missing

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.