search for: exact

Displaying 20 results from an estimated 51186 matches for "exact".

2012 Sep 28
2
Converting array to matrix
...nd n=20(columns) with the coverage values . The code before the array is: library(binom) Loading required package: lattice pi.seq<-seq(from = 0.01, to = 0.5, by = 0.01) no.seq<-seq(from = 5, to = 100, by = 5) cp.all = binom.coverage( p = pi.seq, n = no.seq , conf.level = 0.95, method = "exact") I basically want to plot this probability with filled. contour.   Many thanks. method    p   n  coverage 1     exact 0.01   5 0.9990199 2     exact 0.01  10 0.9957338 3     exact 0.01  15 0.9903702 4     exact 0.01  20 0.9831407 5     exact 0.01  25 0.9980493 6     exact 0.01  30 0.996682...
2008 Jan 04
2
Plot only a subset of all factors in dataframe
Hi all, I have a dataframe called 'table' in which both factors and numerical values are stored. > dim(table) [1] 990 6 The fist 10 lines of table, to get an idea: > table[1:10,] QueryNo Query type Ret Prec Rec 1 1 Sports exact 1 1 0.01 2 5 Office exact 0 NaN 0.00 3 6 Meeting exact 0 NaN 0.00 4 7 Studio exact 0 NaN 0.00 5 9 Building exact 0 NaN 0.00 6 10 Desert exact 1 1 0.01 7 12 Mountain exact 0 NaN 0.00 8 13 Road exact 0 NaN 0.00 9...
2004 Apr 17
1
Bug in "force group" parameter, or group membership checking?
Hello, I have the following situation: Samba with ldap passdb backend. In my setup I have a group called exact: ------------ dn: cn=exact,ou=Groups,dc=ahm,dc=nl objectClass: posixGroup,sambaGroupMapping cn: exact gidNumber: 1000 sambaSID: S-1-5-21-4269728302-1655870493-3894479995-3001 sambaGroupType: 4 memberUid: gerrit,piet,hornie ------------ maps to the unix group exact: exact (S-1-5-21-4269728302-165587...
2007 Aug 23
1
in cor.test, difference between exact=FALSE and exact=NULL
Pardon my ignorance, but is there a difference in cor.test between exact=FALSE and exact=NULL when method=spearman? Take for example: x<-c(1,2,2,3,4,5) y<-c(1,2,2,10,11,12) cor.test(x,y, method="spearman", exact=NULL) This gives an error message, Warning message: Cannot compute exact p-values with ties in: cor.test.default(x, y, method = "spearm...
2005 Mar 13
1
pop before smtp with 'exact' and 'exim4'
..."works". I recently wanted to be able to send via my server after pop3s authentication. I'm also running debian (testing) which utilises exim4 by default. I found no information about how to do it with this combination of software so went about sorting it out myself. First I got exact : (a pop before smtp daemon) http://adju.st/dist/exact/ After compiling and installing i edited its /usr/local/etc/exact-servers.conf It doesn't support dovecot's log format out of the box, so i created a regular expression entry for it. <server dovecot> order username,addres...
2009 Nov 30
1
cor.test(method = spearman, exact = TRUE) not exact (PR#14095)
Full_Name: David Simcha Version: 2.10 OS: Windows XP Home Submission from: (NULL) (173.3.208.5) > a <- c(1:10) > b <- c(1:10) > cor.test(a, b, method = "spearman", alternative = "greater", exact = TRUE) Spearman's rank correlation rho data: a and b S = 0, p-value < 2.2e-16 alternative hypothesis: true rho is greater than 0 sample estimates: rho 1 > 1 / factorial(10) [1] 2.755732e-07 Since we have perfect rank correlation and only one permutation out of 10! coul...
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)...
2011 Apr 28
5
fisher exact for > 2x2 table
I'm using fisher.exact on a 4x2 table and it seems to work. Does anyone know exactly what is going on? I thought fisher.exact is only for 2x2 tables. Note: I can't use chi-squared because I have a couple of cells with 0 and < 5 observations. -- View this message in context: http://r.789695.n4.nabble.com/fis...
2007 May 17
3
RFC: adding an 'exact' argument to [[
...ching of names in lists. Robert and I have discussed this and we believe that having a mechanism that does not do partial matching would be of significant benefit to R programmers. To that end, I have written a patch that modifies the behavior of "[[" as follows: 1. [[ gains an 'exact' argument with default value NA 2. Behavior of 'exact' argument: exact=NA partial matching is performed as usual, however, a warning will be issued when a partial match occurs. This is the default. exact=TRUE no partial matching...
2005 Sep 13
1
Fisher's exact test vs Chi-square
Timothy, I believe you are mistaken. Fisher's exact test give the correct answer even in the face of small expected values for the cell counts. Pearson's Chi-square approximates Fisher's exact test and can give the wrong answer when expected cell counts are low. Chi-square was developed because it is computationally "simple". Fishe...
2003 Apr 22
4
fisher exact vs. simulated chi-square
Dear All, I have a problem understanding the difference between the outcome of a fisher exact test and a chi-square test (with simulated p.value). For some sample data (see below), fisher reports p=.02337. The normal chi-square test complains about "approximation may be incorrect", because there is a column with cells with very small values. I therefore tried the chi-square with...
2009 Dec 17
4
Fishers exact test at < 2.2e-16
In an effort to select the most appropriate number of clusters in a mixture analysis I am comparing the expected and actual membership of individuals in various clusters using the Fisher?s exact test. I aim for the model with the lowest possible p-value, but I frequently get p-values below 2.2e-16 and therefore does not get exact p-values with standard Fisher?s exact tests in R. Does anybody know if there is a version of Fisher?s exact test in any package which can handle lower probabilit...
2006 Oct 05
1
The W statistic in wilcox.exact
Does anyone know why wilcox.exact gives W-statistic 6 instead of 12 as indicated below. 12 is the rank sum of group 0 of x, which is the linear statistic computed by wilcox_test. y<-c(1,2,3,4,5) x<-c(1,1,0,0,0) (a) wilcox.exact wilcox.exact(y~x) Exact Wilcoxon rank sum test data: y by x W = 6, p-value = 0.2 alternative...
2006 Dec 11
1
exact searches
Is there a way to search a ferret index and have it only display exact matches? I read in other posts that you should have an untokenized field for the exact matches, but I also use the same field for doing unexact matches too (with the stemming analyzer). Would I need a copy of this field in the index untokenized to do an exact match or is there any sort of flag or...
2012 Jul 14
2
Help for Fisher's exact test
Hi, R-help, I have a group of data from RNA-seq want to be analyzed by Fisher's exact test in R. I want to compare the significant difference of about 30,0000 individuals in two different samples, and I have no idea how to use R, so could you please give me some suggestions or the scripts for Fisher's exact test? Thank you very much. Best, Guanfeng Wang [[alternative HTML ve...
2005 Apr 05
2
cat bailing out in a for loop
Dear All, I am trying to calculate the Hardy-Weinberg Equilibrium p-value for 42 SNPs. I am using the function HWE.exact from the package "genetics". In order not to do a lot of coding "by hand", I have a for loop that goes through each column (each column is one SNP) and gives me the p.value for HWE.exact. Unfortunately some SNP have reached fixation and HWE.exact requires a 2 alleles scenario....
2010 Feb 05
1
Hodges-Lehmann EXACT confidence interval for small dataset with ties
Dear r-helpers, I have a small dataset (n<50), and I want to compute the Hodges Lehmann exact confidence interval. So far, I know that "pairwiseCI" has the function "HL.diff". The description is as follows : HL.diff calculates the Hodges-Lehmann confidence interval for the difference of locations by calling wilcox.exact in package exactRankTests ; But when I check wil...
2009 Oct 27
1
wilcox.exact() problem
Dear R friends, here I write again about the wilcox.exact() problem. I want to compare two sets of categorical data, and in one case it says "negative length vectors not allowed", and in the other one I get the error "cannot allocate vector of length ...". On http://rapidshare.com/files/298621893/wilcox.exact_trouble.Rdata.html you ca...
2006 May 12
1
wilcox.exact function (PR#8856)
Full_Name: Patrick Hodgson Version: 2.0 OS: solaris 2.9 Submission from: (NULL) (65.94.128.161) The value reported for the parameter W in the function wilcox.exact appears to be incorrect. I have checked the reference in the help file for this function (Myles & Hollander 1973, as well as 2nd ed. 1999 by same authors) and it is clear that W is the sum of the ranks of the data set with the smaller number of members. Here is sample input/output: > x<-...
2008 Jan 16
1
exact method in coxph
...le previous events are still ongoing. I tried the following: cox1 <- coxph( Surv( dur0, dur1, event) ~ strata(eventn) + x) This works fine under the breslow and efron method. However, since I have a fair number of ties, especially of repeated events while previous events are still ongoing, the exact method seems advisable. The help says that the exact method is computationally demanding, but even after days the computing it won't finish. Also, if I include a frailty-term, the exact method gives me results in no time. Is my setup incorrect? Many thanks in advance! ----- Julian Wucherpfe...