All Projects → Oefenweb → php-statistics

Oefenweb / php-statistics

Licence: MIT License
Statistics library for PHP

Programming Languages

PHP
23972 projects - #3 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to php-statistics

ethz cs summaries
Summaries / Cheat Sheets created at ETH Zurich BsC Computer Science & MsC Data Science
Stars: ✭ 67 (+109.38%)
Mutual labels:  statistics
Data-Analyst-Nanodegree
Kai Sheng Teh - Udacity Data Analyst Nanodegree
Stars: ✭ 42 (+31.25%)
Mutual labels:  statistics
d3-boxplot
d3js box plot plugin
Stars: ✭ 21 (-34.37%)
Mutual labels:  statistics
pyextremes
Extreme Value Analysis (EVA) in Python
Stars: ✭ 89 (+178.13%)
Mutual labels:  statistics
mongodb-info
MongoDB Info - command line tool to get stats.
Stars: ✭ 13 (-59.37%)
Mutual labels:  statistics
AMIDD
Introduction to Applied Mathematics and Informatics in Drug Discovery (AMIDD)
Stars: ✭ 13 (-59.37%)
Mutual labels:  statistics
mlbgameday
Multi-core processing of 'Gameday' data from Major League Baseball Advanced Media. Additional tools to parallelize large data sets and write them to a database.
Stars: ✭ 37 (+15.63%)
Mutual labels:  statistics
growthbook
Open Source Feature Flagging and A/B Testing Platform
Stars: ✭ 2,342 (+7218.75%)
Mutual labels:  statistics
karan36k.github.io
These are all the articles and pages I have in my data science website. I try to transcribe all I learn and post regularly. Please visit and feel free to email me for suggestions.
Stars: ✭ 22 (-31.25%)
Mutual labels:  statistics
BayesHMM
Full Bayesian Inference for Hidden Markov Models
Stars: ✭ 35 (+9.38%)
Mutual labels:  statistics
parcours-r
Valise pédagogique pour la formation à R
Stars: ✭ 25 (-21.87%)
Mutual labels:  statistics
confstat-bot
Statistics for telegram groups
Stars: ✭ 26 (-18.75%)
Mutual labels:  statistics
Euler
The open-source computational framework for the Swift language
Stars: ✭ 37 (+15.63%)
Mutual labels:  statistics
PyImpetus
PyImpetus is a Markov Blanket based feature subset selection algorithm that considers features both separately and together as a group in order to provide not just the best set of features but also the best combination of features
Stars: ✭ 83 (+159.38%)
Mutual labels:  statistics
laravel-model-stats
Model statistics dashboard for your Laravel Application
Stars: ✭ 186 (+481.25%)
Mutual labels:  statistics
analytics reading list
a collection of books, articles, and tutorials to learn and apply analytics
Stars: ✭ 16 (-50%)
Mutual labels:  statistics
quarantine-bot
WhatsApp bot powered by Twilio API to get through the quarantine. Latest COVID19 statistics, world news, inspirational quotes and cat photos.
Stars: ✭ 24 (-25%)
Mutual labels:  statistics
mortAAR
R Package - Analysis of Archaeological Mortality Data
Stars: ✭ 13 (-59.37%)
Mutual labels:  statistics
goodreads-toolbox
9 tools for Goodreads.com, for finding people based on the books they’ve read, finding books popular among the people you follow, following new book reviews, etc
Stars: ✭ 56 (+75%)
Mutual labels:  statistics
ThunderStats
This addon adds awesome statistics to your beloved Thunderbird!
Stars: ✭ 34 (+6.25%)
Mutual labels:  statistics

php-statistics

Build Status PHP 7 ready codecov Packagist downloads Code Climate Scrutinizer Code Quality

Statistics library for PHP.

Requirements

  • PHP 7.2.0 or greater.

Usage

Sum

use Oefenweb\Statistics\Statistics;

Statistics::sum([1, 2, 3]); // 6

Minimum

use Oefenweb\Statistics\Statistics;

Statistics::min([1, 2, 3]); // 1

Maximum

use Oefenweb\Statistics\Statistics;

Statistics::max([1, 2, 3]); // 3

Mean

use Oefenweb\Statistics\Statistics;

Statistics::mean([1, 2, 3]); // 2

Frequency

use Oefenweb\Statistics\Statistics;

Statistics::frequency([1, 2, 3, 3, 3]); // [1 => 1, 2 => 1, 3 => 3]

Mode

use Oefenweb\Statistics\Statistics;

Statistics::mode([1, 2, 2, 3]); // 2

Variance (sample and population)

use Oefenweb\Statistics\Statistics;

Statistics::variance([1, 2, 3]); // 1
Statistics::variance([1, 2, 3], false); // 0.66666666666667

Standard deviation (sample and population)

use Oefenweb\Statistics\Statistics;

Statistics::standardDeviation([1, 2, 3]); // 1.0
Statistics::standardDeviation([1, 2, 3], false); // 0.81649658092773

Range

use Oefenweb\Statistics\Statistics;

Statistics::range([4, 6, 10, 15, 18]); // 14
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].