Τ 等級相關係數(τ rank correlation coefficient, τ {\displaystyle \tau } )喺統計學上係等級相關嘅一種計法:設 ( x 1 , y 1 ) , . . . , ( x n , y n ) {\displaystyle (x_{1},y_{1}),...,(x_{n},y_{n})} 做一柞個案,每個個案都喺 X i , Y i {\displaystyle X_{i},Y_{i}} 呢兩個變數上有個數值,是但搵兩個個案 ( x i , y i ) {\displaystyle (x_{i},y_{i})} 同 ( x j , y j ) {\displaystyle (x_{j},y_{j})} 嚟睇,佢哋可以係一致(concordant),即係 ( x i > x j ) ∧ ( y i > y j ) {\displaystyle (x_{i}>x_{j})\land (y_{i}>y_{j})} 或者 ( x i < x j ) ∧ ( y i < y j ) {\displaystyle (x_{i}<x_{j})\land (y_{i}<y_{j})} ,否則佢哋就算係唔一致(discordant),而 τ {\displaystyle \tau } 嘅計法如下[1]: