Statistics with PHP

This page summarizes the projects mentioned and recommended in the original post on dev.to

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • statistics

    PHP package that provides functions for calculating mathematical statistics of numeric data. (by Hi-Folks)

  • php use HiFolks\Statistics\Statistics; $s = Statistics::make( [98, 90, 70,18,92,92,55,83,45,95,88,76] ); $a = $s->frequencies(); print_r($a); /* Array ( [18] => 1 [45] => 1 [55] => 1 [70] => 1 [76] => 1 [83] => 1 [88] => 1 [90] => 1 [92] => 2 [95] => 1 [98] => 1 ) */ $a = $s->relativeFrequencies(); print_r($a); /* Array ( [18] => 8.3333333333333 [45] => 8.3333333333333 [55] => 8.3333333333333 [70] => 8.3333333333333 [76] => 8.3333333333333 [83] => 8.3333333333333 [88] => 8.3333333333333 [90] => 8.3333333333333 [92] => 16.666666666667 [95] => 8.3333333333333 [98] => 8.3333333333333 ) */ ## What's next If you have some suggestion to improve the code , or you want to add some new functions or request a new feature, feel free to open a new issues here: https://github.com/Hi-Folks/statistics/issues ### Todo list: I'm going to implement and add clasess/methods for: - [ ] covariance and correlation - [ ] normal distributions Follow me on Twitter: https://twitter.com/RmeetsH

  • Pest

    Pest is an elegant PHP testing Framework with a focus on simplicity, meticulously designed to bring back the joy of testing in PHP.

  • The package is full tested with Pest an elegant PHP Testing Framework. Now I just relesased the version 0.1.4, with full converage (100%).

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts