powered by
Predictions of the density, distribution function, h-functions (with their inverses) for a bivariate copula model.
# S3 method for bicop predict(object, newdata, what = "pdf", ...)# S3 method for bicop fitted(object, what = "pdf", ...)
# S3 method for bicop fitted(object, what = "pdf", ...)
a bicop object.
bicop
points where the fit shall be evaluated.
what to predict, one of "pdf", "cdf", "hfunc1", "hfunc2", "hinv1", "hinv2".
"pdf"
"cdf"
"hfunc1"
"hfunc2"
"hinv1"
"hinv2"
unused.
fitted() and logLik() have return values similar to dbicop(), pbicop(), and hbicop().
fitted()
logLik()
dbicop()
pbicop()
hbicop()
# NOT RUN { # Simulate and fit a bivariate copula model u <- rbicop(500, "gauss", 0, 0.5) fit <- bicop(u, "par") # Predictions all.equal(predict(fit, u, "hfunc1"), fitted(fit, "hfunc1")) # }
Run the code above in your browser using DataLab