PHPackages                             carbocation/statistics-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. carbocation/statistics-bundle

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

carbocation/statistics-bundle
=============================

3172PHP

Since Dec 1Pushed 13y ago1 watchersCompare

[ Source](https://github.com/carbocation/CarbocationStatisticsBundle)[ Packagist](https://packagist.org/packages/carbocation/statistics-bundle)[ RSS](/packages/carbocation-statistics-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

CarbocationStatisticsBundle
===========================

[](#carbocationstatisticsbundle)

This is a pure PHP library that implements multivariate linear regression using linear algebra. The Moore-Penrose pseudoinverse is used in the computation of the coefficient matrix. The original regression and matrix libraries were written by Shankar Manamalkav, and the original files can be found [on his blog](http://mnshankar.wordpress.com/2011/05/01/regression-analysis-with-php/). It has been adapted as a Symfony2 bundle by James Pirruccello.

This bundle is covered by the MIT license. For details, [see the license](https://github.com/carbocation/CarbocationStatisticsBundle/blob/master/Resources/meta/LICENSE).

Symfony2 Installation
---------------------

[](#symfony2-installation)

This bundle can be used as a standalone package for PHP 5.3+. It can also be used as a Symfony2 bundle. To do so, follow these instructions (for the 2.0.x branch):

1. Add this bundle to your `deps` file:

    ```
    [CarbocationRegressionBundle]
        git=git://github.com/carbocation/CarbocationStatisticsBundle.git
        target=/bundles/Carbocation/StatisticsBundle

    ```

    Then run `bin/vendors install`.
2. Register the `Carbocation` namespace in the `app/autoload.php` file:

    ```
    $loader->registerNamespaces(array(
        // ...
        'Carbocation'      => __DIR__.'/../vendor/bundles',
    ));

    ```
3. Register the bundle in the `app/AppKernel.php` file:

    ```
    public function registerBundles()
    {
        $bundles = array(
            // ...
            new Carbocation\StatisticsBundle\CarbocationStatisticsBundle(),
        );
    }

    ```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/ed10ec7dae76e7a0f48ce5888d167105687e6fdcd489cdc747e0b86496c55e2e?d=identicon)[carbocation](/maintainers/carbocation)

---

Top Contributors

[![carbocation](https://avatars.githubusercontent.com/u/218804?v=4)](https://github.com/carbocation "carbocation (63 commits)")

### Embed Badge

![Health badge](/badges/carbocation-statistics-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/carbocation-statistics-bundle/health.svg)](https://phpackages.com/packages/carbocation-statistics-bundle)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
