powered by
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)
Numeric, negative log-likelihood value.
Numeric vector of model parameters, including copula parameters (omega, alpha, gamma) and GEV distribution parameters.
Numeric matrix (n_train x D), pseudo-observations for the copula.
Numeric array (n_train x D x M), observed data for each margin and sub-feature.
Numeric matrix (n_train x M), risk factors for the dynamic copula parameter.
Character, specifying the copula type: "Clayton", "Frank", "Gumbel", "Joe", or "Gaussian".
test_ll <- log_likelihood_Generalized(init_params_full_G,uu, zz_train,xx_train,"Gaussian")
Run the code above in your browser using DataLab