Calculates the biased standard deviation of the elements in the given data set,
using the specified bias and excluding NaN values.
Namespace: CenterSpace.NMath.StatsAssembly: NMathStatsPremium (in NMathStatsPremium.dll) Version: 3.6.0.0
Syntax
| C# |
|---|
public static double NaNStandardDeviation( DoubleVector data, BiasType type ) |
| Visual Basic |
|---|
Public Shared Function NaNStandardDeviation ( _ data As DoubleVector, _ type As BiasType _ ) As Double |
| Visual C++ |
|---|
public: static double NaNStandardDeviation( DoubleVector^ data, BiasType type ) |
Parameters
- data
- Type: CenterSpace.NMath.Core..::..DoubleVector
A vector.
- type
- Type: CenterSpace.NMath.Stats..::..BiasType
Bias type.
Return Value
Standard deviation.
Exceptions
| Exception | Condition |
|---|---|
| CenterSpace.NMath.Core..::..InvalidArgumentException | Thrown if data has a length of zero. |