Skip to content
Back to formatted view

Raw Message

Message-ID: <5.1.0.14.0.20040201164550.0223c050@MAIL.UNIFR.CH>
Date: 2004-02-02T00:53:21Z
From: Siegfried.Macho
Subject: 3 little questions

Dear R-helpers,

3 questions:
1. Is there a package that contains a routine for computing Kendall's W 
(coefficient of concordance), with and without ties ?
2. Is there a package that contains a routine for computing Goodman' s Gamma.
3. I there a simple method for computing the number of ties as well as 
their lengths within a vector fo ranks,
e.g.
 >r1 <- rank(c(1, 3, 2, 3, 3, 2, 4))

gives:

[1] 1.0 5.0 2.5 5.0 5.0 2.5 7.0

which contains 2 ties with length 2 and 3.

Thanks in advance,
S.M


==============================================
Dr. Siegfried Macho
Department of Psychology
University of Fribourg
Rue de Faucigny 2
CH-1700 Fribourg

Tel.: +41-26-3007635
Fax.: +41-26-3009712
http://www.unifr.ch/psycho/general/macho.htm