Skip to content

Commit

Permalink
Update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
roberto-butti committed Feb 22, 2022
1 parent 09d0de6 commit 7b994fe
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog

## 0.2.1 - WIP
- Linear regression

## 0.2.0 - 2022-02-21
- Raise Exception instead of returning null if there is no valid input. By Artem Trokhymchuk @trokhymchuk [thanks for the PR #15](https://github.com/Hi-Folks/statistics/pull/15);
- PHPStan, level 9
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ Stat class has methods to calculate an average or typical value from a populatio
- geometricMean(): geometric mean;
- harmonicMean(): harmonic mean;
- correlation(): the Pearson’s correlation coefficient for two inputs;
- covariance(): the sample covariance of two inputs.
- linearRegression():
- covariance(): the sample covariance of two inputs;
- linearRegression(): return the slope and intercept of simple linear regression parameters estimated using ordinary least squares.

#### Stat::mean( array $data )
Return the sample arithmetic mean of the array _$data_.
Expand Down

0 comments on commit 7b994fe

Please sign in to comment.