Kendall's Tau Test
Jump to navigation
Jump to search
KENDALLSTAUTEST(Range1,Range2,alpha,NewTableFlag)
- is the array of x values.
- is the array of y values.
- is the value from 0 to 1.
- is either TRUE or FALSE. TRUE for getting results in a new cube. FALSE will display results in the same cube.
Description
- It is a statistic test used to measure the ordinal association between two measured quantities.
- It is a measure of rank correlation: the similarity of the orderings of the data when ranked by each of the quantities.
- Kendall correlation between two variables will be high when observations have a similar rank.
- It will be low when observations have a dissimilar rank between the two variables.
Let (x1, y1), (x2, y2), …, (xn, yn) be a set of observations of the joint random variables X and Y respectively, such that all the values of and are unique.
* concordant if & or & * discordant if & or & * neither if or (i.e. ties are not counted).
The Kendall's Tau statistic is: .
- C is the number of concordant pairs.
- D is the number of discordant pairs.
Result
- If number of values in a set is <15, critical tables are used to calculate .
- If number of values in a set is >=15, Normal approximation is used for calculation.
* If Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \tau}
> critical value from the Kendall's Tau Critical table, then reject the null hypothesis that there is no correlation.
* else if Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \tau}
<critical value, correlation exists.
Example
| A | B | |||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | 80 | 5 | 2 | 78 | 23 | 3 | 60 | 25 | 3 | 53 | 48 | 4 | 85 | 17 | 5 | 84 | 8 | 6 | 73 | 4 | 7 | 79 | 26 | 8 | 81 | 11 | 9 | 75 | 19 | 10 | 68 | 14 | 11 | 72 | 35 | 12 | 58 | 29 | 13 | 92 | 3 | 14 | 65 | 24 |