FAQ/oddsr - CBU statistics Wiki

Upload page content

You can upload content for the page named below. If you change the page name, you can also upload content for another page. If the page name is empty, we derive the page name from the file name.

File to load page content from
Page name
Comment
Type the odd letters out: ONlY twO thinGs aRE infiNite

location: FAQ / oddsr

Testing an odds ratio

Suppose we have a 2 x 2 table of frequencies

Col 1

Col 2

Row 1

a

b

Row 2

c

d

The Odds Ratio is defined as ad/bc

It turns out that

Variance{ln(OR)} = (1/a) + (1/b) + (1/c) + (1/d)

so it follows

ln(OR)*ln(OR) / variance ( ln(OR) )

is chi-square on 1 degree of freedom.

If you have a zero cell then adding one half to all the frequencies enables an estimate of the odds ratio to be made.

An odds ratio test is carried out by this spreadsheet. Bonett and Price Jnr (2015) report on an inproved form of standard error for the Odds Ratio.

References

Agresti A (1996) An Introduction to Categorical Data Analysis. Wiley:New York.

Bonett DG and Price Jr RM (2015) Varying coefficient meta-analysis methods for odds ratios and risk ratios. Psychological Methods 20(3) 394-406.

Everitt BS (1996) Making Sense of Statistics in Psychology A Second Level Course. OUP:Oxford.

Hosmer DW and Lemeshow S (1995) Applied Logistic Regression. 2nd Edition. Wiley:New York. In CBSU library. A 3rd edition is due to be published in 2013.