# Statistics

## Description

`static` `class` `Tinman.Core.Math.Statistics`

Helper class for computing statistic values from arrays and lists (i.e. minimum, maximum, mean, variance and deviation).

## Public / Methods

### Deviation

`[Pure]`
`public` `static` `method` `Deviation` → `(1)`

variance in : float64

The variance.

returns → float64

The deviation.

Computes deviation from variance.

### Maximum

`[Pure]`
`public` `static` `method` `Maximum1` → `(3)`

values in : float64 [ ]

`[not-null]`
The value array.

offset opt : int32 = 0

`[0..values.Length]`
Offset to first value in range.

count opt : int32 = -1

`[-1..values.Length-offset]`
Number of values in range or `-1` to use all remaining values.

returns → float64

The maximum value.

Computes the maximum value for the given value range.

`[Pure]`
`public` `static` `method` `Maximum2` → `(3)`

values in : IVectorConst<float64>

`[not-null]`
The value list.

offset opt : int32 = 0

`[0..values.Count]`
Offset to first value in range.

count opt : int32 = -1

`[-1..values.Count-offset]`
Number of values in range or `-1` to use all remaining values.

returns → float64

The maximum value.

Computes the maximum value for the given value range.

### Mean

`[Pure]`
`public` `static` `method` `Mean1` → `(3)`

values in : float64 [ ]

`[not-null]`
The value array.

offset opt : int32 = 0

`[0..values.Length]`
Offset to first value in range.

count opt : int32 = -1

`[-1..values.Length-offset]`
Number of values in range or `-1` to use all remaining values.

returns → float64

The mean value.

Computes the mean value for the given value range.

`[Pure]`
`public` `static` `method` `Mean2` → `(3)`

values in : IVectorConst<float64>

`[not-null]`
The value list.

offset opt : int32 = 0

`[0..values.Count]`
Offset to first value in range.

count opt : int32 = -1

`[-1..values.Count-offset]`
Number of values in range or `-1` to use all remaining values.

returns → float64

The mean value.

Computes the mean value for the given value range.

### Minimum

`[Pure]`
`public` `static` `method` `Minimum1` → `(3)`

values in : float64 [ ]

`[not-null]`
The value array.

offset opt : int32 = 0

`[0..values.Length]`
Offset to first value in range.

count opt : int32 = -1

`[-1..values.Length-offset]`
Number of values in range or `-1` to use all remaining values.

returns → float64

The minimum value.

Computes the minimum value for the given value range.

`[Pure]`
`public` `static` `method` `Minimum2` → `(3)`

values in : IVectorConst<float64>

`[not-null]`
The value list.

offset opt : int32 = 0

`[0..values.Count]`
Offset to first value in range.

count opt : int32 = -1

`[-1..values.Count-offset]`
Number of values in range or `-1` to use all remaining values.

returns → float64

The minimum value.

Computes the minimum value for the given value range.

### Variance

`[Pure]`
`public` `static` `method` `Variance1` → `(4)`

mean in : float64

The mean value of the value range.

values in : float64 [ ]

`[not-null]`
The value array.

offset opt : int32 = 0

`[0..values.Length]`
Offset to first value in range.

count opt : int32 = -1

`[-1..values.Length-offset]`
Number of values in range or `-1` to use all remaining values.

returns → float64

The variance.

Computes the variance for the given value range.

`[Pure]`
`public` `static` `method` `Variance2` → `(4)`

mean in : float64

The mean value of the value range.

values in : IVectorConst<float64>

`[not-null]`
The value list.

offset opt : int32 = 0

`[0..values.Count]`
Offset to first value in range.

count opt : int32 = -1

`[-1..values.Count-offset]`
Number of values in range or `-1` to use all remaining values.

returns → float64

The variance.

Computes the variance for the given value range.