Multivariable linear regression

I've never used it myself, but a quick google for "ruby multiple
regression" turned this up:

http://ruby-statsample.rubyforge.org/

HTH,

-Roy