Displaying 20 results from an estimated 4000 matches similar to: "How to handle errors generated by the package Kendall?"
2008 Nov 21
1
Bug in Kendall for n<4?
> library(Kendall)
> Kendall(1:3,1:3)
WARNING: Error exit, tauk2. IFAULT = 12 <<<<<<
tau = 1, 2-sided pvalue =1
I believe Kendall tau is well-defined for this case and the reported
value is correct; isn't it a bug to give a warning? (And if, e.g.,
the pvalue is not well-defined in this case, wouldn't it be better to
return NA or NaN or something?) Also,
2009 Jul 06
0
Error exit, tauk2. IFAULT = 12
Dear McLeod,
I am a PhD student working with the Kendall package in R. I used
this package to make the so-called TauKr matrix correlation analysis
(Hemelrijk, 1990). However, lately I've been getting this warning:
Error exit, tauk2. IFAULT = 12. From the forums I've been looking
into, I noticed that when this warning pops up, it means that the
p-value of the correlation may be wrong
2013 Jul 12
2
How to determine the pdf of a gamma distribution using the estimated parameters?
Hello everyone,
With th bar histogram (number of occurrences) hist<-c(24,7,4,1,2,1,1) of seven equally spaces classes ]1-4], ]5-8], ]9-12], ]13-16], ]17-20], ]21-24], ]25-28], I obtained shape=0.8276 and rate=0.1448.
I would like to know how to build the continuous pdf of a this gamma distribution knowing these two estimated parameters such that I will be able to predict the pdf of any
2013 Apr 19
1
How to read a direct access file by connecting fortran with R ?
Hello all,
I would like to read the specific line number row of a direct access file (which is stored as a n_row*n_col matrix of elements kind=p) without reading all the preceding lines (i.e 1,2,..,row-1).
Is there a function in R that can perform this task?
To solve my issue, I tried without to call Fortran from R by doing the following steps:
I) I wrote a subroutine in fortran called
2013 Apr 14
1
Model selection: On the use of the coefficient determination(R2) versus the frequenstist (AIC) and Bayesian (AIC) approaches
Dear all,
I'm modeling growth curve of some ecosystems with respect to their rainfall-productivity relationship using a simple linear regression (ANPP(t)=a+b*Rain(t)) and a modified version of the Brody Model ANPP(t)=a*(1-exp(-b*rain(t)))
I would like to know why the "best model" is function of the criteria that I use (maximizing the fit using R2 or testing the Null hypothesis with
2013 Jun 27
1
unable to install rPython
Hello everyone,
I try without success to install the package rPython
I get the message
-----------------------------------------------------------------------
* installing *source* package ‘rPython’ ...
could not locate python-config
ERROR: configuration failed for package ‘rPython’
* removing ‘/home/armel/R/x86_64-pc-linux-gnu-library/2.14/rPython’
The downloaded packages are in
2011 Sep 02
1
Mann Kendall Test for Trend
Hi there,
I'm trying to apply the Mann Kendall test for trend analysis of a time
series. I have downloaded and installed the package Kendall and
subsequently loaded it into the software.
My time series is a .txt file with 2 columns - column 1 is the year (1985 -
2009) and column 2 is the corresponding entry variable.
According to the R guidelines, the call should be:
MannKendall(x)
2009 May 13
0
Mann-Kendall test
Dear useRs,
I've been trying to run a Mann-Kendall test in my data in order to detect trends.
I studied the examples given at the Kendall package and I can understand pretty well how it works on time-series data.
However, my data consists of values in different sites per year, as I display below;
Year 1 | Year 2 | Year 3 | ...
Site 1 x x x ...
2009 Oct 20
1
kendall.global
Hi every body:
I need some help with kendall.global. The example in the manual seems not working well, and cannot used with my data, always the same error.
data(mite)
> mite.hel <- decostand(mite, "hel")
>
> # Reproduce the results shown in Table 2 of Legendre (2005), a single group
> mite.small <- mite.hel[c(4,9,14,22,31,34,45,53,61,69),c(13:15,23)]
>
2004 May 13
1
Bootstrapping kendall cor
Dear R-helpers,
I'm fighting with the following problem :
I want to do bootstrapping on a Kendall correlation with the following code
:
> cor.function <- function(data,i) cor(data[i, 1], data[i,
2],method="kendall")
> boot.ci <- boot.ci(boot.cor <- boot(cbind(x,y),cor.function,
R=1000),conf=c(0.95,0.99))
However, I've got problems because I've got ties
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
2007 Sep 06
3
kendall test
Hello,
I thougth that there is a function which does the kendall test in R,
I writed on the console apropos("kendall") and I didn't found anything can you tell me how could I do to use the kendall test?
Thanks.
_____________________________________________________________________________
l
[[alternative HTML version deleted]]
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",
2012 Aug 20
1
Kendall package tau-a, b, and c
Hi all,
I would like to ask a question related to Kendall package. I ran Kendall
(x,y) and
saw the results. But I am not sure which tau values R reported. I have
ties in
my data set, so I want tau-b. Can anybody tell how Kendall package is
calculating tau values? I have looked at the package PDF, but I could
not find
any useful information. As long as I see from the following
link, there
2011 Mar 21
1
Kendall v MannKendall Functions
Hi,
I am running a correlation analysis on a temporal dataset. I was wondering
if you would receive the same tau and p values running the function:
MannKendall(x), where x is the dependant variable that changes with time
as you would running:
Kendall(d,x), where x is the exact same dataset as the x entered into
MannKendall and d is the date on which the observation was made (assuming
that
2012 Apr 17
2
Installing Kendall Package
I know this is a dumb question but I'm pulling out what little hair I have
left. I download the package and got the following:
trying URL '
http://ftp.ussg.iu.edu/CRAN/bin/windows/contrib/2.14/Kendall_2.2.zip'
Content type 'application/zip' length 52732 bytes (51 Kb)
opened URL
downloaded 51 Kb
package ‘Kendall’ successfully unpacked and MD5 sums checked
The downloaded
2023 Dec 01
2
Mann Kendall mutation package?
Hello - does anyone know whether there are any packages for Mann-Kendall
mutation tests in R available? The only one I could find online is this
MK_mut_test: Mann-Kendall mutation test in Sibada/sibadaR: Sibada's
accumulated R scripts for next probably use to avoid reinventing the wheel.
(rdrr.io) <https://rdrr.io/github/Sibada/sibadaR/man/MK_mut_test.html> but
there doesn't seem to
2011 Mar 09
1
Theil Kendall line as fit?
I found some code to compute a Kendall-Theil slope estimate and want to add
it to a scatter plot. Is there a way to make it appear like a regression fit
instead of a line that extends from the edges of the plot? I would like to
have the OLS appear as a dotted line and the KT a solid line but as it is
the KT line is longer.
--
View this message in context:
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
2004 Mar 03
1
cor(..., method="spearman") or cor(..., method="kendall") (PR#6641)
Dear R maintainers,
R is great. Now that I have that out of the way, I believe I have
encountered a bug, or at least an inconsistency, in how Spearman and
Kendall rank correlations are handled. Specifically, cor() and
cor.test() do not produce the same answer when the data contain NAs.
cor() treats the NAs as data, while cor.test() eliminates them. The
option
use="complete.obs" has