R/density_estimation.R

Defines functions density.estimation

#' @title Estimation of the density of some distribution
#' @param X Matrix with predictor variables.
#' @param distribution Distribution to be used: normal or kernels, 
#' by default normal.  


density.estimation <- function(X, distribution = 'normal'){
  switch(distribution,
         'normal' = normal.estimation(X),
         'kernel' = kernel.estimation(X)
  )
}

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.