Stats.Get Mean Estimate Method
Definition
Namespace: Numerics.NET.Statistics
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
Overload List
Get | Returns an estimate for the mean of the variable. |
Get | Returns an estimate for the mean of the values in a span. |
GetMeanEstimate(Vector<Double>)
Returns an estimate for the mean of the variable.
public static Parameter<double> GetMeanEstimate(
this Vector<double> values
)
Parameters
Return Value
Parameter<Double>A Parameter<T> value containing information about the value and the distribution of the mean of the variable.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type Vector<Double>. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).GetMeanEstimate(ReadOnlySpan<Double>, Boolean)
Returns an estimate for the mean of the values in a span.
public static Parameter<double> GetMeanEstimate(
this ReadOnlySpan<double> values,
bool skipMissingValues = false
)
Parameters
- values ReadOnlySpan<Double>
- A read-only span.
- skipMissingValues Boolean (Optional)
- Optional. Specifies whether missing values should be excluded from the calculation. The default is false.
Return Value
Parameter<Double>A Parameter<T> value containing information about the value and the distribution of the mean of the variable.