r-help Forum Is there a function to calculate either Kendall tau a, b, or c. It appears the Kendall library only calculates tau b. Just wanted to check before writing a function to calculate the concordant and discordant pairs. Then its pretty easy. jeff
Kendall tau a, b, or c
4 messages · Jeff Reichman, Marc Schwartz, David L Carlson
On Jun 14, 2018, at 4:04 PM, JEFFERY REICHMAN <reichmanj at sbcglobal.net> wrote: r-help Forum Is there a function to calculate either Kendall tau a, b, or c. It appears the Kendall library only calculates tau b. Just wanted to check before writing a function to calculate the concordant and discordant pairs. Then its pretty easy. jeff
Hi Jeff, Take a look at my Github Gist here: https://gist.github.com/marcschwartz/3665743 I have b and c (among other measures), and supporting functions to calculate concordant and discordant pairs. Regards, Marc Schwartz
Marc Thank you - that will save me some time. Jeff -----Original Message----- From: Marc Schwartz <marc_schwartz at me.com> Sent: Thursday, June 14, 2018 4:07 PM To: JEFFERY REICHMAN <reichmanj at sbcglobal.net> Cc: R-help <r-help at R-project.org> Subject: Re: [R] Kendall tau a, b, or c
On Jun 14, 2018, at 4:04 PM, JEFFERY REICHMAN <reichmanj at sbcglobal.net>
wrote:
r-help Forum Is there a function to calculate either Kendall tau a, b, or c. It
appears the Kendall library only calculates tau b. Just wanted to check before writing a function to calculate the concordant and discordant pairs. Then its pretty easy.
jeff
Hi Jeff, Take a look at my Github Gist here: https://gist.github.com/marcschwartz/3665743 I have b and c (among other measures), and supporting functions to calculate concordant and discordant pairs. Regards, Marc Schwartz
Also look at the DescTools package for functions KendallTauA, KendallTauB, StuartTauC(). ---------------------------------------- David L Carlson Department of Anthropology Texas A&M University College Station, TX 77843-4352 -----Original Message----- From: R-help <r-help-bounces at r-project.org> On Behalf Of Jeff Reichman Sent: Thursday, June 14, 2018 4:19 PM To: 'Marc Schwartz' <marc_schwartz at me.com> Cc: 'R-help' <r-help at R-project.org> Subject: Re: [R] Kendall tau a, b, or c Marc Thank you - that will save me some time. Jeff -----Original Message----- From: Marc Schwartz <marc_schwartz at me.com> Sent: Thursday, June 14, 2018 4:07 PM To: JEFFERY REICHMAN <reichmanj at sbcglobal.net> Cc: R-help <r-help at R-project.org> Subject: Re: [R] Kendall tau a, b, or c
On Jun 14, 2018, at 4:04 PM, JEFFERY REICHMAN <reichmanj at sbcglobal.net>
wrote:
r-help Forum Is there a function to calculate either Kendall tau a, b, or c. It
appears the Kendall library only calculates tau b. Just wanted to check before writing a function to calculate the concordant and discordant pairs. Then its pretty easy.
jeff
Hi Jeff, Take a look at my Github Gist here: https://gist.github.com/marcschwartz/3665743 I have b and c (among other measures), and supporting functions to calculate concordant and discordant pairs. Regards, Marc Schwartz ______________________________________________ R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.