| cfrank | R Documentation |
Returns a function computing the log density of the bivariate Frank copula,
intended to be used with dcopula.
cfrank(theta)
Cfrank(theta)
theta |
Dependence parameter ( |
The Frank copula density is
c(u,v;\theta) = \frac{\theta (1-e^{-\theta}) e^{-\theta(u+v)}}
{\left[(e^{-\theta u}-1)(e^{-\theta v}-1) + (1 - e^{-\theta}) \right]^2}, \quad \theta \ne 0.
A function of two arguments (u, v) returning either
the log copula density (cfrank) or the copula CDF (Cfrank).
cgaussian(), cclayton(), cgumbel()
x <- c(0.5, 1); y <- c(1, 2)
d1 <- dnorm(x, 1, log = TRUE); d2 <- dexp(y, 2, log = TRUE)
p1 <- pnorm(x, 1); p2 <- pexp(y, 2)
dcopula(d1, d2, p1, p2, copula = cfrank(2), log = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.