[R] lambda, uncertainty coefficient ( Somers D)

2006-04-18 Thread Antti Arppe
Dear colleagues in R,

Has anybody implemented the

1) (Goodman  Kruskal) lambda

or the

2) (Thiel's) uncertainty coefficient

statistics (in the asymmetric and symmetric forms), or is anyone aware 
that they might reside in some package? A search in the R archives 
does indicate that they are (somehow) part of the CoCo package, but I 
would rather not start learning how to transform my data into 
CoCo-format in order to access these functions, regardless of whether 
the CoCo versions are actually intended for calculating the actual 
statistic or for some other package internal purposes, as may 
sometimes be the case.

Furthermore, it appears to me that the 'somers2' function in the Hmisc 
package applies Somers' D only to 2x2 and not larger tables. Am I 
mistaken, or does there exist somewhere else an implementation of the 
Somers' D statistic for the more general RxC tables? This was queried 
in 1999, but no response seemed then to be forthcoming.

Thanks and regards,

-Antti Arppe
-- 
==
Antti Arppe - Master of Science (Engineering)
Researcher  doctoral student (Linguistics)
E-mail: [EMAIL PROTECTED]
WWW: http://www.ling.helsinki.fi/~aarppe

__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


Re: [R] lambda, uncertainty coefficient ( Somers D)

2006-04-18 Thread Frank E Harrell Jr
Antti Arppe wrote:
 Dear colleagues in R,
 
 Has anybody implemented the
 
 1) (Goodman  Kruskal) lambda
 
 or the
 
 2) (Thiel's) uncertainty coefficient
 
 statistics (in the asymmetric and symmetric forms), or is anyone aware 
 that they might reside in some package? A search in the R archives 
 does indicate that they are (somehow) part of the CoCo package, but I 
 would rather not start learning how to transform my data into 
 CoCo-format in order to access these functions, regardless of whether 
 the CoCo versions are actually intended for calculating the actual 
 statistic or for some other package internal purposes, as may 
 sometimes be the case.
 
 Furthermore, it appears to me that the 'somers2' function in the Hmisc 
 package applies Somers' D only to 2x2 and not larger tables. Am I 
 mistaken, or does there exist somewhere else an implementation of the 
 Somers' D statistic for the more general RxC tables? This was queried 
 in 1999, but no response seemed then to be forthcoming.

Somers' D is for a 2-category response variable.  X may have any number 
of categories as long as they are ordered.

Frank Harrell

 
 Thanks and regards,
 
   -Antti Arppe


-- 
Frank E Harrell Jr   Professor and Chair   School of Medicine
  Department of Biostatistics   Vanderbilt University

__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


Re: [R] lambda, uncertainty coefficient ( Somers D)

2006-04-18 Thread Marc Schwartz (via MN)
On Tue, 2006-04-18 at 16:40 +0300, Antti Arppe wrote:
 Dear colleagues in R,
 
 Has anybody implemented the
 
 1) (Goodman  Kruskal) lambda
 
 or the
 
 2) (Thiel's) uncertainty coefficient
 
 statistics (in the asymmetric and symmetric forms), or is anyone aware 
 that they might reside in some package? A search in the R archives 
 does indicate that they are (somehow) part of the CoCo package, but I 
 would rather not start learning how to transform my data into 
 CoCo-format in order to access these functions, regardless of whether 
 the CoCo versions are actually intended for calculating the actual 
 statistic or for some other package internal purposes, as may 
 sometimes be the case.
 
 Furthermore, it appears to me that the 'somers2' function in the Hmisc 
 package applies Somers' D only to 2x2 and not larger tables. Am I 
 mistaken, or does there exist somewhere else an implementation of the 
 Somers' D statistic for the more general RxC tables? This was queried 
 in 1999, but no response seemed then to be forthcoming.
 
 Thanks and regards,
 
   -Antti Arppe


Antti,

Under a separate e-mail to you, I have sent a text file containing R
code for the above and other related association measures.

If anyone else is interested in these, please let me know and I will be
more than happy to forward them on. I did not want to consume a lot of
bandwidth here.

HTH,

Marc Schwartz

__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


Re: [R] lambda, uncertainty coefficient ( Somers D)

2006-04-18 Thread Marc Schwartz (via MN)
On Tue, 2006-04-18 at 10:30 -0500, Marc Schwartz (via MN) wrote:
 On Tue, 2006-04-18 at 16:40 +0300, Antti Arppe wrote:
  Dear colleagues in R,
  
  Has anybody implemented the
  
  1) (Goodman  Kruskal) lambda
  
  or the
  
  2) (Thiel's) uncertainty coefficient
  
  statistics (in the asymmetric and symmetric forms), or is anyone aware 
  that they might reside in some package? A search in the R archives 
  does indicate that they are (somehow) part of the CoCo package, but I 
  would rather not start learning how to transform my data into 
  CoCo-format in order to access these functions, regardless of whether 
  the CoCo versions are actually intended for calculating the actual 
  statistic or for some other package internal purposes, as may 
  sometimes be the case.
  
  Furthermore, it appears to me that the 'somers2' function in the Hmisc 
  package applies Somers' D only to 2x2 and not larger tables. Am I 
  mistaken, or does there exist somewhere else an implementation of the 
  Somers' D statistic for the more general RxC tables? This was queried 
  in 1999, but no response seemed then to be forthcoming.
  
  Thanks and regards,
  
  -Antti Arppe
 
 
 Antti,
 
 Under a separate e-mail to you, I have sent a text file containing R
 code for the above and other related association measures.
 
 If anyone else is interested in these, please let me know and I will be
 more than happy to forward them on. I did not want to consume a lot of
 bandwidth here.
 
 HTH,
 
 Marc Schwartz


[Replying to r-help only]

Antti,

Each of my e-mails directly to you, including the code file, using
either:

  [EMAIL PROTECTED] (located on your web page)

or 

  [EMAIL PROTECTED] (used here)

have bounced, with access denied/user unknown errors.

Can you please confirm a correct e-mail address?

Thanks,

Marc

__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html