gw111zz/stats — comment on commit 93f68553caa6f962058de1302bfbad2469383409
File: spec/regression_spec.rb line 29
By davejacobs:

This looks great, thanks!

A couple of notes:

- Would you mind changing `inject` to `reduce` for internal consistency. (I tend to use `reduce` almost exclusively, especially in a math context.)
- The other functions I've written return a map for convenient attribute access (and as a sort of documentation). Do you think that would be appropriate here?