Displaying 20 results from an estimated 200 matches similar to: "Problem applying Chi-square in R and Cochran's Recommendations"
2009 Mar 21
5
Fisher test problem
Hi, I noted a discrepancy between R and openepi when I ran a fisher test
with the same matrix. In R:
> a=matrix(c(1,2,6,17), nrow=2)
> a
[,1] [,2]
[1,] 1 6
[2,] 2 17
> fisher.test(a, conf.int=T)
Fisher's Exact Test for Count Data
data: a
p-value = 1
alternative hypothesis: true odds ratio is not equal to 1
95 percent confidence interval:
0.02061498
2009 Mar 21
1
Fisher test accuracy in doubt
Hi, I noted a discrepancy between R and openepi when I ran a fisher test with
the same matrix. In R:
> a=matrix(c(1,2,6,17), nrow=2)
> a
[,1] [,2]
[1,] 1 6
[2,] 2 17
> fisher.test(a, conf.int=T)
Fisher's Exact Test for Count Data
data: a
p-value = 1
alternative hypothesis: true odds ratio is not equal to 1
95 percent confidence interval:
0.02061498
2009 Jun 04
4
Cochran’s Q statistic
Does anyone know which package include the computation of Cochran’s Q
statistic in R?
jlfmssm
[[alternative HTML version deleted]]
2009 Nov 18
1
Cochran's Theorem
I want to understand ANOVA better. But a few textbook that I have do
not describe Cochran's Theorem in details. Could somebody recommend a
book for me?
2006 Sep 18
1
Cochrans Q Test
Hi!
I would like to conduct a Cochran`s Q Test in R, but have not found any
suitable function.
My first idea was: J <- as.table(matrix(c(6,16,2,4),ncol=2, dimnames =
list("C" = c("Favorable","Unfavorable"),"Drug A Favorable"=c("B
Favorable","B Unfavorable"))))
L <- as.table(matrix(c(2,4,6,6),ncol=2, dimnames =
2010 Sep 28
2
cochran Q test
Dear all,
I am trying to look for a built in function that performs the cochran Q
test.
that is, cochranq.test(X)
where X is a contingency table (maybe a matrix or data.frame).
The output will naturally be the test statisitcs, p-value, etc.
A quick search on Google gives me the cochran.test in the 'outlier' package,
but I had a look at the description of the test and it doesn't look
2009 Jun 01
1
using "cochran.test()" as a "mcnemar.test()" ?
Hello all
I wish to perform a mcnemar.test() for a 5X5 matrix.
Wikipedia tells me (http://en.wikipedia.org/wiki/Cochran_test) I should turn
to cochran.test.
The only place I found it was in the "outliers" package, but the command
cochran.test() acts differently then mcnemar.test() , and doesn't take a
table as input.
Any ideas on how to use it ?
#Example code:
aa =
2011 Jul 06
3
Tables and merge
----- Original Message -----
From: "Silvano" <silvano at uel.br>
To: <r-help at r-project.org>
Sent: Thursday, June 30, 2011 9:07 AM
Subject: Tables and merge
> Hi,
>
> I have 21 files which is common variable CODE.
> Each file refers to a question.
>
> I would like to join the 21 files into one, to construct
> tables for each question by CODE.
>
2003 Oct 21
2
report generator a la epiinfo
Hi
I'd like to use R in epidemiology and disease surveillance.
In EpiInfo you can have a script (.pgm) which calls a predefined report
(.rpt), where a table is calculated and values picked from that table
and placed where the author of the report wants them, with text around
those values. (Please see example below.)
I've looked at manuals, faq, mail-search and google. The closest is an
2010 Aug 31
2
R and Epi Info
Hello,
I was wondering who to contact to see about somehow interconnecting or integrating the programs R and Epi Info. I have been involved in the development of Epi Info which is a software program developed by the Centers for Disease Control and Prevention (CDC) in Atlanta (www.cdc.gov/epiinfo<http://www.cdc.gov/epiinfo>). Epi Info allows for creating data entry systems and performs
2007 Nov 05
1
Help with cochran.test
Hi,
I have been trying to use the function cochran.test from the Outliers
package to test for homogeneity of variance. This works well except when
I use transformed data. Would anyone have an idea why it doesn't work
and how I could do the cochran test on transformed data?
Thanks,
Stephanie
>library(outliers)
> set.seed(1234)
> x=rnorm(100)
>
2007 Mar 06
1
Quick question on Cochran-Mantel-Haenszel test
Dear List,
I am looking for what B.S.Everitt refers to as Cochrane Method for testing
independence in combined 2x2 contingency tables. Is it the same method as
the Cochran-Mantel-Haenszel Chi-Squared Test for Count Data in R?
Thanks,
Serguei
[[alternative HTML version deleted]]
2004 Apr 05
1
Cochrane-Orcutt
hi everybody
i'm looking for a function to estimate a regression model via the Cochrane
Orcutt method
thanks
2005 Jul 28
2
Cochran-Armitage-trend-test
Hi!
I am searching for the Cochran-Armitage-trend-test. Is it included in an
R-package?
Thank you!
--
2010 Sep 15
1
cochran-grubbs tests results
Hello,
I'm new in this R world and I don't know much about statistics, but now I
have to analize some data and I've got some first queries yet:
I have 5 sets of area mesures and each set has 5 repetitions.
My first step is to check data looking for outliers. I've used the outliers
package. I have to use the cochran test and the grubbs test in case I find
any outlier. The problem
2009 Dec 08
0
Cochran C Test - Homogeneity of Variances
Hi List.
It may be a very simple question, but I couldn’t find an answer on the
internet. Which function (maybe in a specific package) would I use to
perform a Cochran C Test for Homogeneity of Variances?
Stats package have the mantelhaen.test, but I’m “almost sure” that It’s not
what I want, it’s probably the Cochran Q Test.
So, any ideas?
Thank you for the pacience.
2006 Dec 28
0
Cochran-Armitage statistics
Dear R-enthusiasts,
I am trying to do a Cochran-Armitage test for trend in R. After consulting
google I found Torsten Hothorn's remark that the 'coin' library could be
used.
lungtumor <- data.frame(dose = rep(c(0, 1, 2), c(40, 50, 48)),
tumor = c(rep(c(0, 1), c(38, 2)),
rep(c(0, 1), c(43, 7)),
2017 Dec 22
0
Introducing samplesizeCMH: Power and Sample Size Calculation for the Cochran-Mantel-Haenszel Test
Dear R users,
I am happy to announce the new package `samplesizeCMH` is now available on CRAN <https://cran.r-project.org/package=samplesizeCMH>.
The `samplesizeCMH` package will compute power and sample size for the Cochran-Mantel-Haenszel test for stratified 2x2 tables. There are also several helper functions for working with 2x2 tables, such as converting a proportion into an odds
2017 Dec 22
0
Introducing samplesizeCMH: Power and Sample Size Calculation for the Cochran-Mantel-Haenszel Test
Dear R users,
I am happy to announce the new package `samplesizeCMH` is now available on CRAN <https://cran.r-project.org/package=samplesizeCMH>.
The `samplesizeCMH` package will compute power and sample size for the Cochran-Mantel-Haenszel test for stratified 2x2 tables. There are also several helper functions for working with 2x2 tables, such as converting a proportion into an odds
2008 Jun 17
1
Problems with Cochrane-Orcutt procedures
Hi John,
Hi Folks/Prof. Fox,
I found some code John Fox had written sometime back on the
Cochrane-Orcutt and Prais procedures here:
https://stat.ethz.ch/pipermail/r-help/2002-January/017774.html
I thought I would try it out and get the following errors below. Was
wondering if anyone had any immediate opinions why this might be ?
The linear model is the object regrCMSlm .
Thanks,
Tolga