symmetric_theil_u_correlation#
- symmetric_theil_u_correlation(x: Union[List, ndarray, Series], y: Union[List, ndarray, Series]) float [source]#
Calculate the symmetric Theil’s U correlation of y to x.
- Parameters
- x: Union[List, np.ndarray, pd.Series]
A sequence of a categorical variable values without nulls
- y: Union[List, np.ndarray, pd.Series]
A sequence of a categorical variable values without nulls
- Returns
- float
Representing the symmetric Theil U correlation between y and x