public static ExponentialFitResult FitToSample(
IReadOnlyList<double> sample
)
Public Shared Function FitToSample (
sample As IReadOnlyList(Of Double)
) As ExponentialFitResult
public:
static ExponentialFitResult^ FitToSample(
IReadOnlyList<double>^ sample
)
static member FitToSample :
sample : IReadOnlyList<float> -> ExponentialFitResult
The returned fit parameter is μ (the Mean). This is the same parameter that is required by the ExponentialDistribution(Double) constructor to specify a new exponential distribution.
ArgumentNullException | sample is null. |
InsufficientDataException | sample contains fewer than two values. |
ArgumentOutOfRangeException | sample contains non-positive values. |