View source: R/log_likelihood_Generalized.R
log_likelihood_Generalized | R Documentation |
Computes the log-likelihood for a time-varying copula model combined with Generalized Extreme Value (GEV) margins.
log_likelihood_Generalized(params, U, Z, X, copula)
params |
Numeric vector of model parameters, including copula parameters (omega, alpha, gamma) and GEV distribution parameters. |
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 <- log_likelihood_Generalized(init_params_full_G,uu,
zz_train,xx_train,"Gaussian")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.