Method | Description | |
---|---|---|
Clone ( ) : object |
Creates a new object that is a copy of the current instance.
|
|
DistributionFunction ( int x ) : double |
Gets the probability density function (pdf) for this distribution evaluated at point The Probability Density Function (PDF) describes the probability that a given value |
|
Fit ( double observations, double weights ) : IDistribution |
Fits the underlying distribution to a given set of observations.
|
|
GeneralDiscreteDistribution ( ) : System |
Constructs a new generic discrete distribution.
|
|
GeneralDiscreteDistribution ( int start ) : System |
Constructs a new generic discrete distribution.
|
|
GeneralDiscreteDistribution ( int start, int symbols ) : System |
Constructs a new uniform discrete distribution.
|
|
ProbabilityMassFunction ( int x ) : double |
Gets the probability mass function (pmf) for this distribution evaluated at point The Probability Mass Function (PMF) describes the probability that a given value |
public DistributionFunction ( int x ) : double | ||
x | int | /// A single point in the distribution range. For a /// univariate distribution, this should be a single /// double value. For a multivariate distribution, /// this should be a double array. |
return | double |
public Fit ( double observations, double weights ) : IDistribution | ||
observations | double | /// The array of observations to fit the model against. /// |
weights | double | /// The weight vector containing the weight for each of the samples. /// |
return | IDistribution |
public GeneralDiscreteDistribution ( ) : System | ||
return | System |
public GeneralDiscreteDistribution ( int start ) : System | ||
start | int | /// The integer value where the distribution starts, also /// known as the offset value. Default value is 0. |
return | System |
public GeneralDiscreteDistribution ( int start, int symbols ) : System | ||
start | int | /// The integer value where the distribution starts, also /// known as the offset value. Default value is 0. |
symbols | int | /// The number of discrete values within the distribution. /// The distribution is assumed to belong to the interval /// [start, start + symbols]. |
return | System |
public ProbabilityMassFunction ( int x ) : double | ||
x | int | /// A single point in the distribution range. |
return | double |