Displaying 20 results from an estimated 500 matches similar to: "Comparing kendall's tau values?"
2005 Feb 10
1
rats in survival package
Dear R-listers,
Does anybody know what is the correct source of "rats" dataset in survival package?
The help gives the following information:
Rat data from survival5
Description:
48 rats were injected with a carcinogen, and then randomized to
either drug or placebo. The number of tumors ranges from 0 to 13;
all rats were censored at 6 months after randomization.
2008 Apr 18
1
2.2e-16 a magic number? ks.test help
Hello,
I'm trying to test my data for normality.
I enter the data (95ish species counts)
run >ks.test (data,pnorm)
and get a p- value <2.2e-16
But this seems to be the p-value no matter what the data I enter. (I
have multiple datasets and am testing them all for normality).
[Actually, I just entered a vector of 1's and the p-value changed.]
When I use the >Shapiro.test command,
2011 Apr 30
1
Kendall's tau code
I discovered that the Kendall's tau calculation in R uses all pairwise comparisons which is O(n^2) and takes a long time for large vectors. I implemented a O(n*log(n)) algorithm based on merge-sort. Is this of interest to be included in core R? The code (fortran and R wrapper) is available in my package clinfun v0.9.7 (not exported in NAMESPACE).
Thanks,
Venkat
--
Venkatraman E. Seshan,
2006 Sep 12
1
Kendall's tau-c
Hello,
I can't find a package which calculates Kendall's tau-c. There is the
package Kendall, but it only calcuates Kendall's tau-b.
Here is the example from
ttp://www2.chass.ncsu.edu/garson/pa765/assocordinal.htm.
cityriots <- data.frame(citysize=c(1,1,2,2,3,3),
riotsize=c(1,2,1,2,1,2), weight=c(4,2,2,3,0,4))
cityriots <- data.frame(lapply(cityriots,function(x)
2003 Apr 07
1
kendall's tau-b computation (PR#2742)
Full_Name: Dan Field
Version: 1.6.2
OS: N/A
Submission from: (NULL) (209.115.168.187)
In kendall.c (library is ctest), the limits for the first loop in routine
kendall_tau run from 0 through n-1, and the inner loop runs from 0 through i-1.
This causes the each pair at index i to be compared with itself; my
understanding is that there should only be n*(n-1)/2 pairs under consideration
for
2023 Nov 07
1
Concordance and Kendall's tau in copula
Dear
I estimate a sample selection model using the Clayton copula and Burr
and Gaussian marginal. I need to derive ther Kendall'sw tau from the
concordance coefficient by integration. I came across a way to do that
in R long time ago but cannot find it again. Can somewone tell me what
to read and what to use? Thank you.
Steven Yen
2005 Jun 28
1
faster algorithm for Kendall's tau
Hi,
I need to calculate Kendall's tau for large data
vectors (length > 100'000).
Is somebody aware of a faster algorithm or package
function than "cor(, method="kendall")"?
There are ties in the data to be considered (Kendall's
tau-b).
Any suggestions?
Regards
Ferdinand
2012 Jun 25
2
Fast Kendall's Tau
Hello.
Has any further action been taken regarding implementing David Simcha's fast Kendall tau code (now found in the package pcaPP as cor.fk) into R-base? It is literally hundreds of times faster, although I am uncertain as to whether he wrote code for testing the significance of the parameter. The last mention I have seen of this was in 2010
2012 Aug 01
4
apply function over same column of all objects in a list
Hello. Please forgive me if this problem has already been posted (and solved)
by someone else ... I can't find it anywhere though it seems so very basic.
Here it is:
I have a list comprised of several matrices, each of which has two columns.
> list
[[1]]
[,1] [,2]
[1,] 1 3
[2,] 2 4
[[2]]
[,1] [,2]
[1,] 5 7
[2,] 6 8
[[3]]
[,1] [,2]
2010 Feb 08
2
Incorrect Kendall's tau for ordered variables (PR#14207)
Full_Name: Marek Ancukiewicz
Version: 2.10.1
OS: Linux
Submission from: (NULL) (74.0.49.2)
Both cor() and cor.test() incorrectly handle ordered variables with
method="kendall", cor() incorrectly handles ordered variables for
method="spearman" (method="person" always works correctly, while
method="spearman" works for cor.test, but not for cor()).
In
2002 Apr 25
3
Kendall's tau
A search of the archives did not reveal an answer:
For basic tests of association, where one has no a priori knowledge of the
form of the relation or of the distributions of the variables, rank
correlation seems like a good start. Why is cor.test() with Kendall and
Spearman options relegated to the ctest package, rather than in the base
package? Does this suggest that the developers consider
2005 Jul 30
1
xyplot auto.key issue
Hi all,
I'm having a problem with the auto.key function in xyplot. I hate to bother the
list like this and I'm positive I must be missing something very simple, yet
I've spent the last day searching for a solution to no avail.
Essentially, I want a key that contains entries in which the plot points are
superimposed on a line of the same color as the points, like this: o--o--o
Now,
2009 Apr 02
1
DOS application crashes..
Hi, the error I receive when running my program is this;
Code:
fixme:int:DOSVM_Int10Handler Get Font Information - Not Supported
I ran;
Code:
cd '/home/ricardo/.wine/drive_c/gh'
wine gail.exe -CustomResolution:enabled -r1024x768x32
exit
The program is a lottery number program (generator)
Could someone debug the error for me?
Thanks.
2009 Dec 13
2
O(N log N) Kendall Tau
I've noticed that the implementation of Kendall's Tau in R is O(N^2).
The following reference describes how it can be done in O(N log N):
A Computer Method for Calculating Kendall's Tau with Ungrouped Data
William R. Knight
Journal of the American Statistical Association, Vol. 61, No. 314, Part
1 (Jun., 1966), pp. 436-439
http://www.jstor.org/pss/2282833
I'm interested in
2005 Aug 13
1
R/S-Plus/SAS yield different results for Kendall-tau and Spearman nonparametric regression
Colleagues,
I ran some nonparametric regressions in R (run in RedHat Linux), then
a colleague repeated the analyses in SAS. When we obtained different
results, I tested S-Plus (same Linux box). And, got yet different
results. I replicated the results with a small dataset:
DATA:
37.5
23
37.5
13
25
16
25
12
100
15
12.5
19
50
20
100
13
100
10
100
10
100
16
50
10
87.5
2005 Aug 18
2
kendall tau correlation test for ties: Potential error (PR#8076)
Full_Name: Dirk Koschuetzki
Version: 2.1.1
OS: source code
Submission from: (NULL) (194.94.136.34)
Hello,
>From the source code (R-2.1.1, file: .../R-2.1.1/src/library/stats/R/)
******************************
cor.test.default <-
function(x, y, alternative = c("two.sided", "less", "greater"),
method = c("pearson", "kendall",
2011 Apr 12
1
problems in centos-5.6
hi,
i try to collect the problems, bugs and 'strange' things in current
centos-5.6 release:
os/i386 these shouldn't have to be there (they are from older release):
kmod-gfs-0.1.34-12
kmod-gfs-PAE-0.1.34-12
kmod-gfs-xen-0.1.34-12
centos-release-notes-5.5-0
updates/i386 these shouldn't have to be there (they are already in os):
libtdb-1.2.1-5.el5.i386
libtdb-devel-1.2.1-5.el5.i386
2007 Oct 11
1
Balsa for CentOS ??
Anybody know where I can find a RPM of a recent version of Balsa for
RH5 or Centos 5? Dag, et al, don't seem to have it.
Thanks!
--
---- Fred Smith -- fredex at fcshome.stoneham.ma.us -----------------------------
The Lord is like a strong tower.
Those who do what is right can run to him for safety.
--------------------------- Proverbs 18:10 (niv)
2006 Sep 13
2
kendall's w
Hi,
I try to calculate Kendall's W coefficient and I have a bizarre error.
little.app.mat<-matrix(c(1,3,4,2,6,5,2,4,3,1,5,6,3,2,5,1,5,4),nrow=3,byrow=TRUE)
print(kendall.w(little.app.mat[-1,]))
>>> Kendall's W for ordinal data
>>> W = 0.7753623Error in if (is.na(x$p.table)) { : argument is of
length zero
2008 May 05
0
kendall tau a,b,c
hi,
i have 2 lists of ranks for which i'd like to compute kendall tau.
there are ties in the ranks which (to the best of my knowledge) means i
cant use tau a but rather b or c.
how does R handle that? are ties automatically detected (using
corr.test()) and is tau b/c computed instead of tau a?
also kendall does not work when values in list 1 do not occur in list 2
(and vice versa) - how does