|
ToolsZScores Method (Double, Double, Double)
|
Generates the Standard Scores, also known as Z-Scores, from the given data.
Namespace:
Accord.Statistics
Assembly:
Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax public static double[,] ZScores(
this double[,] matrix,
double[] means,
double[] standardDeviations
)
<ExtensionAttribute>
Public Shared Function ZScores (
matrix As Double(,),
means As Double(),
standardDeviations As Double()
) As Double(,)
Request Example
View SourceParameters
- matrix
- Type: SystemDouble
A number multi-dimensional array containing the matrix values. - means
- Type: SystemDouble
The mean value of the given values, if already known. - standardDeviations
- Type: SystemDouble
The values' standard deviation vector, if already known.
Return Value
Type:
DoubleThe Z-Scores for the matrix.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type . 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).
See Also