logdensity.gp(spectralGP)
logdensity.gp()所属R语言包:spectralGP
Calculates log prior density of a spectral GP object
计算log先验密度的光谱GP对象
译者:生物统计家园网 机器人LoveR
描述----------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.
先验密度计算的log作为log先验密度的基础系数,是根据对现有的方差和独立的高斯函数的现有的光谱GP对象。
用法----------Usage----------
## S3 method for class 'gp':
logdensity(object,...)
参数----------Arguments----------
参数:object
A GP object, created by gp.
一个GP对象,创建的gp。
参数:...
Other arguments.
其他参数。
Details
详细信息----------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.
log密度的计算方法的基础上的基础函数系数的实部和虚部的组件,但只有那些没有确定为其他系数的复共轭,系数。的概率密度函数是系数IID正常谱密度和相关参数的基础上具有零均值和先验方差。
值----------Value----------
The logarithm of the prior density.
现有密度的对数。
(作者)----------Author(s)----------
Christopher Paciorek <a href="mailto:paciorek@alumni.cmu.edu">paciorek@alumni.cmu.edu</a>
参考文献----------References----------
<h3>See Also</h3>
实例----------Examples----------
library(spectralGP)
gp1=gp(128,matern.specdens,c(1,4))
gp2=gp(c(64,64),matern.specdens,c(1,4))
propose.coeff(gp1)
propose.coeff(gp2)
print(logdensity(gp1))
print(logdensity(gp2))
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|