require "./setup"
av = [
  { "度数" => 1 },
  { "度数" => 2 },
  { "度数" => 4 },
  { "度数" => 2 },
  { "度数" => 1 },
]
tp StandardDeviation.call(av)
# >> |------+----------+---------------------+--------+---------------------+-------------------|
# >> | 度数 | 相対度数 | 累計相対度数        | 階級値 | 基準値              | 偏差値            |
# >> |------+----------+---------------------+--------+---------------------+-------------------|
# >> |    1 |      0.1 |                 0.1 |      0 |  1.7320508075688774 | 67.32050807568878 |
# >> |    2 |      0.2 | 0.30000000000000004 |     -1 |  0.8660254037844387 | 58.66025403784439 |
# >> |    4 |      0.4 |  0.7000000000000001 |     -2 |                 0.0 |              50.0 |
# >> |    2 |      0.2 |  0.9000000000000001 |     -3 | -0.8660254037844387 | 41.33974596215561 |
# >> |    1 |      0.1 |  1.0000000000000002 |     -4 | -1.7320508075688774 | 32.67949192431122 |
# >> |------+----------+---------------------+--------+---------------------+-------------------|
