Skip to content

B-Rich/patsy

 
 

Repository files navigation

Patsy is a Python library for describing statistical models (especially linear models, or models that have a linear component) and building design matrices. Patsy brings the convenience of R "formulas" to Python.

image

image

Documentation:

http://patsy.readthedocs.org/

Downloads:

http://pypi.python.org/pypi/patsy/

Dependencies:
  • Python. We test against versions 2.6 and later, and 3.2 and later. (Earlier versions may also work -- bug reports/patches accepted!)
  • numpy
Optional dependencies:
  • nose: needed to run tests
  • scipy: needed for spline-related functions like bs
Install:

pip install patsy (or, for traditionalists: python setup.py install)

Code and bug tracker:

https://github.com/pydata/patsy

Mailing list:
License:

2-clause BSD, see LICENSE.txt for details.

About

Describing statistical models in Python using symbolic formulas

Resources

License

Stars

Watchers

Forks

Packages

No packages published