Internal function that computes the flexible probabilities given by double-decay covariance matrix.
fit_to_moments(X, m, S)
A matrix
vector with the posterior probabilities.
A matrix
of size TxN
with relevant the risk drivers.
A matrix
of size Nx1
given by Double_Decay
with risk drivers location.
A matrix
of size NxN
given by Double_Decay
with the dispersion matrix of the risk drivers.