Learn R Programming

lineqGPR (version 0.1.1)

logLikFun: Log-Likelihood of a Gaussian Process.

Description

Compute the negative log-likelihood of a Gaussian Process.

Usage

logLikFun(
  par = model$kernParam$par,
  model,
  parfixed = NULL,
  mcmc.opts = NULL,
  estim.varnoise = FALSE
)

Arguments

par

the values of the covariance parameters.

model

an object with "lineqGP" S3 class.

parfixed

not used.

mcmc.opts

not used.

estim.varnoise

If true, a noise variance is estimated.

Value

The value of the negative log-likelihood.

References

Rasmussen, C. E. and Williams, C. K. I. (2005), "Gaussian Processes for Machine Learning (Adaptive Computation and Machine Learning)". The MIT Press. [link]

See Also

logLikGrad, constrlogLikFun, constrlogLikGrad