Skip to content
Branch: master
Go to file


Failed to load latest commit information.
Latest commit message
Commit time
Nov 25, 2015
Nov 25, 2015


Apophenia is an open statistical library for working with data sets and statistical or simulation models. It provides functions on the same level as those of the typical stats package (such as OLS, probit, or singular value decomposition) but gives the user more flexibility to be creative in model-building. Being in C, it is often an order of magnitude faster when searching for optima or running MCMC chains. The core functions are written in C, but experience has shown them to be easy to bind to Python/Julia/Perl/Ruby/&c. provides an overview of the basics of using the library. If you want to know more about the package, see the web site,, or have a look at the textbook from Princeton University Press that coevolved with Apophenia, downloadable from .

The quick summary for installation:

∙ The library depends on the GNU Scientific Library and SQLite3. If you are using a system with a package manager of some sort, there is certainly a package for them. Be sure to include both the main package and the lib-, -dev, or -devel package. Sample package manager calls:

    sudo apt-get install make gcc libgsl0-dev libsqlite3-dev 
    sudo yum install make gcc gsl-devel libsqlite3x-devel
    sudo pacman -S make gcc gsl sqlite 

∙ The prebuilt package, that has only basic prerequisites (no Autotools or m4) can be downloaded from another Git branch:

    #Download the zip file, via wget or your preferred downloading method:

    #unzip and build
    cd Apophenia-pkg
    sudo make install

Or check out the branch via git:

    git clone
    cd Apophenia
    git checkout pkg
    sudo make install

∙ This master branch of the git repository requires Autotools, so it can build the
package. Try (apt-get || yum install) autoconf automake libtool. If you have Autotools installed, then from this branch you can run:

    cd apophenia-1.0
    sudo make install

∙ Find detailed setup instructions and some troubleshooting notes at .

Thanks for your interest. I do hope that Apophenia helps you learn more from your data.


PS: Lawyers, please note that a file named COPYING in the install/ directory describes how this package is licensed under GPLv2.


A C library for statistical and scientific computing



You can’t perform that action at this time.