Calculates the skewness, a measure of the symmetry of the data, of the
the elements in a data set using the given bias type.
Namespace:
CenterSpace.NMath.StatsAssembly: NMathStats (in NMathStats.dll) Version: 3.4.0.0
Syntax
| C# |
|---|
public static double Skewness( int[] data, BiasType type ) |
| Visual Basic (Declaration) |
|---|
Public Shared Function Skewness ( _ data As Integer(), _ type As BiasType _ ) As Double |
| Visual C++ |
|---|
public: static double Skewness( array<int>^ data, BiasType type ) |
Parameters
- data
- Type: array<
System..::.Int32
>[]()[]
An array of integers.
- type
- Type: CenterSpace.NMath.Stats..::.BiasType
Bias type.
Return Value
Skewness.
Exceptions
| Exception | Condition |
|---|---|
| CenterSpace.NMath.Core..::.InvalidArgumentException | Thrown if data has a length of zero. |