log_post | R Documentation |
Compute the log posterior of the Matern5_2 kernel.
log_post(param, object, C)
param |
hyperparameters. |
object |
a FastGaSP object. |
C |
parameter. |
Gu, M., & Xu, Y. (2020). Fast nonseparable Gaussian stochastic process with application to methylation level interpolation. Journal of Computational and Graphical Statistics, 29(2), 250-260. doi: 10.1080/10618600.2019.1665534
sites = sort(runif(100)) Y = sin(2*pi*sites) C = diff(range(sites))/length(sites) fgasp.model = fgasp(sites,Y, have_noise = TRUE) log_post(c(log(1 / C), 1),fgasp.model,C)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.