Learn R Programming

gptk (version 1.06)

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

Description

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

Usage

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

  • muthe mean of the posterior distribution.
  • sigmathe variances of the posterior distributions.

See Also

gpCreate.

Examples

Run this code
## missing

Run the code above in your browser using DataLab