Computes the Cholesky decomposition for the quadratic term in the (Gaussian) posterior of the TVP regression coefficients. The sparsity pattern will not change during the MCMC, so we can save computation time by computing this up front.
initCholReg_spam(obs_sigma_t2, evol_sigma_t2, XtX, D = 1)
the T x 1
vector of observation error variances
the T x p
matrix of evolution error variances
the Tp x Tp
matrix of X'X (one-time cost; see ?build_XtX)
the degree of differencing (one or two)