Skip to content

Releases: Hi-Folks/statistics

Covariance

17 Feb 22:56
cb8013f
Compare
Choose a tag to compare
  • New method for calculating covariance: Stat::covariance()

Frequency Table

05 Feb 14:53
Compare
Choose a tag to compare
  • frequencyTable()
  • frequencyTableBySize()
  • code refactoring and documenting some functions by Artem Trokhymchuk @trokhymchuk thanks for the PR #2
  • add tests for Math class

Quantiles

30 Jan 18:10
Compare
Choose a tag to compare
  • quantiles()
  • firstQuartile()
  • thirdQuartile()

Geometric and Harmonic Mean

29 Jan 13:18
Compare
Choose a tag to compare
  • geometricMean(): geometric mean
  • harmonicMean(): harmonic mean and weighted harmonic mean

Standard Deviation and Variance

28 Jan 20:29
Compare
Choose a tag to compare
  • pstdev(): Population standard deviation
  • stdev(): Sample standard deviation
  • pvariance(): variance for a population
  • variance(): variance for a sample

Freq and Stat classes

27 Jan 21:18
Compare
Choose a tag to compare
  • Create Freq class with static method for managing frequencies table
  • Create Stat class with static methods for basci statistic functions like: mean, mode, median, multimode...
  • Refactor Statistics class in order to use logic provided by Freq and Stat class
  • Create ArrUtil with some helpers/functions to manage arrays
  • Add CICD test for PHP 8.1

Initial release

08 Jan 08:55
Compare
Choose a tag to compare

Initial release with:

  • getMean()
  • getCount()
  • getMedian()
  • getLowerPercentile()
  • getHigherPercentile()
  • getMode()
  • getFrequencies(): a frequency is the number of times a value of the data occurs;
  • getRelativeFrequencies(): a relative frequency is the ratio (fraction or proportion) of the number of times a value of the data occurs in the set of all outcomes to the total number of outcomes;
  • getCumulativeFrequences(): is the accumulation of the previous relative frequencies.;
  • getCumulativeRelativeFrequencies(): is the accumulation of the previous relative ratio.