Displaying 20 results from an estimated 8000 matches similar to: "new package: interval"
2010 Feb 04
0
Update of interval package
Hi all,
I have uploaded an update of the interval package, which calculates nonparametric maximum likelihood estimates (NPMLE) of distributions and exact or asymptotic weighted logrank-type tests for interval censored data. An important part of the update is that now the default initial estimate of the NPMLE uses the MLEcens package and is much faster. This increases the speed of the logrank-type
2010 Feb 04
0
Update of interval package
Hi all,
I have uploaded an update of the interval package, which calculates nonparametric maximum likelihood estimates (NPMLE) of distributions and exact or asymptotic weighted logrank-type tests for interval censored data. An important part of the update is that now the default initial estimate of the NPMLE uses the MLEcens package and is much faster. This increases the speed of the logrank-type
2012 Jul 12
1
permutation test on paired samples
Hi,
I'm trying to run a permutation test on paired samples.
First I tried the package "exactRankTests":
require("exactRankTests")
x <- c(1.83,0.50,1.62,2.48,1.68,1.88,1.55,3.06,1.30)
y <- c(0.878,0.647,0.598,2.05,1.06,1.29,1.06,3.14,1.29)
wilcox.test(x,y,paired = TRUE,alternative = "greater")
perm.test(y,x,paired = TRUE,exact = TRUE,alternative =
2013 Jun 05
0
[R-pkgs] bpcp package for pointwise confidence intervals for a survival distribution
Hi all,
I just uploaded a new version of the bpcp package. It calculates confidence intervals for a survival distribution for right-censored data using the newly developed beta product confidence procedure. Previously developed methods can have substantial error rate inflation for the lower limit, especially at the right end of the curves when there are small numbers of events. The bpcp method
2005 Jun 03
0
New CRAN package `coin'
Conditional Inference Procedures in a Permutation Test Framework
The `coin' package implements a general framework for conditional
inference procedures, commonly known as permutation tests,
theoretically derived by Strasser & Weber (1999). The conditional
expectation and covariance for a broad class of multivariate linear
statistics as well as the corresponding multivariate limiting
2005 Jun 03
0
New CRAN package `coin'
Conditional Inference Procedures in a Permutation Test Framework
The `coin' package implements a general framework for conditional
inference procedures, commonly known as permutation tests,
theoretically derived by Strasser & Weber (1999). The conditional
expectation and covariance for a broad class of multivariate linear
statistics as well as the corresponding multivariate limiting
2010 Feb 08
1
Wilcoxon signed-ranks test using package coin ?
Given the following data, and hypothesized median M.0 I've found a
method to implement the Wilcoxon signed-rank test.
Data: (with one zero difference and tied ranks)
x <- c(136, 103, 91, 122, 96, 145, 140, 138, 126, 120, 99, 125,
91,142, 119, 137)
M.0 <- 119
> library(exactRankTests)
Package ?exactRankTests? is no longer under development.
Please consider using package ?coin?
2006 Aug 25
1
exact Wilcoxon signed rank test with ties and the "no longer under development" exactRanksumTests package
Dear List,
after updating the exactRanksumTests package I receive a warning that
the package is not developed any further and that one should consider
the coin package.
I don't find the signed rank test in the coin package, only the Wilcoxon
Mann Whitney U-Test. I only found a signed rank test in the stats
package (wilcox.test) which is able to calculate the exact pvalues but
unfortunately
2005 Aug 28
2
stratified Wilcoxon available?
Dear All,
is there a stratified version of the Wilcoxon test (also known as van
Elteren test) available in R?
I could find it in the survdiff function of the survival package for
censored data. I think, it should be possible to use this function creating
a dummy censoring indicator and setting it to not censored, but may be
there is a better way to perform the test.
Thanks,
Heinz T??chler
2007 Jul 12
1
Subsetting problem
I need to perform the Exact Wilcoxon Mann-Whitney on a subset of my database.
Assuming that IPPO is my data frame and IPPOBIS is the subset my variable still
have 3 different levels and the function wilcox_test (package "coin")
does not accept it.
I do not know how to overcome this problem.
ippo <- c(rep("A",10),rep("B",10),rep("C",10))
ippo2 <-
2008 Jan 16
0
Exact wilcoxon may differ in R and SPSS/StatXact (due to round off in the latter pair)
Dear R-users,
If you use the exact Wilcoxon test in the coin package, I would like
make you aware of that SPSS/StatXact MAY perform a round-off before
doing their exact Wilcoxon-Mann-Whitney test (if you ever are unlucky
enough not to use R).
I have data from two treatments and was surprised to find that SPSS (15
under Windows) and R differed in their p-values (0.167 resp. 0.172). It
turns out
2011 Apr 12
2
The three routines in R that calculate the wilcoxon signed-rank test give different p-values.......which is correct?
I have a question concerning the Wilcoxon signed-rank test, and
specifically, which R subroutine I should use for my particular dataset.
There are three different commands in R (that I'm aware of) that calculate
the Wilcoxon signed-rank test; wilcox.test, wilcox.exact, and
wilcoxsign_test. When I run the three commands on the same dataset, I get
different p-values. I'm hoping that
2010 May 30
2
Question about package coin
Anyone know if coin can run a permutation test based on a (user-defined) statistic other than the mean difference? The function independence_test does the permutation t-test via difference in means. I'm wondering if it's possible to use independence_test to run a permutation test for some other statistic than the difference in means. For example, I'd like to run a permutation test
2011 Oct 31
2
one sample Wilcoxon test using 'coin'
Hi,
R allows me to run a one sample Wilcoxon test like this:
wilcox.test(c(1,3.5,2.1,4,1.5,5), mu=2, exact=TRUE)
The function 'wilcoxsign_test' from the package 'coin' should (I
suppose) be able to calculate exact p values even if there are ties in
the ranks. However, I couldn't find information on how to run a one
sample test using 'wilcoxsign_test' like in the
2006 Sep 29
1
Wilcoxon Rank test of Package Coin
Hi,
I am running the following example which can be found on page 12 of the pdf file of COIN package
wt<-wilcox_test(pd~age,data=water_transfer,distribution="exact", conf.int=TRUE)
"wt" actually contains the estimate of difference in location and the confidence interval of it. I am just wondering how can I extract these values? From the examples, I understand that the
2010 Apr 26
0
Permutation tests using apply function with package coin
I am using "apply" to run exact permutation t-tests by columns
using the coin package. For example:
library(coin)
dat <- matrix(rnorm(7*35),7,35)
fun <- function(x) {
pvalue( independence_test(x~f,
data=data.frame(x, f=factor(c(rep("a",4),rep("b",3)))),
distribution = "exact"))
}
p.vals <- apply(dat, 2, fun)
Some small-scale
2010 Jan 26
1
poisson.test from stats package does not pass the conf.level (PR#14195)
Hi,
The poisson.test function from stats package does not pass the conf.level p=
arameter for the two-sample test. Here is an example:
poisson.test(c(2,4),c(20,14),conf.level=3D.95)$conf.int
poisson.test(c(2,4),c(20,14),conf.level=3D.9)$conf.int
Here is the solution, change:
RVAL <- binom.test(x, sum(x), r * T[1]/(r * T[1] + T[2]),
alternative =3D alternative)
to:
2005 Dec 20
1
Wilcoxon Mann-Whitney Rank Sum Test in R
An earlier post had posed the question: "Does anybody know what is relation
between 'T' value calculated by 'wilcox_test' function (coin package) and
more common 'W' value?"
I found the question interesting and ran the commands in R and SPSS. The W
reported by R did not seem to correspond to either Mann-Whitney U,
Wilcoxon W or the Z which I have more
2008 Feb 28
0
surv2sample 0.1-2
Dear useRs,
There is a new version 0.1-2 of the package surv2sample available on CRAN.
Users of the previous versions should update because a bug in the function
cif2.ks has been fixed.
General information about the package:
surv2sample provides various two-sample tests for right-censored survival
data. Three main areas and corresponding methods are:
* comparison of two survival
2008 Feb 28
0
surv2sample 0.1-2
Dear useRs,
There is a new version 0.1-2 of the package surv2sample available on CRAN.
Users of the previous versions should update because a bug in the function
cif2.ks has been fixed.
General information about the package:
surv2sample provides various two-sample tests for right-censored survival
data. Three main areas and corresponding methods are:
* comparison of two survival