logLik.kdecopula: Log-Likelihood of a 'kdecopula' object

Description Usage Arguments Value Author(s) See Also Examples

View source: R/generics.R

Description

Log-Likelihood of a kdecopula object

Usage

1
2
## 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").

Author(s)

Thomas Nagler

See Also

logLik, AIC, BIC

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## 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
fit <- kdecop(udat[, 5:6])

## compute fit statistics
logLik(fit)
AIC(fit)
BIC(fit)

kdecopula documentation built on May 30, 2017, 4:37 a.m.

Search within the kdecopula package
Search all R packages, documentation and source code