Skip to content

AnkurGel/statsample-glm

Repository files navigation

statsample-glm

<img src=“https://secure.travis-ci.org/AnkurGel/statsample-glm.png” />

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.

Description

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.

Note: This is under active development!

Installation

gem install statsample-glm

Usage

To use the library

require 'statsample-glm'

You can also go through the blog-posts on my blog for descriptive explanation and examples.

Documentation

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

Contributing

  • Fork the project.

  • Create your feature branch

  • Add/Modify code.

  • Write equivalent documentation and tests.

  • Run ‘rspec` to verify that all test case passes.

  • Push your branch.

  • Pull request. :)

Project home page

Information on the source tree, documentation, issues and how to contribute, see

http://github.com/ankurgel/statsample-glm

This Biogem is published at biogems.info/index.html#statsample-glm

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

Statsample is © 2009-2013 Claudio Bustos and the Ruby Science Foundation.