
Log-Likelihood under Toeplitz Gaussian Model
compute_toeplitz_loglik.RdComputes the exact log-likelihood of a univariate process y under a
Gaussian process model with autocovariance structure derived from a B-spline
spectral basis. The autocovariance function is reconstructed and used to define
a Toeplitz covariance matrix, enabling efficient log-likelihood computation.
Details
The autocovariance function is reconstructed using reconstruct_acf and
passed to the SuperGauss::NormalToeplitz class for efficient evaluation of the
Gaussian likelihood with Toeplitz structure. This method avoids explicit matrix inversion
and is well-suited for large univariate processes.