https://mathpn.com/posts/basics-outlier-detection/