Build Status

Gem Version

Statsample-GLM is an extension of Generalized Linear Models to Statsample, a suite of advance statistics in Ruby.

Requires ruby 1.9.3 or higher.


Statsample-glm includes the following Generalized Linear Models:

  • Iteratively Reweighted Least Squares
    • Poisson Regression
    • Logistic Regression
  • Maximum Likelihood Models (Newton Raphson)
    • Logistic Regression
    • Probit Regression
    • Normal Regression

Statsample-GLM was created by Ankur Goel as part of Google's Summer of Code 2013. It is the part of the SciRuby Project.


gem install statsample-glm


To use the library

require 'statsample-glm'


Case Studies


The API doc is online. For more code examples see also the spec files in the source tree.

Project home page

Copyright (c) 2013 Ankur Goel and the Ruby Science Foundation. See LICENSE.txt for further details.

Statsample is (c) 2009-2013 Claudio Bustos and the Ruby Science Foundation.