Class FarlieGumbelMorgensternCopula
The Farlie-Gumbel-Morgenstern copula, C(x, y) = xy + θxy(1 − x)(1 − y).
public sealed class FarlieGumbelMorgensternCopula
- Inheritance
-
FarlieGumbelMorgensternCopula
- Inherited Members
Remarks
Immutable. On the unit square's edges it returns the boundary values, C(u, 0) = C(0, v) = 0, C(u, 1) = u and C(1, v) = v, before its formula, as every copula here does.
Constructors
FarlieGumbelMorgensternCopula(double)
Initializes a new instance of the FarlieGumbelMorgensternCopula class.
public FarlieGumbelMorgensternCopula(double theta)
Parameters
thetadoubleThe parameter θ, in [−1, 1].
Exceptions
- ArgumentException
thetais outside its range.
Methods
Evaluate(double, double)
The copula's value.
public double Evaluate(double x, double y)
Parameters
Returns
- double
C(x, y).
Exceptions
- ArgumentException
xoryis outside [0, 1].