public virtual IDistribution Fit(double[] observations)
{
var weights = new double[observations.Length];
// Create equal weights for the observations
for (int i = 0; i < weights.Length; i++)
weights[i] = 1.0/observations.Length;
return Fit(observations, weights);
}
}