N | データサンプル数\(N\)。 The number of data samples \(N\). |
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サンプルが残らなければならない
(\(N-2N_{cut}\geq 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 standard deviation. 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 (i.e., \(N-2N_{cut}\geq 1\)). |
average | (\ref{eq.average})式で計算した平均値。
関数calculate_average_remove_outliersの戻り値を渡せば良い。 An average calculated with eq. (\ref{eq.average}); use the return value of function calculate_average_remove_outliers for this. |
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 |