Constructors
Fields
Properties
Deviation
#Gets the standard deviation of this distribution. Not all types of distribution have a meaningful deviation, in which case this property returns NaN.
Entropy
#Gets the entropy of this distribution. Not all types of distribution have an entropy value, in which case this property returns NaN.
Mean
#Gets the mean of this distribution. Not all types of distribution have a mean, in which case this property returns NaN.
Median
#Gets the median of this distribution. Not all types of distribution have a median, in which case this property returns NaN.
Mode
#Gets the mode of this distribution. Not all types of distribution have a mode, in which case this property returns NaN.
Skewness
#Gets the statistical skewness of this distribution. Not all types of distribution have a skewness, in which case this property returns NaN.
Methods
AdjustInterval
#Assuming a non-decreasing progression, ensure that x0 and x1 are at least MinimumSuggestedInterval apart.
CreateDirichlet2DSampling
#Compute a two-dimensional Dirichlet distribution.
Parameters:
| count (int) | Size of data set. |
| alpha ((double a0, double a1, double a2)) | Alpha parameters. |
| engine (Random) | Random engine to use. |
Returns: Random distribution.
CreateDirichlet2DSampling
#Compute a two-dimensional Dirichlet distribution.
CreateDirichlet3DSampling
#Compute a three-dimensional Dirichlet distribution.
Parameters:
| count (int) | Size of data set. |
| alpha ((double a0, double a1, double a2, double a3)) | Alpha parameters. |
| engine (Random) | Random engine to use. |
Returns: Random distribution.
CreateDirichlet3DSampling
#Compute a three-dimensional Dirichlet distribution.
CreateSampling
#Gets a collection of random samples within this distribution. This method should only be called when the distribution is continuous.
CreateSamplingConsistent
#Create a random sampling of this distribution which is more consistent but slower than the CreateSampling(Random, int) method.
Parameters:
| engine (RandomEngine) | Random engine to use. |
| count (int) | Number of samples to create. |
CreateStudentT
#public static ContinuousDistribution CreateStudentT(double location, double scale, double degreesOfFreedom)
Create a Student-T distribution.
CumulativeAt
#Gets the cumulative distribution at x.
Parameters:
| x (double) | Parameter. |
Returns: Cumulative probability at x.
GetCdfPreview
#Create an approximation of the CDF curve for this distribution using the relevant interval.
Parameters:
| samples (int) | Number of samples. |
| interval ((double x0, double x1)) | X-interval for graph. |
| x (out double[]) | X values of sample. |
| y (out double[]) | Y values of samples. |
GetCdfPreview
#Create an approximation of the CDF curve for this distribution using the relevant interval.
GetPdfPreview
#Create an approximation of the PDF curve for this distribution using the relevant interval.
Parameters:
| samples (int) | Number of samples. |
| interval ((double x0, double x1)) | X-interval for graph. |
| x (out double[]) | X values of sample. |
| y (out double[]) | Y values of samples. |
GetPdfPreview
#Create an approximation of the PDF curve for this distribution using the relevant interval.
GetRelevantInterval
#Gets the relevant x-interval in which the distribution has the most detailed progression. This method is used to decide on which interval any distribution previews ought to be drawn.