Re: [R] compare odds ratios

From: array chip <arrayprofile_at_yahoo.com>
Date: Wed 28 Jun 2006 - 04:22:14 EST


Hi dear all, I haven't heard any suggestions on how to tackle the problem in my previous email yet. I searched on google and was not getting any useful information yet. I did get someone from google groups suggesting Cockran Mantel Haenszel test with each subject as the stratum. But as far as I understand, CMH test is to test whether the common odds ratio (assuming odds ratios across stratum are equal) is equal to 1, not really the question I was asking which was whether the 2 odds ratios were equal (doesn't matter if they are equal to 1). Also, someone suggested loglinear regression, but I am not sure either how to set things up for my problem.

One clarification to my original email: the 2 diagnostic tests were performed on the set set of patients, the issue here how to test whether the 2 odds ratios for the 2 diagnostic tests are equal.

Here is a hypothetical dataset, for example:

dat<-cbind(disease=sample(c(rep(1,15),rep(0,20))),test1=sample(c(rep(1,11),rep(0,24))),test2=sample(c(rep(1,14),rep(0,21))))

Hope some statistical experts would guide me some directions. Many thanks

> Hi there, is there any way to compare 2 odds ratios?
> I
> have two tests that are supposed to detect a disease
> presence. So for each test, I can compute an odds
> ratio. My problem is how can I compare the 2 tests
> by
> testing whether the 2 odds ratios are the same?
>
> Appreciate
>
> ______________________________________________
> R-help@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide!
> http://www.R-project.org/posting-guide.html
>



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Wed Jun 28 04:27:13 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Wed 28 Jun 2006 - 06:12:40 EST.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.