N | データサンプル数\(N\)。 The number of data samples. |
d | 実数値\(d_1,\cdots,d_N\)を並べた配列。 An array composed of the real numbers \(d_1,\cdots,d_N\). |
ratio | 大きい方と小さい方の計算から除外するデータサンプル数の割合\(r\)。
大きい方と小さい方からそれぞれ\(r\)の割合ずつ、
合計で\(2r\)の割合が除外される。
したがって\(0\leq r < 0.5\)とし、
かつ除外後に最低1サンプルが残らなければならない。 Ratio, \(r\), of the number of data samples removed from the largest/smallest sides of the list of the data for the calculation of the average. Since the data samples of the given ratio are removed from each of the largest/smallest sides, a total of \(2r\) are removed. The value thus must satisfy \(0\leq r < 0.5\), and in addition at least 1 data sample must be remained. |
9.1 8.9 7.8 6.7 5.6 4.5 3.4 2.3 1.2 0.1 |
7.8 6.7 5.6 4.5 3.4 2.3 |
9.1 8.9 7.8 6.7 5.6 4.5 3.4 2.3 1.2 0.1 |
7.8 6.7 5.6 4.5 3.4 2.3 |