Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Cramer's V (Cramér's phi) #1272

Closed
stancld opened this issue Oct 16, 2022 · 0 comments · Fixed by #1298
Closed

Add Cramer's V (Cramér's phi) #1272

stancld opened this issue Oct 16, 2022 · 0 comments · Fixed by #1298
Assignees
Labels
enhancement New feature or request New metric
Milestone

Comments

@stancld
Copy link
Contributor

stancld commented Oct 16, 2022

🚀 Feature

Add Cramer's V -- correlation coefficient for categorical variables.

In statistics, Cramér's V (sometimes referred to as Cramér's phi and denoted as φc) is a measure of association between two nominal variables, giving a value between 0 and +1 (inclusive). It is based on Pearson's chi-squared statistic and was published by Harald Cramér in 1946. (Source: https://en.wikipedia.org/wiki/Cram%C3%A9r%27s_V)

Motivation

Add correlation metrics specific to categorical variables

Additional context

Nice blog post on this: https://towardsdatascience.com/the-search-for-categorical-correlation-a1cf7f1888c9

@stancld stancld added enhancement New feature or request New metric labels Oct 16, 2022
@stancld stancld added this to the v0.11 milestone Oct 16, 2022
@stancld stancld self-assigned this Oct 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request New metric
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant