ExponentialDistributionFitToSample Method |
Namespace: Meta.Numerics.Statistics.Distributions
Exception | Condition |
---|---|
ArgumentNullException | sample is null. |
InsufficientDataException | sample contains fewer than two values. |
InvalidOperationException | sample contains non-positive values. |
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.