R/mi.R

Defines functions mi

#' @title Mutual information
#' @description Returns the mutual information of a copula.
#' @param cop a copula with parameter \eqn{\theta}.

mi <- function(cop){
  value <-  integral2(int.mi, xmin = 0, xmax = 1,
                      ymin = 0, ymax = 1, cop = cop)$Q
  return(value)
}

Try the MLCOPULA package in your browser

Any scripts or data that you put into this service are public.

MLCOPULA documentation built on Oct. 24, 2024, 1:06 a.m.