frechet: Fréchet Copula

frechetR Documentation

Fréchet Copula

Description

Computes CDF and simulations of the Fréchet copula.

Usage

cFrechet(u1, u2, dependencyParameter, ...)

crFrechet(numberSimulations = 10000, seed = 42, dependencyParameter)

Arguments

u1, u2

points at which to evaluate the copula.

dependencyParameter

correlation parameters, must be vector of length 2.

...

other parameters.

numberSimulations

Number of simulations.

seed

Simulation seed, 42 by default.

Details

The Fréchet copula has CDF :

C(u_{1}, u_{2}) = (1 - \alpha - \beta)(u_{1} \times u_{2}) + \alpha\min(u_{1}, u_{2})% + \beta\max(u_{1} + u_{2} - 1, 0)

for u_{1}, u_{2}, \alpha, \beta \in [0, 1] and \alpha + \beta \leq 1.

Value

Function :

  • cFrechet returns the value of the copula.

  • crFrechet returns simulated values of the copula.

Examples

cFrechet(u1 = .76, u2 = 0.4, dependencyParameter = c(0.2, 0.3))

crFrechet(numberSimulations = 10, seed = 42, dependencyParameter = c(0.2, 0.3))


Distributacalcul documentation built on May 29, 2024, 9:25 a.m.