12.01.2015 Views

Logistisk regression

Logistisk regression

Logistisk regression

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

u n i v e r s i t y o f c o p e n h a g e n<br />

d e p a r t m e n t o f b i o s t a t i s t i c s<br />

Multipel logistisk <strong>regression</strong><br />

Hvordan afhænger risikoen for CHD af køn, alder, rygning og SBP<br />

( ) pi<br />

ln<br />

1 − p i<br />

= a + b 1 mand i + b 2 ryger i + b 3 alder i + b 4 log 2 (SBP i )<br />

Estimation<br />

> glm6 summary(glm6)<br />

Call:<br />

glm(formula = chdI ~ mand + ryger + age + I(log2(sbp)), family =<br />

binomial)<br />

Deviance Residuals:<br />

Min 1Q Median 3Q Max<br />

-1.4921 -0.6893 -0.5332 -0.3615 2.5142<br />

Coefficients:<br />

Estimate Std. Error z value Pr(>|z|)<br />

(Intercept) -19.74839 2.15012 -9.185 < 2e-16 ***<br />

mand 0.86400 0.15487 5.579 2.42e-08 ***<br />

ryger1 0.18504 0.15180 1.219 0.222858<br />

age 0.05376 0.01531 3.511 0.000446 ***<br />

I(log2(sbp)) 2.07204 0.28337 7.312 2.63e-13 ***<br />

><br />

37 / 42

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

Saved successfully!

Ooh no, something went wrong!