CP2403 - Module 9
CP2403 - Module 9
Logistical Regression
Summary of Module 8
• Multiple Regression
• Polynomial Regression
• Multiple & Polynomial Regression
• Evaluating model
Learning outcome – Module 9
Nicotine No of cigarette
Dependence smoked
(X) (Y)
(Categorical) (Quantitative)
Output
Social Nicotine
Phobia Dependence
(X) (Y)
(Categorical) (Categorical)
TAB12MDX = 0.38 + 1.23 * SOCPDLIFE
TAB12MDX = 0.38 + 1.23 * SOCPDLIFE
If SOCPDLIFE = 1
TAB12MDX = 0.38 + 1.23 (1) = 1.61
If SOCPDLIFE = 0
TAB12MDX = 0.38 + 1.23 (0) = 0.38
• OR = 1
• Those with social phobia are just as likely to be nicotine dependent as
people without social phobia
• Statistically insignificant
Odds Ratio (OR)
• 0 -> ∞
• OR > 1
• Those with social phobia are more likely to be nicotine dependent as
people without social phobia
• Explanatory variable increases
Odds Ratio (OR)
• 0 -> ∞
• OR < 1
• Those with social phobia are less likely to be nicotine dependent as
people without social phobia
• Explanatory variable decreases
Conclusion
Young people with social phobia are 3.43 times more like to be nicotine
dependent compare do young people without social phobia
confidence interval
- 1.78 – 6.61 (95% of the time)
Example 2
Major
Depression
Social Nicotine
Phobia Dependence
(X) (Y)
(Categorical) (Categorical)
TAB12MDX = 0.0939 + 0.8393(SOCPDLIFE) + 1.3072(MAJORDEPLIFE)
TAB12MDX = 0.0939 + 2.31(SOCPDLIFE) + 1.3072(MAJORDEPLIFE)
IF SOCPDLIFE = 0, MAJORDEPLIFE = 0
TAB12MDX = 0.0939
IF SOCPDLIFE = 1, MAJORDEPLIFE = 0
TAB12MDX = 0.0939 + 0.8393 = 0.9332
IF SOCPDLIFE = 0, MAJORDEPLIFE = 1
TAB12MDX = 0.0939 + 1.3072 = 1.4011
IF SOCPDLIFE = 1, MAJORDEPLIFE = 1
TAB12MDX = 0.0939 + 0.8393 + 1.3072 = 2.2404
Conclusion:
Young people with social phobia are 2.31 times more like to be nicotine dependent
compare do young people without social phobia, after controlling for major
depression
Young people with major depression are 3.70 times more like to be nicotine
dependent compare do young people without major depression, after controlling for
social phobia
Example 3
Panic Nicotine
Disorder Dependence
(X) (Y)
(Categorical) (Categorical)
Conclusion
Young people with panic disorder are 1.56 times more like to be
nicotine dependent compare do young people without panic disorder
Example 4
Major
Depression
Panic Nicotine
Disorder Dependence
(X) (Y)
(Categorical) (Categorical)
Conclusion
Young people with major depression are 3.88 times more like to be nicotine dependent
compare do young people without major depression, after controlling for panic disorder
Young people with panic disorder are 1.05 more like to be nicotine dependent compare do
young people without panic disorder, after controlling for major depression
Summary of Module 9
• Regression when the explanatory variable is categorical
• Logistical Regression
Prac 9 Overview