logdensity.gp: Calculates log prior density of a spectral GP object

Description Usage Arguments Details Value Author(s) References See Also Examples

Description

Calculates the log prior density of a spectral GP object as the log prior density of the basis coefficients, based on the prior variances and a prior of independent Gaussians.

Usage

1
2
## S3 method for class 'gp'
logdensity(object,...)

Arguments

object

A GP object, created by gp.

...

Other arguments.

Details

The log density is calculated based on the real and imaginary components of the basis function coefficients, but only those coefficients that are not determined as the complex conjugates of other coefficients. The density function is that the coefficients are IID normal with mean zero and prior variance based on the spectral density and correlation parameters.

Value

The logarithm of the prior density.

Author(s)

Christopher Paciorek paciorek@alumni.cmu.edu

References

Type 'citation("spectralGP")' for references.

See Also

gp, propose.coeff.gp, calc.variances.gp

Examples

1
2
3
4
5
6
7

spectralGP documentation built on May 2, 2019, 2:40 a.m.