Kendall's Tau-b

medium
Unit 18 · Correlation & Forecasting0/2 to milestone

Kendall's tau counts how many pairs of observations are ordered the same way by two variables. Tau-b corrects for ties:

Pro problem

Unlock this and every premium problem across all tracks — plus hidden-test grading, advanced AI engineering modules and new content every week.

Start 7-day free trial
solution.py · Python 3.13
Run your code to see results. ⌘↵ to run · ⌘⇧↵ to submit
Kendall's Tau-b · TechGradify