12.01.2015 Views

Logistisk regression

Logistisk regression

Logistisk regression

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

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

Kvantificering af alderseffekten<br />

OR incl konfidensintervaller<br />

> glm3 summary(glm3)<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 />

Deviance Residuals:<br />

Min 1Q Median 3Q Max<br />

-0.8129 -0.6704 -0.6103 -0.5536 1.9756<br />

Coefficients:<br />

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

(Intercept) -0.9378 0.1230 -7.625 2.43e-14 ***<br />

ageGrpNy1 -0.8605 0.1949 -4.415 1.01e-05 ***<br />

ageGrpNy2 -0.6484 0.1867 -3.472 0.000516 ***<br />

ageGrpNy3 -0.4407 0.1862 -2.366 0.017981 *<br />

--<br />

(Dispersion parameter for binomial family taken to be 1)<br />

Null deviance: 1351.2 on 1362 degrees of freedom<br />

Residual deviance: 1328.7 on 1359 degrees of freedom<br />

AIC: 1336.7<br />

Number of Fisher Scoring iterations: 4<br />

> round( cbind( exp(glm3$coef[-1]), exp(confint(glm3))[-1,] ),2 )<br />

Waiting for profiling to be done...<br />

2.5 % 97.5 %<br />

ageGrpNy1 0.42 0.29 0.62<br />

ageGrpNy2 0.52 0.36 0.75<br />

ageGrpNy3 0.64 0.45 0.93<br />

><br />

27 / 42

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

Saved successfully!

Ooh no, something went wrong!