New submission from Tymek Wołodźko :
Nonetheless having several attempts, I wasn't able to create reproducible
example for this bug, but I will try describing it in detail.
I have a package with multiple modules. One of the paths is like
`mymodule.nestedmodule.io`, among other functions,
Tymek Wołodźko added the comment:
Is there anything more I should do about the PR?
Sincerely,
Tim
On Fri, May 22, 2020 at 10:45 PM Cheryl Sabella
wrote:
>
> Cheryl Sabella added the comment:
>
> @steven.daprano and @tim.peters, please take a look at the PR as it is
> just
Change by Tymek Wołodźko :
--
title: statistics: add covariance and Pearson's correlation -> statistics: add
covariance, Pearson's correlation, and simple linear regression
___
Python tracker
<https://bugs.pytho
Tymek Wołodźko added the comment:
I expanded my PR to add simple linear regression. I also created
documentation for the new functionalities.
As about covariance, we can simply not expose it to the users, but I'm not
convinced that there is any gain in keeping it hidden from the users.
Tymek Wołodźko added the comment:
In case there is agreement with Steven, I will add simple linear regression
( https://en.wikipedia.org/wiki/Simple_linear_regression ) in the same PR,
since it is just:
slope = correlation(x, y) * ( stdev(y) / stdev(x) )
intercept = mean(y) - slope * mean(x
Tymek Wołodźko added the comment:
I think I see your point, that the module is intended for the most basic
features, but I would argue that correlation is one of such "most basic"
statistics.
Correlation and covariance can be thought as equivalents for standard
deviation and variance
New submission from Tymek Wołodźko :
Covariance and Pearson's correlation are one of the most basic bivariate
statistics.
https://en.wikipedia.org/wiki/Covariance
https://en.wikipedia.org/wiki/Pearson_correlation_coefficient
--
messages: 354754
nosy: Tymek Wołodźko
priority: n