Math PHP
statistics
Our great sponsors
Math PHP | statistics | |
---|---|---|
21 | 1 | |
2,303 | 354 | |
- | 2.0% | |
6.3 | 7.6 | |
2 days ago | 25 days ago | |
PHP | PHP | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Math PHP
statistics
-
Statistics with PHP
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
What are some alternatives?
Peroxide - Rust numeric library with R, MATLAB & Python syntax
laravel-stats - 📈 Get insights about your Laravel or Lumen Project
Tensor - A library and extension that provides objects for scientific computing in PHP.
laravel-time-series - ⏰📊✨Laravel Time Series - Provides an API to create and maintain data projections (statistics, aggregates, etc.) from your Eloquent models, and convert them to time series.
maths-rs - Linear algebra library for graphics and gamedev.
Fermat - A library providing math and statistics operations for numbers of arbitrary size.
MathNet - Math.NET Numerics
Pest - Pest is an elegant PHP testing Framework with a focus on simplicity, meticulously designed to bring back the joy of testing in PHP.
macadam - Numerical library. Complete BLAS. Hybrid cpp98/cpp11 c99/c11
maths - Maths includes mathematical functions not defined in the standard Go math package.
FSharp.Stats - statistical testing, linear algebra, machine learning, fitting and signal processing in F#