search for: cochran

Displaying 20 results from an estimated 108 matches for "cochran".

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...
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) >...
2010 Sep 15
1
cochran-grubbs tests results
...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 is that I don't know how to interpret the results. Cochran test finds an outlier among variances. Grubbs test finds an outlier within the set of measures wich corresponds to the variance that is an outlier. I repeat the Cochran te...
2009 Jun 27
4
questions about meta-analysis
Dear R users: In the example of meta-analysis (cochrane, package rmeta), I can not found the p-value of Test for overall effect, and some other indices (Z, I, weight and et al). How can I get the these indices listed? > library(rmeta) > data(cochrane) > cochrane name ev.trt n.trt ev.ctrl n.ctrl 1 Auckland 36 532 60...
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 <- a...
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 = as.table(matrix(c(0,0,0,0,1,0,2,2...
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]]
2012 Sep 18
1
Cochran-Mantel-Haenszel test
...int night 200 51.6 2.0640000 31 wint night 300 411.4 16.4560000 32 wint night 500 1981.2 79.2480000 I wanted to test whether significant differences existed between depth in summer vs. winter, and day vs. night, controlling first for season and then for time of day. I carried out a Cochran-Mantel-Haenszel test, using Average Frequency (Avrg) as the dependent variable (2x2x8 contingency table). > ct<-xtabs(Avrg~Time+Depth+Season,data=HG03.dat) > mantelhaen.test(ct) Cochran-Mantel-Haenszel test data: ct Cochran-Mantel-Haenszel M^2 = 28.4548, df = 7, p-value = 0....
2002 Jan 09
4
Cochrane-Orcutt method
Hello, Is there a package that implements the Cochrane-Orcutt itterative procedure for dealing with autocorrelation in a regression model? Thanks, John. -- ========================================== John Janmaat Department of Economics Acadia University, Wolfville, NS, B0P 1X0 (902)585-1461 All opinions stated are personal, unless otherwise indica...
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
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 &g...
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! --
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?
2010 Dec 29
1
Problem applying Chi-square in R and Cochran's Recommendations
Sir, I have a problem here while applying chisquare test to the following Data ( below the subject of this mail) ...when I wanted to test the significance using three different free statistical packages, here R, EpiInfo and OpenEpi. *Only OpenEpi accepts the test based on Cochran's Recommendations. * R says " chi squared approximation may be incorrect." Does it mean the same as what EpInfo saying " Chi square is not valid" Regards, Dr. B. Manoj Aravind. *Table for analysis* Number of STDs Identified Type of Health...
2009 Feb 09
2
R equivalent of SAS Cochran-Mantel-Haenszel tests?
...actors in a 3-way table). e.g. I'd like to reproduce: *-- CMH tests; proc freq data=sexfun order=data; weight count; tables husband * wife / cmh chisq nocol norow; run; The FREQ Procedure Summary Statistics for Husband by Wife Cochran-Mantel-Haenszel Statistics (Based on Table Scores) Statistic Alternative Hypothesis DF Value Prob 1 Nonzero Correlation 1 10.0142 0.0016 2 Row Mean Scores Differ 3 12.5681 0.0057 3 General A...
2007 Nov 01
1
Help me in Cochran armitage trend test Coding
Dear sir, I am Shibu John from Thrombosis Research Institute India. It is a multidisciplinary organisation concerned with the interrelated problems of thrombosis and atherosclerosis. I was searching for Cochran armitage trend test program in R. Then I had seen your R coding for C-A trend test. I tried that in the R software. But I can?t run the program due the [Error: could not find function "independence_test"]. Where is the declaration of this function? I was trying the trend test for Genoty...
2011 Apr 23
2
[LLVMdev] copy instructions
...ding, the alloca memory routines are used for forcing variables to be allocated on the stack frame -- which you would want for source level debugging. When SSA registers are used, LLVM will decide what goes into registers and what will spill over to the stack frame. I want the latter. --w Wayne O. Cochran Assistant Professor Computer Science wcochran at vancouver.wsu.edu -----Original Message----- From: Eli Friedman [mailto:eli.friedman at gmail.com] Sent: Fri 4/22/2011 5:53 PM To: Cochran, Wayne Owen Cc: llvmdev at cs.uiuc.edu Subject: Re: [LLVMdev] copy instructions On Fri, Apr 22, 2011 at 10...
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)), re...
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. ------------------------------------------------------------- MSc. <mailto:r.aluizio...