Closed shawnlaffan closed 1 year ago
The summary stats for the matrices use the BY_VALUE hash to same some calculations.
However, that hash was restructured a long time ago to index based on sprintf("%.2g", $val) to reduce its size.
sprintf("%.2g", $val)
The end result is that the calculations are inaccurate.
A more accurate approach is to use Statistics::Descriptive::PDL::SampleWeighted from the original values.
The summary stats for the matrices use the BY_VALUE hash to same some calculations.
However, that hash was restructured a long time ago to index based on
sprintf("%.2g", $val)
to reduce its size.The end result is that the calculations are inaccurate.
A more accurate approach is to use Statistics::Descriptive::PDL::SampleWeighted from the original values.