先放地址:
帮女朋友写的程序,说不定有其他人用得上。
下面是 Grubbs' test 的介绍:
Grubbs' test (named after Frank E. Grubbs, who published the test in 1950), also known as the maximum normed residual test or extreme studentized deviate test, is a statistical test used to detect outliers in a univariate data set assumed to come from a normally distributed population.
摘自维基百科: https://en.wikipedia.org/wiki/Grubbs%27_test_for_outliers
好吧其实我也不是很懂,大概就是可以筛掉大量样本中错误的数据。希望能帮助到其他人。
有问题可开 issue 给我: https://github.com/xcatliu/grubbs/issues/new