|
GeneralDiscreteDistributionFit Method (Int32, Double)
|
Fits the underlying distribution to a given set of observations.
Namespace:
Accord.Statistics.Distributions.Univariate
Assembly:
Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax public void Fit(
int[] observations,
double[] weights
)
Public Sub Fit (
observations As Integer(),
weights As Double()
)
Request Example
View SourceParameters
- observations
- Type: SystemInt32
The array of observations to fit the model against. The array
elements can be either of type double (for univariate data) or
type double[] (for multivariate data). - weights
- Type: SystemDouble
The weight vector containing the weight for each of the samples.
Implements
IFittableTObservationsFit(TObservations, Double)See Also