Nothing
#' Compute Dynamic Gumbel Copula Parameter
#'
#' Computes the Gumbel copula parameter dynamically based on lagged values and covariates.
#'
#' @param params Numeric vector of parameters: omega, alpha, and gamma coefficients.
#' @param lagged_theta Numeric, the previous theta value.
#' @param X_t Numeric vector or matrix of covariates at time t.
#' @return Numeric, estimated dynamic Gumbel copula parameter.
#' @export
dynamic.theta.gumbel <- function(params, lagged_theta, X_t) {
omega <- params[1]
alpha <- params[2]
gamma <- params[3:length(params)]
theta_t <- abs(omega + alpha * lagged_theta + sum(gamma * X_t)) + 1
return(theta_t)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.