Learn R Programming

gptk (version 1.0)

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

values <- gpPosteriorMeanVar(model, x)

Arguments

model
the model for which the posterior will be computed.
x
the input positions for which the posterior will be computed.

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