Recode-Hive / machine-learning-repos

A curated list of awesome machine learning frameworks, libraries and software (by language). I
MIT License
45 stars 125 forks source link

correlatintest #483

Closed ranamanish674zu closed 5 days ago

ranamanish674zu commented 5 days ago

Description

Pearson Correlation Coefficient (r) measures the linear relationship between two continuous variables. It ranges from -1 to 1, where -1 indicates a perfect negative linear relationship, 1 indicates a perfect positive linear relationship, and 0 indicates no linear relationship. Pearson's correlation assumes that the data are normally distributed and have a linear relationship with homoscedasticity (constant variance of the error terms). Spearman's Rank Correlation Coefficient (Ļ or rs) measures the strength and direction of the monotonic relationship between two variables, which can be ordinal, interval, or continuous. It is based on the ranks of the data rather than the raw data itself and ranges from -1 to 1, with the same interpretation as Pearson's correlation. Spearman's correlation does not assume normal distribution or linearity and is used when data are not normally distributed or when the relationship is not linear. Fixes #439

Checklist:

github-actions[bot] commented 5 days ago

Thank you for submitting your pull request! šŸ™Œ We'll review it as soon as possible. In the meantime, please ensure that your changes align with our CONTRIBUTING.md. If there are any specific instructions or feedback regarding your PR, we'll provide them here. Thanks again for your contribution! šŸ˜Š