ebnm_sgp: Sparse Gaussian process in EBNM syntax

View source: R/sgp.R

ebnm_sgpR Documentation

Sparse Gaussian process in EBNM syntax

Description

Sparse Gaussian process in EBNM syntax

Usage

ebnm_sgp(x, s, g_init = NULL, fix_g = FALSE, output)

Arguments

x

A vector of observations.

s

A vector of standard errors

g_init

a list of X_ind,kernel_param,kernel_func,mu

fix_g

If TRUE, the prior is fixed at g_init instead of estimated

output

ignore this.

Value

a list of posterior, log-likelihood, fitted_g


DongyueXie/smashrgen documentation built on Jan. 14, 2024, 5:30 a.m.