dython icon indicating copy to clipboard operation
dython copied to clipboard

cramers_v_weighted

Open sksvineeth opened this issue 4 years ago • 0 comments

The weighted correlation feature for categorical variables is missing in Cramer's V, and this feature helps to give weightage to certain rows.

Adding weightage to certain rows depending on the target variable is a regular process in the retail/sales industry when it comes to correlation and incorporating this feature for categorical correlation is a huge plus.

Doesn't account for weighted correlation (can be incorporated in cramers'V for categorical variables)

This change needs to be added as a separate function in nominal.py where the weight variable needs to be added at crosstab

sksvineeth avatar Jan 14 '21 22:01 sksvineeth