public static LognormalFitResult FitToSample(
IReadOnlyList<double> sample
)Public Shared Function FitToSample (
sample As IReadOnlyList(Of Double)
) As LognormalFitResultpublic:
static LognormalFitResult^ FitToSample(
IReadOnlyList<double>^ sample
)static member FitToSample :
sample : IReadOnlyList<float> -> LognormalFitResult The returned fit parameters are the μ (Mu) and σ (Sigma) parameters, in that order. These are the same parameters, in the same order, that are required by the LognormalDistribution(Double, Double) constructor to specify a new log-normal distribution.
| ArgumentNullException | sample is null. |
| InsufficientDataException | sample contains fewer than three values. |
| InvalidOperationException | sample contains non-positive values. |