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 />

Estimation af simpel logistisk <strong>regression</strong> med køn<br />

Data er:<br />

Y = 0 (ej CHD) Y = 1 (CHD)<br />

Z = 0 (kvinder) 616 104<br />

Z = 1 (mænd) 479 164<br />

1095 264<br />

Vi kan selv trylle estimater for <strong>regression</strong>sparametrene frem:<br />

OR =<br />

( )<br />

164 · 616<br />

164 · 616<br />

104 · 479 = 2.03, b = ln(OR) = ln 104 · 479<br />

( ) 104<br />

a = ln(odds for kvinder) = ln = −1.78<br />

616<br />

Men hvad med usikkerheden<br />

= 0.71<br />

15 / 42

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

Saved successfully!

Ooh no, something went wrong!