BinomialDistributionFit Method (Int32, Double)
Fits the underlying distribution to a given set of observations.
Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax Request Example
public void Fit(
Public Sub Fit (
observations As Integer(),
weights As Double()
- 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).
- Type: SystemDouble
The weight vector containing the weight for each of the samples.
Although both double and double arrays are supported,
providing a double for a multivariate distribution or a
double for a univariate distribution may have a negative
impact in performance.