Calculates the z-score of a value in a dataset.
The value to standardize.
The dataset to calculate mean and standard deviation from.
The z-score.
If dataset has fewer than 2 values or zero standard deviation.
Calculates the z-score of a value in a dataset.