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( double[] data, BiasType type ) |
| Visual Basic |
|---|
Public Shared Function NaNStandardDeviation ( _ data As Double(), _ type As BiasType _ ) As Double |
| Visual C++ |
|---|
public: static double NaNStandardDeviation( array<double>^ data, BiasType type ) |
Parameters
- data
- Type: array<System..::..Double>[]()[][]
An array of doubles.
- 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. |