50% off | Unlimited Data & AI Learning

Last chance! 50% off unlimited learning

Sale ends in


kdecopula (version 0.4.1)

logLik.kdecopula: Log-Likelihood of a kdecopula object

Description

Log-Likelihood of a kdecopula object

Usage

## S3 method for class 'kdecopula':
logLik(object, ...)

Arguments

object
an object of class kdecopula.
...
not used.

Value

  • Returns an object of class logLik containing the log- likelihood, number of observations and effective number of parameters ("df").

See Also

logLik, AIC, BIC

Examples

Run this code
## load data and transform with empirical cdf
data(wdbc)
udat <- apply(wdbc[, -1], 2, function(x) rank(x)/(length(x)+1))

## estimation of copula density of variables 5 and 6
dens.est <- kdecop(udat[, 5:6])

## compute fit statistics
logLik(dens.est)
AIC(dens.est)
BIC(dens.est)

Run the code above in your browser using DataLab