A program to recognize and reward our most engaged community members
For each selected attribute a confidence of the Tukey Test is calculated. This confidence is defined as the distance between the current value to the median, divided by the distance of the lower/upper 'Tukey Test boundary' to the median.
So instead of mean and std_dev we take Inter quartile range and median. Median is more robust to outliers than mean, so i and many stats-people prefer it.
Can you have a look at Tukey test? We may just write the same stuff but with mean and std_dev if that's what you need.
Cheers,
Martin