# Statistics Vision Data Access Functions

This topic lists the Vision Data Access Functions that are used for statistical functions.

Note: All returned values are from a referenced Stats structure, which is inserted in the spreadsheet when the ComputeStats function is created.

Function | Description
--- | ---
GetErrorCount(Stats) | Returns the number of errors.
GetLatest(Stats) | Returns the most recent value used to compute the statistics.
GetMax(Stats) | Returns the largest value used to compute the statistics.
GetMean(Stats) | Returns the mean (average) of the values.
GetMin(Stats) | Returns the smallest value used to compute the statistics.
GetNumSamples(Stats) | Returns the total number of samples used for calculations.
GetRange(Stats) | Returns the range between the minimum and maximum values.
GetSDev(Stats) | Returns the standard deviation of the values.
GetSum(Stats) | Returns the sum of the values.
GetVariance(Stats) | Returns the variance for the referenced value.