powered by
kdecop()
Simply calls predict(object, object$udata, what).
predict(object, object$udata, what)
# S3 method for kdecopula fitted(object, what = "pdf", ...)
an object of class kdecopula.
kdecopula
what to predict, one of c("pdf", "cdf", "hfunc1", "hfunc2", "hinv1", "hinv2").
c("pdf", "cdf", "hfunc1", "hfunc2", "hinv1", "hinv2")
unused.
predict.kdecopula()
# NOT RUN { data(wdbc) udat <- apply(wdbc[, -1], 2, function(x) rank(x) / (length(x) + 1)) fit <- kdecop(udat[, 5:6]) all.equal(fitted(fit), predict(fit, fit$udata)) # }
Run the code above in your browser using DataLab