12.07.2015 Views

Course Notes - Department of Mathematics and Statistics

Course Notes - Department of Mathematics and Statistics

Course Notes - Department of Mathematics and Statistics

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

So the confidence interval is given as√p1 (1 − p 1 )p 1 − p 2 ± 1.96 ×+ p 2(1 − p 2 )n 1 n√ 20.1010(0.8990) 0.00956(1 − 0.9904)0.1010 − 0.0096 ± 1.96 ×+226723020.09145 ± 1.96 × 0.006650.09145 ± 0.0130.078 < AR < 0.104• So between 78 <strong>and</strong> 104 in every 1000 people have increased occurrence<strong>of</strong> gastrointestinal irritation as a result <strong>of</strong> aspirinConfidence interval for odds ratio• OR is not really nicely distributed.• It turns out that the sampling distribution for ln(OR) is approximatelynormal with std errors.e.(ln(OR)) =√1w+ 1 x + 1 y + 1 z• So we can rescale our OR to calculate the 95% confidence intervalwith the formulaln(OR) ± 1.96 × s.e.(ln(OR))149

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!