tied_pairs: Number of tied pairs

View source: R/kendall_tau_b.r

tied_pairsR Documentation

Number of tied pairs

Description

Calculate the number of tied pairs in a contingency table, see Agresti 2010 pg 188. Txy is not calculated because it factors out of other calculations. This is used in the calculation of Kendall's tau-b

Usage

tied_pairs(contingency_table)

Arguments

contingency_table

2D Contingency table

Value

Named vector of the number of tied pairs Tx and Ty


tsostarics/sostools documentation built on Nov. 22, 2022, 7:26 p.m.