SlideShare a Scribd company logo
1 of 17
Binary logistic regression
Part 1: Introduction
Dr Heini Väisänen
University of Southampton
Outline
• Binary response
• Link functions
• Logistic regression model
• Parameter interpretation
Binary response & regression models
• Often in social science we are interested in relationships between
categorical variables.
• E.g. absence/presence of a disease, voting intention, Likert-scale…
• This session introduces binary logistic regression, which can be
used to study the association between:
• A binary outcome (dependent) variable; and
• Explanatory (independent) variable(s) of any kind
Binary response & regression models
• We have a binary (dichotomous) response variable Y defined as
Y = 1 if “success” (“yes”)
0 if “failure” (“no”)
• We want to model the probability Π that Y=1
Why not linear regression?
• Predicted values may lie outside the interval [0, 1].
• Assumption of constant variance is violated as variance depends
on x through its influence on п.
 var(ε) = пi(x)[1 – пi(x)]
 Standard errors not valid, and conclusions from them misleading.
Solution: Link Functions
• Good news: we can keep
пi (x) = β0 +β1x1i +β2x2i + … +βkxki
• …if we model a transformation of пi:
ηi = g(пi) = β0 +β1x1i +β2x2i + … +βkxki
where g(.) is the link function.
What is a ‘link function’?
• We require a link transformation that ensures our fitted values vary
between 0 and 1
1. The link function ensures that the expected value of the probability is
between 0 and 1
2. When the linear prediction decreases, the probability goes closer to 0
3. When the linear prediction increases, the probability goes closer to 1
Fig. source: https://commons.wikimedia.org/wiki/File:Logit.png
Probability
Predictor
Logit link function 
logistic regression
Transformation:
log[п/(1-п)]
Fundamental concepts:
• probability = п
• odds = п/(1-п)
• logit(п) = log(odds) =
log[п/(1-п)]
Characteristics of logits and probabilities
1. If Π = 0.5
then odds = 0.5/(1-0.5) = 1
and logit = log(1) = 0
2. If Π > 0.5, then Odds > 1 and logit > 0.
3. If Π < 0.5, then Odds < 1 and logit < 0.
4. Logit can take any values but Π is constrained between 0 and 1.
5. Π can never be exactly 0 or 1.
Example: Birth Weights
Is the probability of a normal birth weight, associated with
gestational age?
• Response: Birth weight (BWGHT: 1 = normal, 0 = low).
• Explanatory: Gestational age in weeks (GAGE).
• Low birthweight has been defined by WHO as weight at birth of less
than 2,500 grams (5.5 pounds).
Descriptive statistics: birth weight
N %
Normal birth
weight
17 70.8
Low birth
weight
7 29.2
Total 24 100.0
Results: Birth Weights (example)
• The fitted model with one explanatory variable gestational age
(GAGE) is:
𝑙𝑜𝑔𝑖𝑡 Π = −48.9 + 1.31 ∗ 𝐺𝐴𝐺𝐸
• How is gestational age associated with low birth weight?
Interpretation on logit scale
• A unit increase in x1 increases the logit (log of the odds) by β1 units.
• For a one week increase in gestational age the log of the odds of a
normal birth weight increases by 1.31.
𝑙𝑜𝑔𝑖𝑡 Π = −48.9 + 1.31 ∗ 𝐺𝐴𝐺𝐸
Interpretation on probability scale
• Predicted probabilities can be computed for any value of GAGE.
• For example, the estimated probability of a baby with gestational age 39 weeks
having a normal birth weight is:
𝜋 =
exp(−48.9 + 1.31 ∗ 39)
1 + exp(−48.9 + 1.31 ∗ 39)
= 0.9
• The predicted probability of normal birth weight at week 39 is 0.9 (90%)
Interpretation in the odds scale
• The effects of explanatory variables are multiplicative on the odds
scale. A unit increase in x1 multiplies the odds by exp(β1).
• So, a one week increase in gestational age multiplies the odds of a
normal birth by 3.71 [i.e. exp(1.31)].
• Alternatively, a one week increase in gestational age increases the
odds of a normal birth weight by
100 × [3.71 - 1] = 271%
How to report results?
• For a one week increase in gestational age the log of the odds of a
normal birth weight increases by 1.31.
• The predicted probability of normal birth weight at week 36 was 0.15,
whereas at week 39 it is 0.9.
• Each additional week of gestation increased the odds of normal birth
weight by 271%.
• OR: Each additional week of gestation multiplied the odds of normal
birth weight by 3.71.
Absolute level of risk /
Example at a specific value of X
Rarely used (not intuitive)
Relative level of risk /
Applies to the entire scale of X
Thank you!

More Related Content

Similar to BLR1.pptx

Applied statistics lecture_7
Applied statistics lecture_7Applied statistics lecture_7
Applied statistics lecture_7Daria Bogdanova
 
Logistic-regression.pptx
Logistic-regression.pptxLogistic-regression.pptx
Logistic-regression.pptxsherinjoyson
 
Logistic regression with SPSS examples
Logistic regression with SPSS examplesLogistic regression with SPSS examples
Logistic regression with SPSS examplesGaurav Kamboj
 
Logistic regression
Logistic regressionLogistic regression
Logistic regressionRupak Roy
 
Lecture slides stats1.13.l20.air
Lecture slides stats1.13.l20.airLecture slides stats1.13.l20.air
Lecture slides stats1.13.l20.airatutor_te
 
Lecture 3 quantitative traits and heritability full
Lecture 3 quantitative traits and heritability fullLecture 3 quantitative traits and heritability full
Lecture 3 quantitative traits and heritability fullLekki Frazier-Wood
 
Foundations of Statistics in Ecology and Evolution. 8. Bayesian Statistics
Foundations of Statistics in Ecology and Evolution. 8. Bayesian StatisticsFoundations of Statistics in Ecology and Evolution. 8. Bayesian Statistics
Foundations of Statistics in Ecology and Evolution. 8. Bayesian StatisticsAndres Lopez-Sepulcre
 
Biostatistics lecture notes 7.ppt
Biostatistics lecture notes 7.pptBiostatistics lecture notes 7.ppt
Biostatistics lecture notes 7.pptletayh2016
 
Topic 2 - More on Hypothesis Testing
Topic 2 - More on Hypothesis TestingTopic 2 - More on Hypothesis Testing
Topic 2 - More on Hypothesis TestingRyan Herzog
 
For this assignment, use the aschooltest.sav dataset.The d
For this assignment, use the aschooltest.sav dataset.The dFor this assignment, use the aschooltest.sav dataset.The d
For this assignment, use the aschooltest.sav dataset.The dMerrileeDelvalle969
 
Data classification sammer
Data classification sammer Data classification sammer
Data classification sammer Sammer Qader
 
Linear Regression and Logistic Regression in ML
Linear Regression and Logistic Regression in MLLinear Regression and Logistic Regression in ML
Linear Regression and Logistic Regression in MLKumud Arora
 
biv_sssssssssssssssssssssssssssssssssssmult.ppt
biv_sssssssssssssssssssssssssssssssssssmult.pptbiv_sssssssssssssssssssssssssssssssssssmult.ppt
biv_sssssssssssssssssssssssssssssssssssmult.pptSAnjayKumar3129
 
Mixed Effects Models - Logit Models
Mixed Effects Models - Logit ModelsMixed Effects Models - Logit Models
Mixed Effects Models - Logit ModelsScott Fraundorf
 
HFS 3283 independent t test
HFS 3283 independent t testHFS 3283 independent t test
HFS 3283 independent t testwajihahwafa
 
univariate and bivariate analysis in spss
univariate and bivariate analysis in spss univariate and bivariate analysis in spss
univariate and bivariate analysis in spss Subodh Khanal
 

Similar to BLR1.pptx (20)

Applied statistics lecture_7
Applied statistics lecture_7Applied statistics lecture_7
Applied statistics lecture_7
 
Logistic-regression.pptx
Logistic-regression.pptxLogistic-regression.pptx
Logistic-regression.pptx
 
Logistic regression with SPSS examples
Logistic regression with SPSS examplesLogistic regression with SPSS examples
Logistic regression with SPSS examples
 
Logistic regression
Logistic regressionLogistic regression
Logistic regression
 
Lecture slides stats1.13.l20.air
Lecture slides stats1.13.l20.airLecture slides stats1.13.l20.air
Lecture slides stats1.13.l20.air
 
Lecture 3 quantitative traits and heritability full
Lecture 3 quantitative traits and heritability fullLecture 3 quantitative traits and heritability full
Lecture 3 quantitative traits and heritability full
 
Foundations of Statistics in Ecology and Evolution. 8. Bayesian Statistics
Foundations of Statistics in Ecology and Evolution. 8. Bayesian StatisticsFoundations of Statistics in Ecology and Evolution. 8. Bayesian Statistics
Foundations of Statistics in Ecology and Evolution. 8. Bayesian Statistics
 
Biostatistics lecture notes 7.ppt
Biostatistics lecture notes 7.pptBiostatistics lecture notes 7.ppt
Biostatistics lecture notes 7.ppt
 
Topic 2 - More on Hypothesis Testing
Topic 2 - More on Hypothesis TestingTopic 2 - More on Hypothesis Testing
Topic 2 - More on Hypothesis Testing
 
For this assignment, use the aschooltest.sav dataset.The d
For this assignment, use the aschooltest.sav dataset.The dFor this assignment, use the aschooltest.sav dataset.The d
For this assignment, use the aschooltest.sav dataset.The d
 
Data classification sammer
Data classification sammer Data classification sammer
Data classification sammer
 
Linear Regression and Logistic Regression in ML
Linear Regression and Logistic Regression in MLLinear Regression and Logistic Regression in ML
Linear Regression and Logistic Regression in ML
 
Logistical Regression.pptx
Logistical Regression.pptxLogistical Regression.pptx
Logistical Regression.pptx
 
biv_mult.ppt
biv_mult.pptbiv_mult.ppt
biv_mult.ppt
 
biv_sssssssssssssssssssssssssssssssssssmult.ppt
biv_sssssssssssssssssssssssssssssssssssmult.pptbiv_sssssssssssssssssssssssssssssssssssmult.ppt
biv_sssssssssssssssssssssssssssssssssssmult.ppt
 
Mixed Effects Models - Logit Models
Mixed Effects Models - Logit ModelsMixed Effects Models - Logit Models
Mixed Effects Models - Logit Models
 
Machine Learning (Classification Models)
Machine Learning (Classification Models)Machine Learning (Classification Models)
Machine Learning (Classification Models)
 
Lecture 4
Lecture 4Lecture 4
Lecture 4
 
HFS 3283 independent t test
HFS 3283 independent t testHFS 3283 independent t test
HFS 3283 independent t test
 
univariate and bivariate analysis in spss
univariate and bivariate analysis in spss univariate and bivariate analysis in spss
univariate and bivariate analysis in spss
 

Recently uploaded

Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Shubhangi Sonawane
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfAyushMahapatra5
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxVishalSingh1417
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
Role Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptxRole Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptxNikitaBankoti2
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxVishalSingh1417
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptxMaritesTamaniVerdade
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...Poonam Aher Patil
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docxPoojaSen20
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701bronxfugly43
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfChris Hunter
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 

Recently uploaded (20)

Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Role Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptxRole Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptx
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 

BLR1.pptx

  • 1. Binary logistic regression Part 1: Introduction Dr Heini Väisänen University of Southampton
  • 2. Outline • Binary response • Link functions • Logistic regression model • Parameter interpretation
  • 3. Binary response & regression models • Often in social science we are interested in relationships between categorical variables. • E.g. absence/presence of a disease, voting intention, Likert-scale… • This session introduces binary logistic regression, which can be used to study the association between: • A binary outcome (dependent) variable; and • Explanatory (independent) variable(s) of any kind
  • 4. Binary response & regression models • We have a binary (dichotomous) response variable Y defined as Y = 1 if “success” (“yes”) 0 if “failure” (“no”) • We want to model the probability Π that Y=1
  • 5. Why not linear regression? • Predicted values may lie outside the interval [0, 1]. • Assumption of constant variance is violated as variance depends on x through its influence on п.  var(ε) = пi(x)[1 – пi(x)]  Standard errors not valid, and conclusions from them misleading.
  • 6. Solution: Link Functions • Good news: we can keep пi (x) = β0 +β1x1i +β2x2i + … +βkxki • …if we model a transformation of пi: ηi = g(пi) = β0 +β1x1i +β2x2i + … +βkxki where g(.) is the link function.
  • 7. What is a ‘link function’? • We require a link transformation that ensures our fitted values vary between 0 and 1 1. The link function ensures that the expected value of the probability is between 0 and 1 2. When the linear prediction decreases, the probability goes closer to 0 3. When the linear prediction increases, the probability goes closer to 1
  • 8. Fig. source: https://commons.wikimedia.org/wiki/File:Logit.png Probability Predictor Logit link function  logistic regression Transformation: log[п/(1-п)] Fundamental concepts: • probability = п • odds = п/(1-п) • logit(п) = log(odds) = log[п/(1-п)]
  • 9. Characteristics of logits and probabilities 1. If Π = 0.5 then odds = 0.5/(1-0.5) = 1 and logit = log(1) = 0 2. If Π > 0.5, then Odds > 1 and logit > 0. 3. If Π < 0.5, then Odds < 1 and logit < 0. 4. Logit can take any values but Π is constrained between 0 and 1. 5. Π can never be exactly 0 or 1.
  • 10. Example: Birth Weights Is the probability of a normal birth weight, associated with gestational age? • Response: Birth weight (BWGHT: 1 = normal, 0 = low). • Explanatory: Gestational age in weeks (GAGE). • Low birthweight has been defined by WHO as weight at birth of less than 2,500 grams (5.5 pounds).
  • 11. Descriptive statistics: birth weight N % Normal birth weight 17 70.8 Low birth weight 7 29.2 Total 24 100.0
  • 12. Results: Birth Weights (example) • The fitted model with one explanatory variable gestational age (GAGE) is: 𝑙𝑜𝑔𝑖𝑡 Π = −48.9 + 1.31 ∗ 𝐺𝐴𝐺𝐸 • How is gestational age associated with low birth weight?
  • 13. Interpretation on logit scale • A unit increase in x1 increases the logit (log of the odds) by β1 units. • For a one week increase in gestational age the log of the odds of a normal birth weight increases by 1.31. 𝑙𝑜𝑔𝑖𝑡 Π = −48.9 + 1.31 ∗ 𝐺𝐴𝐺𝐸
  • 14. Interpretation on probability scale • Predicted probabilities can be computed for any value of GAGE. • For example, the estimated probability of a baby with gestational age 39 weeks having a normal birth weight is: 𝜋 = exp(−48.9 + 1.31 ∗ 39) 1 + exp(−48.9 + 1.31 ∗ 39) = 0.9 • The predicted probability of normal birth weight at week 39 is 0.9 (90%)
  • 15. Interpretation in the odds scale • The effects of explanatory variables are multiplicative on the odds scale. A unit increase in x1 multiplies the odds by exp(β1). • So, a one week increase in gestational age multiplies the odds of a normal birth by 3.71 [i.e. exp(1.31)]. • Alternatively, a one week increase in gestational age increases the odds of a normal birth weight by 100 × [3.71 - 1] = 271%
  • 16. How to report results? • For a one week increase in gestational age the log of the odds of a normal birth weight increases by 1.31. • The predicted probability of normal birth weight at week 36 was 0.15, whereas at week 39 it is 0.9. • Each additional week of gestation increased the odds of normal birth weight by 271%. • OR: Each additional week of gestation multiplied the odds of normal birth weight by 3.71. Absolute level of risk / Example at a specific value of X Rarely used (not intuitive) Relative level of risk / Applies to the entire scale of X

Editor's Notes

  1. We want to find a transformation of phi (the probability of success) such that we can express it as a linear function of the explanatory variables. In other words, in the equation of the model, we want to keep the part on the right-hand-side of the equality sign as it is in the linear regression, and we want to find an expression for what is on the left-hand side which allows us to write the model in this way.
  2. 1. Thus when the probability of an event happening is equal to the probability of the event not happening, the odds are one and the logit is zero. 2. Thus the logit is positive when the probability of an event happening is greater than the probability of the event not happening. 3. Thus the logit is negative when the probability of an event happening is smaller than the probability of the event not happening.
  3. In this table, the probability (pi) that a given individual in the dataset has Y=1 is equal to their proportion in the dataset. That’s what we want to model in logistic regression. The probability of Y=0 is 1-(p | y=1), bc Y can only be 0 or 1. Suppose we want to model the association between bw and gestational age. What should we do?