Recode-Hive / machine-learning-repos

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

💡[Feature]: Correlation Tests (Pearson Correlation Coefficient,Spearman's Rank Correlation Coefficient) #439

Closed ranamanish674zu closed 1 day ago

ranamanish674zu commented 6 days ago

Is there an existing issue for this?

Feature 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.

Use Case

Pearson Correlation Coefficient and Spearman's Rank Correlation Coefficient are both measures of the strength and direction of the relationship between two variables, but they differ in their assumptions and applicability.

Benefits

No response

Add ScreenShots

No response

Priority

High

Record

github-actions[bot] commented 6 days ago

Thank you for creating this issue! 🎉 We'll look into it as soon as possible. In the meantime, please make sure to provide all the necessary details and context. If you have any questions reach out to LinkedIn. Your contributions are highly appreciated! 😊

Note: This repo is for beginners to learn and start with Opensource we won't accept more than 10 issues from a single person, This restriction applies to Gssoc project which has a similar kind of adding folder files, Points will be reduced when we find Spam.

I Maintain the repo issue twice a day, or ideally 1 day, If your issue goes stale for more than one day you can tag and comment on this same issue.

You can also check our CONTRIBUTING.md for guidelines on contributing to this project.

github-actions[bot] commented 1 day ago

Hello @ranamanish674zu! Your issue #439 has been closed. Thank you for your contribution!