[R] spearman rank correlation problem

2004-03-15 Thread William T Morgan
Hello R gurus, I want to calculate the Spearman rho between two ranked lists. I am getting results with cor.test that differ in comparison to my own spearman function: my.spearman function(l1, l2) { if(length(l1) != length(l2)) stop(lists must have same length) r1 - rank(l1) r2

Re: [R] locfit troubles

2003-03-27 Thread William T Morgan
quite made it to page 218. Thank you for a timely and accurate reply. -- William T Morgan [EMAIL PROTECTED] The Mitre Corporation __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help

[R] locfit troubles

2003-03-25 Thread William T Morgan
a non-sensical output. Does anyone know the source of this warning? More importantly, are we mistaken in our usage of such a small alpha1? (The scores are very tightly packed; there are no windows of size .001 without at least a few datapoints). Thank you for your help. -- William T Morgan