Finding and removing outliers in PHP

前端 未结 3 571
耶瑟儿~
耶瑟儿~ 2020-12-29 10:05

Suppose I sample a selection of database records that return the following numbers:

20.50, 80.30, 70.95, 15.25, 99.97, 85.56, 69.77

Is ther

3条回答
  •  北荒
    北荒 (楼主)
    2020-12-29 10:39

    For a normally distributed set of data, removes values more than 3 standard deviations from the mean.

     $outlier) {
                $ret[] = $a;
            }
        }
        return $ret;
    }
    

提交回复
热议问题