Package jdistlib
Class StudentTCopula
java.lang.Object
jdistlib.StudentTCopula
- All Implemented Interfaces:
Copula
Student-t copula parameterized by correlation and degrees of freedom.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoublecumulative(double[] u) Copula distribution function atu.intNumber of coordinates.static StudentTCopulafromKendallsTau(double[][] tau, double degreesOfFreedom) double[][]doubledoublekendallsTau(int first, int second) Kendall's tau for a coordinate pair.doublelogDensity(double[] u) Natural logarithm of the copula density at an interior point.double[]random(RandomEngine random) Generates one vector of dependent uniform variates.
-
Constructor Details
-
StudentTCopula
public StudentTCopula(double[][] correlation, double degreesOfFreedom)
-
-
Method Details
-
fromKendallsTau
-
dimension
public int dimension()Description copied from interface:CopulaNumber of coordinates. -
getCorrelation
public double[][] getCorrelation() -
getDegreesOfFreedom
public double getDegreesOfFreedom() -
cumulative
public double cumulative(double[] u) Description copied from interface:CopulaCopula distribution function atu.- Specified by:
cumulativein interfaceCopula
-
logDensity
public double logDensity(double[] u) Description copied from interface:CopulaNatural logarithm of the copula density at an interior point.- Specified by:
logDensityin interfaceCopula
-
random
Description copied from interface:CopulaGenerates one vector of dependent uniform variates. -
kendallsTau
public double kendallsTau(int first, int second) Description copied from interface:CopulaKendall's tau for a coordinate pair.- Specified by:
kendallsTauin interfaceCopula
-