Package jdistlib
Class CopulaDistribution
java.lang.Object
jdistlib.CopulaDistribution
Joint distribution composed from a copula and continuous univariate
marginals.
The caller is responsible for supplying continuous marginals. Discrete or mixed marginals require finite-difference mass calculations and are not part of this API.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoublecumulative(double[] x) Joint lower-orthant CDF.doubledensity(double[] x) Joint density.diagnose(double[] x) Diagnoses the point after transformation through the marginal CDFs.intgetMarginal(int coordinate) doublelogDensity(double[] x) Natural logarithm of the joint density.double[][]random(int count, long seed) Generates observations using a new deterministic stream.double[][]random(int count, RandomEngine random) Generates observations from one stream.double[]random(long seed) Generates one observation using a new deterministic stream.double[]random(RandomEngine random) Generates one joint observation.
-
Constructor Details
-
CopulaDistribution
-
-
Method Details
-
dimension
public int dimension() -
getCopula
-
getMarginal
-
cumulative
public double cumulative(double[] x) Joint lower-orthant CDF. -
logDensity
public double logDensity(double[] x) Natural logarithm of the joint density. -
density
public double density(double[] x) Joint density. -
diagnose
Diagnoses the point after transformation through the marginal CDFs. -
random
Generates one joint observation. -
random
public double[] random(long seed) Generates one observation using a new deterministic stream. -
random
Generates observations from one stream. -
random
public double[][] random(int count, long seed) Generates observations using a new deterministic stream.
-