[R] Breslow-Day test
Marc Schwartz
marc_schwartz at me.com
Tue Nov 16 16:50:27 CET 2010
On Nov 16, 2010, at 9:18 AM, David Winsemius wrote:
>
> On Nov 16, 2010, at 10:08 AM, Robert Ruser wrote:
>
>> Dear R Users,
>> I'm looking for a package that allows to test hypothesis about a
>> homogeneity of odds ratio in k 2x2 tables. I know that Breslow-Day is
>> suitable but does anybody could me point out a package? I found diffR,
>> but as far as I see this package is for IRT theory.
>
> Try searching:
> http://search.r-project.org/cgi-bin/namazu.cgi?query=&max=100&result=normal&sort=score&idxname=Rhelp10&idxname=Rhelp08&idxname=Rhelp02&idxname=functions
>
> At least two of the links point to this:
>
> http://www.math.montana.edu/~jimrc/classes/stat524/Rcode/breslowday.test.r
You might also want to look at:
http://statweb.calpoly.edu/aschaffn/418/documents/Script8.01.pdf
which has code that includes the Tarone adjustment based upon:
On Heterogeneity Tests Based on Efficient Scores
Tarone RE
Biometrika 72, 91-95. 1985
Supported by Breslow in:
Statistics in Epidemiology: The Case-Control Study
N. E. Breslow
Journal of the American Statistical Association
Vol. 91, No. 433 (Mar., 1996), pp. 14-28
and also look at the code for the woolf() function in ?mantelhaen.test
HTH,
Marc Schwartz
More information about the R-help
mailing list