public final class CenteredGaussianDistribution extends java.lang.Object implements Distribution
Distribution.Type
Constructor and Description |
---|
CenteredGaussianDistribution(Matrix variance)
Constructor for univariate distribution.
|
CenteredGaussianDistribution(Matrix variance,
double correlationParameter,
StatisticalUtility.TypeMatrixR type)
General constructor.
|
Modifier and Type | Method and Description |
---|---|
Matrix |
getMean()
This method returns the first central moment, i.e.
|
Matrix |
getMean(GaussianErrorTermList errorTermList)
This method should be used in preference to the getMean() method.
|
Matrix |
getRandomRealization()
This method draws a random realization from the distribution.
|
Matrix |
getRandomRealization(GaussianErrorTermList errorTermList) |
Distribution.Type |
getType()
This method returns the type of the distribution.
|
Matrix |
getVariance()
This method returns the second central moment, i.e.
|
Matrix |
getVariance(GaussianErrorTermList errorTermList) |
boolean |
isMultivariate()
This method returns true if the GaussianFunction instance is multivariate.
|
boolean |
isParametric()
This method returns true if the distribution is parametric or false otherwise.
|
boolean |
isStructured() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isUnivariate
public CenteredGaussianDistribution(Matrix variance, double correlationParameter, StatisticalUtility.TypeMatrixR type)
variance
- the homogeneous variancecorrelationParameter
- the correlation parameter in the correlation structuretype
- a TypeMatrixR enumpublic CenteredGaussianDistribution(Matrix variance)
variance
- the homogeneous variancepublic Matrix getMean()
CentralMomentsGettable
getMean
in interface CentralMomentsGettable
public Matrix getMean(GaussianErrorTermList errorTermList)
errorTermList
- public Matrix getVariance()
CentralMomentsGettable
getVariance
in interface CentralMomentsGettable
public Matrix getVariance(GaussianErrorTermList errorTermList)
public Matrix getRandomRealization()
Distribution
getRandomRealization
in interface Distribution
public Matrix getRandomRealization(GaussianErrorTermList errorTermList)
public boolean isParametric()
Distribution
isParametric
in interface Distribution
public boolean isMultivariate()
Distribution
isMultivariate
in interface Distribution
public Distribution.Type getType()
Distribution
getType
in interface Distribution
public boolean isStructured()