6. Logistic regression examples

6. Logistic regression examples -...

Info iconThis preview shows pages 1–6. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: !"#$%&$($ *+,-./"(&0 !"#1.%23 444 562"78 9:++ ;7"<.2$"%3 #= >&$?"78%#7 !&2@&2& -(A7"8?%B C?DED !4F5G *+, 562"78 9:++ !D -(A7"8?% HFI45G4J KLIKL554FM LNO-CHL5 F;GH4ML O/PQ$%1.7% &7/ 47%.2&(#7 RLS.(% -#/"T(&#7U GV# 9W9 %&@0.$ J#77Q#Q$ H"7.&2 &/PQ$%1.7% GV# *W9 %&@0.$ 9*+ !4F5G *+, 562"78 9:++ !D -(A7"8?% JFMXF;MELK OEY;5G-LMG O$ "7 0"7.&2 2.82.$$"#7B 0#8"$( 2.82.$$"#7 1#/.0$ (&7 @. Q$./ %# &/PQ$% =#2 (#7=#Q7/"78 <&2"&@0.$D J&7 6.2=#21 .$$.7&003 %?. $&1. &7&03$"$ &$ & -Z &7&03$"$B &/PQ$78 =#2 (&%.8#2"(&0 <&2"&@0.$B V"%? 0#8"$( 2.82.$$"#7 J&7 &/PQ$% =#2 (#77Q#Q$ <&2"&@0.$ &$ V.00 !4F5G *+, 562"78 9:++ !D -(A7"8?% 9*9 4MGLKOJG4FM [ \LXXLJG -FE4X4JOG4FM] J&7 &0$# .W&1"7. V?.%?.2 %?. FKR$U &$$#("&%./ V"%? %?. <&2"&@0. #= "7%.2.$% /"S.2 @3 %?. <&0Q.$ #= &7#%?.2 <&2"&@0. O$ "7 0"7.&2 2.82.$$"#7B %?"$ "$ /#7. Q$"78 "7%.2&(#7 %.21$ L6"/.1"#0#8"$%$ (&00 %?"$ \.S.(% 1#/"T(&#7] @.(&Q$. %?. \.S.(%] RFKU #= "7%.2.$% "$ \1#/"T./] @3 %?. &//"#7&0 <&2"&@0.D !4F5G *+, 562"78 9:++ !D -(A7"8?% 9*, G>F 9^9 GO!HL5 O/PQ$% &$$#("&#7 #= &2(Q$ $.7"0"$ V"%? JZE =#2 V?.%?.2 &8. "$ 82.&%.2 %?&7 #2 ._Q&0 %# *:D !4F5G *+, 562"78 9:++ !D -(A7"8?% 9* HFI45G4J -FELH !4F5G *+, 562"78 9:++ !D -(A7"8?% 9** X E = 1 Arcus Senilis Otherwise X A = 1 Age 50 Otherwise logit ( p ) = + 1 A + 2 E logit(p) log(OR) OR Arcus Senilis Age Absent Present < 50 50 4M 5GOGO !4F5G *+, 562"78 9:++ !D -(A7"8?% 9*a . logistic chd age50 arcus Logistic regression Number of obs = 3152 LR chi2(2) = 35.62 Prob > chi2 = 0.0000 Log likelihood = -867.79074 Pseudo R2 = 0.0201------------------------------------------------------------------------------ chd | Odds Ratio Std. Err. z P>|z| [95% Conf. Interval]-------------+---------------------------------------------------------------- age50 | 1.922108 .2595629 4.84 0.000 1.475132 2.504521 arcus | 1.471309 .2010979 2.83 0.005 1.125542 1.923294------------------------------------------------------------------------------ . estimates store full . quietly logistic chd age50 if arcus < . . lrtest full Likelihood-ratio test LR chi2(1) = 7.79 (Assumption: . nested in full) Prob > chi2 = 0.0053 C4JG;KL 40 50 60 70 80 ! 3.0 ! 2.5 ! 2.0 ! 1.5 No Interaction age in years logit(p) arcus senilis no arcus senilis !4F5G *+, 562"78 9:++ !D -(A7"8?% 9*b FEE5 KOG4F ZLGLKFILML4Gc !4F5G *+, 562"78 9:++ !D -(A7"8?% 9*d X E = 1 Arcus Senilis Otherwise X A = 1 Age 50 Otherwise logit ( p ) = + 1 A + 2 E + 3 E A logit(p) log(OR) OR Arcus Senilis Age Absent Present < 50 50 47%.2&(#7 GL5G XFK FK ZLGLKFILML4Gc 47 1#/.0e 0#8"%R6U f g : h g + W O h g 9 W L h g , W L W O G.$% Z : e g , f : <$ Z O e g , i : H#8 RFKU =#2 &8. j *: "$ g 9 H#8RFKU =#2 &8. k *: "$ g 9 h g , ;7/.2 Z : B g 9 h g , f g 9 0#8RFKU$ &2. %?. $&1.D FK$ &2. %?. $&1....
View Full Document

Page1 / 20

6. Logistic regression examples -...

This preview shows document pages 1 - 6. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online