Compute the log-likelihood function
Get_llk(P, Y, Z, N, mat, We, Wpca, K0Z, K1Z, SSZ, LoadBs, LoadAs, ModelType)
time-series of spanned factors (N x T or CN x T)
time-series of yields (J x T or CJ x T)
time-series of risk factors (F x T)
number of country-specific spanned factors
vector of maturities (in years) of yields used in estimation (J x 1)
matrix of weights of the portfolios observed with errors ((J-N) x J or C(J-N) x CJ)
matrix of weights of the portfolios observed without errors (N x J or CN x CJ)
matrix of intercepts (P-dynamics)
feedback matrix (P-dynamics)
variance-covariance matrix (P-dynamics)
list containing the B loadings
list containing the A loadings
string-vector containing the label of the model to be estimated