public static WeibullFitResult FitToSample(
IReadOnlyList<double> sample
)Public Shared Function FitToSample (
sample As IReadOnlyList(Of Double)
) As WeibullFitResultpublic:
static WeibullFitResult^ FitToSample(
IReadOnlyList<double>^ sample
)static member FitToSample :
sample : IReadOnlyList<float> -> WeibullFitResult The returned fit parameters are the Shape and Scale, in that order. These are the same parameters, in the same order, that are required by the WeibullDistribution(Double, Double) constructor to specify a new Weibull distribution.
| ArgumentNullException | sample is null. |
| InvalidOperationException | sample contains non-positive values. |
| InsufficientDataException | sample contains fewer than three values. |