similar to: Problem with approximate null distribution (package: coin)

Displaying 20 results from an estimated 100 matches similar to: "Problem with approximate null distribution (package: coin)"

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?
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
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
2013 Sep 23
1
Permutation Test on Interactions {coin}
Dear List, I'm interested in performing a permutation test on the interaction between a binary treatment indicator and a covariate (either continuous or categorical). I'm interested in the p-value of the interaction effect from a permutation test, and I'm using the coin package for that purpose. As I haven't seen any examples like this in the package documentation (or anywhere
2009 Jan 18
0
Singly ordered contingency tables with lbl_test (coin)
Hi all, is it possible to perform a linear-by-linear association test (lbl_test, package coin) for a SINGLY ordered table ? And, if yes, how to manage the "scores" ? Thanks in advance Gilles - France [[alternative HTML version deleted]]
2017 Sep 08
0
one sample permutation test using package 'coin'
Using the package ?exactRankTests? one can execute a one-sample permutation test for a hypothesized location parameter of 0 like: perm.test(rnorm(30,0)) The package ?exactRankTests? seems now to be deprecated in favor of the ?coin? package which as I understand is a superset of ?exactRankTests? in terms of functionality. The ?coin? package allows one to run a two-sample permutation test using
2003 Apr 03
0
New Coin Operated Mobile Phone Charger - Seeking Overseas Distributors
ProductPublic Mobile Phone Multi-charger (With/Without Coin Module) Functions1. Accept coins. 2. Allows conversation while charging. 2. 10 travel charger plugs for most models. 3. Light box advertising. 4. UV phone sanitizing InputAC 110 - 250V 50~60Hz Output< 12 V 1C 5 A x 10 Measurement29 cm x 20 cm x 51.6 cm Net Weight5 kg Contacthttp://www.YukiCharger.com sales@YukiCharger.com
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
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
2008 Jul 20
0
coin package (conditional inference / permutation): parameter teststat
Dear R-list members, This is in fact a question about statistics, not directly about the R software. The coin package, for conditional inference through permutation methods, has as it main function the function independence_test. One of its parameters is teststat, about which the package documentation says: teststat: "a character, the type of test statistic to be applied: either a
2010 Oct 13
2
Coin Toss Simulation
I am trying a simple toin coss simulation, of say 200 coin tosses. The idea is to have a data frame like so: Experiment# Number_Of_Heads 1 104 2 96 3 101 So I do: d <-data.frame(exp_num=c(1,2,3)); /* Just 3 experiments to begin with */ d$head_ct <-sum(sample(0:1,200,repl=TRUE)); d; exp_num head_ct 1
2009 May 07
1
error using lapply with oneway_test (coin package)
Dear expeRts, I would like to use a oneway_test (from package coin) to test whether two groups differ on various variables. The variables are encoded within a data frame. Unfortunately, I obtained an error, that I don't understand. Could you please help me ? Example: library(coin) y <- as.data.frame(matrix(rnorm(200), ncol=2)) group <- as.factor(unif(100)) lapply(y,
2012 Oct 09
2
simulating a toss of a coin
All, I've devised a way to toss a coin three times and record the number of heads, then use the table command to summarize the number of time 0, 1, 2, or 3 heads were obtained. n <- 100 x <- sample(c("H","T"),3*n,replace=TRUE) dim(x) <- c(3,n) num_heads <- apply(x,2,function(x) sum(x=="H")) table(num_heads)/n What I'd like to do next is run this
2010 Dec 08
1
Trouble Loading doBy and coin Packages
Good Evening R-Help Community: I have attached a file that contains the output from sessionInfo() and a summary of my Win XP system. I am?running R 2.12.0 and using Tinn-R 2.3.6.2 as my interface. When I attempt to call either the doBy or coin packages R generates an error that I do not understand and have so far not been able to resolve by searching R resources. I exchanged a couple of
2010 Apr 22
2
Jonckheere-Terpstra test using coin package?
Is it possible to implement the Jonckheere-Terpstra test for ordered alternatives using the coin package: Conditional Inference Procedures in a Permutation Test Framework? I found jonckheere.test{clinfun}, but it uses a normal approximation when ties are present in the data. To make this concrete, I've include a small dataset. Thanks. --Dale Hollander and Wolfe, 1999 Table 6.6, pg 205
2009 Oct 25
1
A naive question about permutation tests in the coin package
Dear R helpers, I am trying to understand how to use the independence_test function in the coin package. I think I suffer from a misunderstanding about what the package does. Either that or I do not understand how to use it properly. Specifically, I cannot understand if I can test independence of arbitrary statistics. Take the following example: set.seed(10) d <- data.frame(y = c(rnorm(10,
2010 Apr 26
1
Just about "approximate F-test"
Hi, Dear R community, These is a paper of "Wheat Grain Yield Response to N Application Evaluated through Canopy Reflectance". This paper of "Materials and Methods" said "A single regression equation relating A and B was derived for each location using PROC NLIN (SAS Inst. 1990). Slopes and intercepts for the independent regressions were compared with an *approximate
2013 Sep 12
1
Getting "Approximate Estimates after Deleting Factors" out from fastbw()
Hello! I am using relatively simple linear model. By applying fastbw() on ols() results from rms package I would like to get subtable "Approximate Estimates after Deleting Factors". However, it seems this is not possible. Am I right? I can only get coefficients for variables kept in the model (for example: x$coefficients), but not S.E., Wald's Z and P? Is there any easy way to
2016 Apr 27
1
Approximate taylor series
Hi All, Say I have the values of function f(x1,x2,x3,x4) for each values of x1,x2,x3,x4 but not complete. But the functional form is not known. Techniques like regression, etc. are not able to give me satisfactory results and msy be more complex than we thought. I wanted to use Taylor's approximation to continuous function, to approximate a functional form using the given data. But failed