Apache Commons Math를 사용하여 벡터의 SD를 계산합니다. 문제 : 나는 값을, 손Apache Commons와의 표준 편차 수학
DescriptiveStatistics stats = new DescriptiveStatistics();
stats.addValue(value1);
...
stats.addValue(value8);
stats.getStandardDeviation();
일예 것보다 다른 값을 얻을 [1699.0, 1819.0, 1699.0, 1719.0, 1689.0, 1709.0, 1819.0, 1689.0]. SD는 52.067이지만 Commons Math = 55.662 여야합니다.
내가 뭘 잘못하고 있니?
예, 그게이다. 고맙습니다. – dotwin