Skip to content

Efficient ways of finding functions and Breslow-Day test for homogeneity of the odds ratio

6 messages · MJ Price, Social Medicine, Tim Churches, Thomas Lumley +1 more

#
Dear all,

I have been trying to find a function to calculate the Breslow-Day test for 
homogeneity of the odds ratio in R. I know the test can be preformed in SAS 
but i was wondering if anyone could help me to perform this in r.

In addition i have the fullrefman file to search for functions in the basic 
R packages, does anyone have any suggestions of an efficient way of 
searching for functions in the other add-on packages on the website?

Thanks in advance

Malcolm
#
MJ Price, Social Medicine wrote:
I don't recall seeing the Breslow-Day test anywhere in an R package, but
the VCD package (available via CRAN) has a function called woolf_test()
to calculate Woolf's test for homogeneity of ORs.

Tim C
#
On Tue, 2005-10-18 at 14:27 +0100, MJ Price, Social Medicine wrote:
RSiteSearch("Breslow"), which will perform a search of the e-mail list
archives and other online documentation, reveals this post:

http://finzi.psych.upenn.edu/R/Rhelp02a/archive/50202.html

which in turn leads to this code:

http://www.math.montana.edu/~jimrc/classes/stat524/Rcode/breslowday.test.r


There is also code for the Woolf test in ?mantelhaen.test

Further searches can be conducted using help.search("Keyword"), which
will search your installed set of packages.

See ?help.search and ?RSiteSearch for more help on these.

HTH,

Marc Schwartz
#
On Wed, 19 Oct 2005, Tim Churches wrote:

            
Both the (almost identical) meta-analysis packages also compute Woolf's test.

 	-thomas
#
Marc Schwartz (via MN) wrote:

            
Is there? How is it obtained? The documentation on mantelhaen.test in R
2.2.0 contains a note: "Currently, no inference on homogeneity of the
odds ratios is performed." and a quick scan of the source code for the
function didn't reveal any meantion of Woolf's test.

Tim C
#
On Wed, 2005-10-19 at 06:47 +1000, Tim Churches wrote:
Review the code in the examples on the cited help page...

:-)

HTH,

Marc