View source: R/log_likelihood_noGEV.R
log_likelihood_noGEV | R Documentation |
Computes the log-likelihood for a time-varying copula model.
log_likelihood_noGEV(params, U, Z, X, copula)
params |
Numeric vector of model parameters, including copula parameters (omega, alpha, gamma). |
U |
Numeric matrix (n_train x D), pseudo-observations for the copula. |
Z |
Numeric array (n_train x D x M), observed data for each margin and sub-feature. |
X |
Numeric matrix (n_train x M), risk factors for the dynamic copula parameter. |
copula |
Character, specifying the copula type: "Clayton", "Frank", "Gumbel", "Joe", or "Gaussian". |
Numeric, negative log-likelihood value.
test_ll_noGEV <- log_likelihood_noGEV(init_params_noGEV,uu,
zz_train,x_train,"Gaussian")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.