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.

Female(0)Male(1)Born Left(1) Right(0) Left(1) Right(0)March-July(1) 51 90 54 88Aug-Feb(0) 72 182 62 173H<strong>and</strong>ednessBorn Left Right TotalMarch-July 105 178 283Aug-Feb 134 355 489239 533 772• Next Calculate OR• OR = 105/178134/355 = 1.56√1• s.e.(log(OR)) =105 + 178 1 + 134 1 + 3551• Gives CI (1.139, 2.159)• There is evidence that there is a increased odds <strong>of</strong> being bornLeft-h<strong>and</strong>ed in March-July than if born in Aug-Feb• It was thought that maybe sex was a confounder so perform aregression to test this theory.logit(p) = β 0 + β 1 sex + β 2 born• where p is the probability <strong>of</strong> being left h<strong>and</strong>ed• sex = 1 if male, 0 if female• born = 1 if born March- July, 0 if Aug-FebLogistic Regression output260

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

Saved successfully!

Ooh no, something went wrong!