Displaying 20 results from an estimated 2000 matches similar to: "Choosing statistical test - Fisher's Exact Test?"
2010 Dec 28
1
Problem applying McNemar's - Different values in SPSS and R
Hi friends,
I get different values for McNemar's test in R and SPSS. Which one should i
rely on when the p values differ.
I came across this problem when i started learning R and seriously give up
on SPSS or any other proprietary software.
Thank u in advance
Output in SPSS follows
*Crosstab*
hsc
Total
ABN
NE
ABN
tvs
ABN
Count
40
3
43
Row %
93.0%
7.0%
2011 Apr 20
1
possible minor bug in fisher.test
Hi,
I received a bug report for my exact2x2 package that seems to apply to fisher.test in the stats package also.
Here is some code which creates the error:
>x<-factor(c(0,1,1),levels=c(0,1))
> y<-factor(c(1,1,1),levels=c(0,1))
> fisher.test(x,y)
Error in fisher.test(x, y) : 'x' and 'y' must have at least 2 levels
>
The help says that x and y could be
2010 Jan 28
0
Update to exact2x2 package: Exact McNemar's test
Hi all,
I have updated the exact2x2 package which calculates exact conditional tests and the matching confidence intervals for 2x2 tables. The big change in the update is to allow the option paired=TRUE which gives an exact McNemar's test together with odds ratio estimates and confidence intervals. See vignette("exactMcNemar") for details.
The original release is described in the
2010 Jan 28
0
Update to exact2x2 package: Exact McNemar's test
Hi all,
I have updated the exact2x2 package which calculates exact conditional tests and the matching confidence intervals for 2x2 tables. The big change in the update is to allow the option paired=TRUE which gives an exact McNemar's test together with odds ratio estimates and confidence intervals. See vignette("exactMcNemar") for details.
The original release is described in the
2011 Apr 13
1
Previously attainable fisher's exact test
I have a matrix say,
1 4
23 30
and I want to find the previously attainable fisher's exact test p-value. Is
there a way to do this in R?
--
Thanks,
Jim.
[[alternative HTML version deleted]]
2009 Jul 17
2
Fisher's exact test
Hi,
I'm trying to run Fisher's Exact test on the data below, but I'm not
sure how interpret the data shown. Can someone tell me what this is
saying? Looking at the numbers it should be that there's no significant
difference between the HDL and LDL, but a p-value of 1 seems high. Is
the low value in the LDL unbound making the test unstable and should I
be using an alternative?
Best
2006 Jul 11
1
Table of P values for Fisher's exact test
Hi,
I have a table of observed counts for various genetic markers. Instead of
doing Fisher's exact test for each marker one at a time and recording the P
value manually, is there a script to go through the whole list and generate
the P value column automatically?
An example of my data:
Counts_CHB and Counts_AA are the observed counts for one allele.
2N_CHB and 2N_AA are the total number
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". Fisher's exact test,
particularly with tables
2005 Sep 12
0
Multiple comparisons like a Chi2 or Fisher's exact test
Dear all
I have an experiment where plots either have or have not regrown (in 40
plots) after receiving 12 different herbicide treatments and a control (no
treatment). The data are significant with a Chi2, but to later distinguish
if the differences are significant between each of the 12 treatments apart I
need to do multiple Chi2 s between each. Is there a way to run those
multiple Chi2 or
2005 Nov 10
3
Low level algorithm conrol in Fisher's exact test
Hi folks,
Forgive me if this question is a trivial issue.
I was doing a series of Fishers' exact test using the fisher.test
function in stats package.
Since the counts I have were quite large (c(64, 3070, 2868, 4961135)), R
suggested me to use
*other algorithms* for the test which can be specified through the
'control' argument of the
fisher.test function as I understood. But where
2006 Dec 26
3
McNemar test in R & SPSS
Hello,
I am hoping someone can clarify why I might obtain a quite different value
in R & SPSS for a McNemar test I ran.
Firstly, here is the R syntax & output
R OUTPUT
> mctest <- as.table(matrix(c(128,29,331,430),
+ ncol =2, dimnames = list(group=c("preMHT","postMHT"),
+ assault=c("yes","no"))))
> mctest
assault
2009 Nov 02
3
partial matching with grep()
dear all,
This is a probably a silly question.
If I type
> grep("x",c("a.x" ,"b.x","a.xx"),value=TRUE)
[1] "a.x" "b.x" "a.xx"
Instead, I would like to obtain only
"a.x" "b.x"
How is it possible to get this result with grep()?
many thanks for your attention,
best,
vito
--
2008 Jun 30
2
difference between MASS::polr() and Design::lrm()
Dear all,
It appears that MASS::polr() and Design::lrm() return the same point
estimates but different st.errs when fitting proportional odds models,
grade<-c(4,4,2,4,3,2,3,1,3,3,2,2,3,3,2,4,2,4,5,2,1,4,1,2,5,3,4,2,2,1)
score<-c(525,533,545,582,581,576,572,609,559,543,576,525,574,582,574,471,595,
557,557,584,599,517,649,584,463,591,488,563,553,549)
library(MASS)
library(Design)
2009 Jul 19
1
Can I use "mcnemar.test" for 3*3 tables (or is there a bug in the command?)
Hello all,
I wish to perform a mcnemar test for a 3 by 3 matrix.
By running the slandered R command I am getting a result but I am not sure I
am getting the correct one.
Here is an example code:
(tt <- as.table(t(matrix(c(1,4,1 ,
0,5,5,
3,1,5), ncol = 3))))
mcnemar.test(tt, correct=T)
#And I get:
McNemar's Chi-squared
2010 Nov 08
2
Sample size calculation for differences between two very small proportions (Fisher's exact test or others)?
Hi,
I'm try to compute the minimum sample size needed to have at least an 80% of power, with alpha=0.05. The problem is that empirical proportions are really small: 0.00154 in one case and 0.00234. These are the estimated failure proportion of two medical treatments.
Thomas and Conlon (1992) suggested Fisher's exact test and proposed a computational method, which according to their table
2005 Jun 23
1
the dimname of a table
i have a data frame(dat) which has many variables.and i use the following script to get the crosstable.
>danx2<-c("x1.1","x1.2","x1.3","x1.4","x1.5","x2","x4","x5","x6","x7","x8.1","x8.2","x8.3","x8.4","x11",
2007 Jul 11
3
3D plot and interactive PDFs
With version 8 of acrobat reader, it is now possible to have 3D in PDf documents.
Does it exist already an R package who manage to produce 3D plots which can be saved as interactive 3D graphs in a PDF file?
Best Regards
Bruno Cavestro
------------------------------------------------------
Leggi GRATIS le tue mail con il telefonino i-mode? di Wind
http://i-mode.wind.it/
2011 Apr 08
4
Fast version of Fisher's Exact Test
Is anyone aware of a fast way of doing fisher's exact test for a series of 2
x 2 tables in R? The fisher.test is really slow if n1=1000 and n2 = 1000.
--
Thanks,
Jim.
[[alternative HTML version deleted]]
2015 Jan 29
3
pregunta
Estimados
Para analizar tres muestras cualitativas independientes se utiliza Cochran-Mantel-Haenszel test
?Cual script es el adecuado para analizar tres variables dependientes? en MCNEMAR solo se permite analizar dos variables cualitaticvas dependientes
saludos
José
[[alternative HTML version deleted]]
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 version