[This article was first published on Statistical Research » R, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
Kendall’s Tau
This is an example of Kendall’s Tau rank correlation. This is similar to Spearman’s Rho in that it is a non-parametric measure of correlation on ranks. It is an appropriate measure for ordinal data and is fairly straight forward when there are no ties in the ranks. When ties do exist then variations of Kendall’s Tau can be used. These are tau-a and tau-b.
This example uses the same data from the previous Spearman’s Rho example . This shows a simple example of how one would calculate Kendall’s Tau as well as providing the R commands.
To leave a comment for the author, please follow the link and comment on their blog: Statistical Research » R.
R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.