public class BiStudentDist extends ContinuousDistribution2Dim
ContinuousDistribution2Dim for the standard bivariate Student's t distribution.
The correlation between X and Y is r
and the number of degrees of freedom is ν.
Its probability density is
decPrec| Constructor and Description |
|---|
BiStudentDist(int nu,
double rho)
Constructs a BiStudentDist object with correlation ρ = rho
and ν = nu degrees of freedom.
|
| Modifier and Type | Method and Description |
|---|---|
double |
barF(double x,
double y)
.
|
static double |
barF(int nu,
double x,
double y,
double rho)
Computes the standard upper bivariate Student's t distribution.
|
double |
cdf(double x,
double y)
.
|
static double |
cdf(int nu,
double x,
double y,
double rho)
Computes the standard bivariate Student's t distribution
using the method described in.
|
double |
density(double x,
double y)
Returns f (x, y), the density of (X, Y) evaluated at (x, y).
|
static double |
density(int nu,
double x,
double y,
double rho)
Computes the standard bivariate Student's t density function with correlation ρ = rho and
ν = nu degrees of freedom.
|
double[][] |
getCorrelation()
Returns the correlation matrix of the distribution, defined as
ρij = σij/(σ_iiσ_jj)1/2.
|
static double[][] |
getCorrelation(int nu,
double rho)
Returns the correlation matrix of the bivariate Student's t distribution.
|
double[][] |
getCovariance()
Returns the variance-covariance matrix of the distribution, defined as
σij = E[(Xi - μi)(Xj - μj)]. |
static double[][] |
getCovariance(int nu,
double rho)
Returns the covariance matrix of the bivariate Student's t distribution.
|
double[] |
getMean()
Returns the mean vector of the distribution, defined as
μi = E[Xi].
|
static double[] |
getMean(int nu,
double rho)
Returns the mean vector
E[X] = (0, 0) of the bivariate Student's t distribution.
|
cdf, densitygetDimensionpublic BiStudentDist(int nu,
double rho)
public double density(double x,
double y)
ContinuousDistribution2Dimdensity in class ContinuousDistribution2Dimx - value x at which the density is evaluatedy - value y at which the density is evaluatedpublic double cdf(double x,
double y)
ContinuousDistribution2Dimcdf in class ContinuousDistribution2Dimx - value x at which the distribution function is evaluatedy - value y at which the distribution function is evaluatedpublic double barF(double x,
double y)
ContinuousDistribution2DimbarF in class ContinuousDistribution2Dimx - value x at which the upper distribution is evaluatedy - value y at which the upper distribution is evaluatedpublic static double density(int nu,
double x,
double y,
double rho)
public static double cdf(int nu,
double x,
double y,
double rho)
public static double barF(int nu,
double x,
double y,
double rho)
public double[] getMean()
ContinuousDistributionMultigetMean in class ContinuousDistributionMultipublic static double[] getMean(int nu,
double rho)
public double[][] getCovariance()
ContinuousDistributionMultigetCovariance in class ContinuousDistributionMultipublic static double[][] getCovariance(int nu,
double rho)
public double[][] getCorrelation()
ContinuousDistributionMultigetCorrelation in class ContinuousDistributionMultipublic static double[][] getCorrelation(int nu,
double rho)
To submit a bug or ask questions, send an e-mail to Pierre L'Ecuyer.