Estimate the temporal kernel
time_kernel.Rd
Builds a temporal covariance matrix by combining periodic and long-term RBF components with a nugget term for numerical stability.
Arguments
- times
A numeric vector of time indices.
- periodic_scale
A positive numeric scalar controlling the periodic variation.
- long_term_scale
A positive numeric scalar for the long-term length scale.
- nugget
A non-negative numeric scalar added to the diagonal for numerical stability.
- period
A positive numeric scalar giving the period of the seasonal component.