Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

moCopula

The Marshall-Olkin Copula


Description

Computes Marshall-Olkin copulas in the bivariate case.

Usage

moCopula(param = NA_real_, dim = 2L)

Arguments

param

numeric vector of length two specifying the copula parameters (in [0,1]).

dim

the dimension of the copula.

Value

moCopula() is the constructor for objects of class moCopula.

Note

Marshall-Olkin copulas are only implemented for dim = 2L.

See Also

The "moCopula" class, its mathematical definition, etc.

Examples

alpha <- c(0.2, 0.7)
MO <- moCopula(alpha)
tau(MO) # 0.18
lambda(MO)
stopifnot(all.equal(lambda(MO),
                    c(lower = 0, upper = 0.2)))
wireframe2  (MO, FUN = pCopula) # if you look carefully, you can see the kink
contourplot2(MO, FUN = pCopula)
set.seed(271)
plot(rCopula(1000, MO))

copula

Multivariate Dependence with Copulas

v1.0-1
GPL (>= 3) | file LICENCE
Authors
Marius Hofert [aut] (<https://orcid.org/0000-0001-8009-4665>), Ivan Kojadinovic [aut] (<https://orcid.org/0000-0002-2903-1543>), Martin Maechler [aut, cre] (<https://orcid.org/0000-0002-8685-9910>), Jun Yan [aut] (<https://orcid.org/0000-0003-4401-7296>), Johanna G. Nešlehová [ctb] (evTestK(), <https://orcid.org/0000-0001-9634-4796>), Rebecca Morger [ctb] (fitCopula.ml(): code for free mixCopula weight parameters)
Initial release
2020-12-07

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.