get_Gamma: Define a kernel (function) over samples

Description Usage Arguments Details Value

View source: R/model_fitting.R

Description

Define a kernel (function) over samples

Usage

1
2
3
4
5
6
get_Gamma(
  kernel_scale,
  proportions,
  min_correlation = 0.1,
  days_to_baseline = 90
)

Arguments

kernel_scale

total variance for the composite kernel

proportions

proportion variance to attribute to each of 3 kernels (see details)

rho

bandwidth for SE kernel

Details

Composite kernel is built from (1) squared exponential kernel (base autocorrelation component), (2) seasonal kernel (periodic), and (3) diet and climate component (another squared exponential)

Value

list containing kernel function and bandwidth parameter


kimberlyroche/ROL documentation built on Dec. 10, 2020, 2:18 a.m.