diff --git a/CHANGELOG.md b/CHANGELOG.md index 1792dba..0262a3d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/README.md b/README.md index 4814a5c..e1c6467 100644 --- a/README.md +++ b/README.md @@ -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_.