public static UncertainValue PopulationMean(
this IReadOnlyCollection<double> sample
)
<ExtensionAttribute>
Public Shared Function PopulationMean (
sample As IReadOnlyCollection(Of Double)
) As UncertainValue
public:
[ExtensionAttribute]
static UncertainValue PopulationMean(
IReadOnlyCollection<double>^ sample
)
[<ExtensionAttribute>]
static member PopulationMean :
sample : IReadOnlyCollection<float> -> UncertainValue
In contrast to the Mean(IReadOnlyCollectionDouble) method, this method estimates the mean of the underlying population from which the sample was drawn, and provides a error estimate for that value.
ArgumentNullException | sample is . |
InsufficientDataException | sample contains fewer than 2 values. |