SlideShare a Scribd company logo
1 of 13
Running Simple Linear
Regression on SPSS
http://www.palmx.org/drtamil/spss/
sga-ttest-youtube.sav
©drtamil@gmail.com 2016
Factors Affecting SGA
SGA
(Y/N)
(Birth
weight)
Mother’s
Nutrition
(BMI/Obesity)
•Weight
•Height
Smoking
Hypertension
©drtamil@gmail.com 2016
Dependent Outcome
 Birth weight of the babies
 Small for gestational age i.e. less than
2.7kg for term babies – Y/N
By Yehudamalul - Own work, CC BY-SA 3.0,
©drtamil@gmail.com 2016
What test to use?
 Pearson’s Correlation done earlier showed
that there is a significant positive and fair
correlation between MOTHERS’ BODY
MASS INDEX (in kg) and BIRTH WEIGHT
(in kg)
 Now model the relationship between
MOTHERS’ BODY MASS INDEX (in kg) and
BIRTH WEIGHT (in kg) by fitting a linear
equation to observed data.
 y = a + bx
©drtamil@gmail.com 2016
Factors Affecting SGA
Birth
weight
(in kg)
Proxy for
Mother’s
Nutrition; Body
Mass Index in
kg/m2
Smoking
(Y/N)
Hypertension
(Y/N)
©drtamil@gmail.com 2016
What test to use?
 Birth weight – interval/continuous data.
 Body Mass Index – interval/continuous
data.
 The aim here to model the relationship
between MOTHERS’ BODY MASS INDEX
(in kg) and BIRTH WEIGHT (in kg) by
fitting a linear equation to observed data.
 Assuming both BMI & birth weight are
normally distributed, most suitable test is
Simple Linear Regression.
©drtamil@gmail.com 2016
y = a + bx, “a” is y-intercept.
©drtamil@gmail.com 2016
y = a + bx, “b” is slope/steepness of line.
Running Simple Linear
Regression on SPSS
http://www.palmx.org/drtamil/spss/
sga-ttest-youtube.sav
©drtamil@gmail.com 2016
Results
y = a + bx
Birth weight = 1.524 + 0.053 mBMI
For every increase of 1 unit of
mother’s BMI, the baby’s birth
weight increases 53 grams.
Equation valid since p<0.05
©drtamil@gmail.com 2016
Conclusion
 Birth weight = 1.524 + 0.053 mBMI
 For every increase of 1 unit of mother’s
BMI, the baby’s birth weight increases 53
grams.
 So if the mother’s BMI is 20, then the
birth weight would be around:
1.524 + 0.053 x 20 = 2.584 kg
 If the mother’s BMI is 40, then the birth
weight would be around:
1.524 + 0.053 x 40 = 3.644 kg
 r2 = 0.186, therefore 18.6% of the birth
weight variability is contributed by mBMI.
©drtamil@gmail.com 2016
Exercise
 Repeat the same statistical test between;
◦ Mothers’ Weight and Birth Weight
◦ You can also swap Weight for Age or Height but
take note of the p-values for a & b, some won’t
be significant, indicating that the linear
equation is not valid.

More Related Content

More from Azmi Mohd Tamil

More from Azmi Mohd Tamil (20)

Hybrid setup - How to conduct simultaneous face-to-face and online presentati...
Hybrid setup - How to conduct simultaneous face-to-face and online presentati...Hybrid setup - How to conduct simultaneous face-to-face and online presentati...
Hybrid setup - How to conduct simultaneous face-to-face and online presentati...
 
Audiovisual and technicalities from preparation to retrieval how to enhance m...
Audiovisual and technicalities from preparation to retrieval how to enhance m...Audiovisual and technicalities from preparation to retrieval how to enhance m...
Audiovisual and technicalities from preparation to retrieval how to enhance m...
 
Broadcast quality online teaching at zero budget
Broadcast quality online teaching at zero budgetBroadcast quality online teaching at zero budget
Broadcast quality online teaching at zero budget
 
Video for Teaching & Learning: OBS
Video for Teaching & Learning: OBSVideo for Teaching & Learning: OBS
Video for Teaching & Learning: OBS
 
Bengkel 21-12-2020 - Etika atas Talian & Alat Minima
Bengkel 21-12-2020 - Etika atas Talian & Alat MinimaBengkel 21-12-2020 - Etika atas Talian & Alat Minima
Bengkel 21-12-2020 - Etika atas Talian & Alat Minima
 
GIS & History of Mapping in Malaya (lecture notes circa 2009)
GIS & History of Mapping in Malaya (lecture notes circa 2009)GIS & History of Mapping in Malaya (lecture notes circa 2009)
GIS & History of Mapping in Malaya (lecture notes circa 2009)
 
Blended e-learning in UKMFolio
Blended e-learning in UKMFolioBlended e-learning in UKMFolio
Blended e-learning in UKMFolio
 
Introduction to Data Analysis With R and R Studio
Introduction to Data Analysis With R and R StudioIntroduction to Data Analysis With R and R Studio
Introduction to Data Analysis With R and R Studio
 
Hack#38 - How to Stream Zoom to Facebook & YouTube Without Using An Encoder o...
Hack#38 - How to Stream Zoom to Facebook & YouTube Without Using An Encoder o...Hack#38 - How to Stream Zoom to Facebook & YouTube Without Using An Encoder o...
Hack#38 - How to Stream Zoom to Facebook & YouTube Without Using An Encoder o...
 
Hack#37 - How to simultaneously live stream to 4 sites using a single hardwar...
Hack#37 - How to simultaneously live stream to 4 sites using a single hardwar...Hack#37 - How to simultaneously live stream to 4 sites using a single hardwar...
Hack#37 - How to simultaneously live stream to 4 sites using a single hardwar...
 
Cochran Mantel Haenszel Test with Breslow-Day Test & Quadratic Equation
Cochran Mantel Haenszel Test with Breslow-Day Test & Quadratic EquationCochran Mantel Haenszel Test with Breslow-Day Test & Quadratic Equation
Cochran Mantel Haenszel Test with Breslow-Day Test & Quadratic Equation
 
New Emerging And Reemerging Infections circa 2006
New Emerging And Reemerging Infections circa 2006New Emerging And Reemerging Infections circa 2006
New Emerging And Reemerging Infections circa 2006
 
Hacks#36 -Raspberry Pi 4 Mini Computer
Hacks#36 -Raspberry Pi 4 Mini ComputerHacks#36 -Raspberry Pi 4 Mini Computer
Hacks#36 -Raspberry Pi 4 Mini Computer
 
Hack#35 How to FB Live using a Video Encoder
Hack#35 How to FB Live using a Video EncoderHack#35 How to FB Live using a Video Encoder
Hack#35 How to FB Live using a Video Encoder
 
Hack#34 - Online Teaching with Microsoft Teams
Hack#34 - Online Teaching with Microsoft TeamsHack#34 - Online Teaching with Microsoft Teams
Hack#34 - Online Teaching with Microsoft Teams
 
Hack#33 How To FB-Live
Hack#33 How To FB-LiveHack#33 How To FB-Live
Hack#33 How To FB-Live
 
Skype for Business for UKM
Skype for Business for UKM Skype for Business for UKM
Skype for Business for UKM
 
Introduction to Structural Equation Modeling
Introduction to Structural Equation ModelingIntroduction to Structural Equation Modeling
Introduction to Structural Equation Modeling
 
Safe computing (circa 2004)
Safe computing (circa 2004)Safe computing (circa 2004)
Safe computing (circa 2004)
 
Introduction to 20 Classroom Hacks For Education 4.0 (updated)
Introduction to 20 Classroom Hacks For Education 4.0 (updated)Introduction to 20 Classroom Hacks For Education 4.0 (updated)
Introduction to 20 Classroom Hacks For Education 4.0 (updated)
 

Recently uploaded

Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdfVishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
ssuserdda66b
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 

Recently uploaded (20)

Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
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
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptx
 
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdfVishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
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...
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
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...
 
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
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 

How to run Simple Linear Regression on SPSS

  • 1. Running Simple Linear Regression on SPSS http://www.palmx.org/drtamil/spss/ sga-ttest-youtube.sav
  • 2. ©drtamil@gmail.com 2016 Factors Affecting SGA SGA (Y/N) (Birth weight) Mother’s Nutrition (BMI/Obesity) •Weight •Height Smoking Hypertension
  • 3. ©drtamil@gmail.com 2016 Dependent Outcome  Birth weight of the babies  Small for gestational age i.e. less than 2.7kg for term babies – Y/N By Yehudamalul - Own work, CC BY-SA 3.0,
  • 4.
  • 5. ©drtamil@gmail.com 2016 What test to use?  Pearson’s Correlation done earlier showed that there is a significant positive and fair correlation between MOTHERS’ BODY MASS INDEX (in kg) and BIRTH WEIGHT (in kg)  Now model the relationship between MOTHERS’ BODY MASS INDEX (in kg) and BIRTH WEIGHT (in kg) by fitting a linear equation to observed data.  y = a + bx
  • 6. ©drtamil@gmail.com 2016 Factors Affecting SGA Birth weight (in kg) Proxy for Mother’s Nutrition; Body Mass Index in kg/m2 Smoking (Y/N) Hypertension (Y/N)
  • 7. ©drtamil@gmail.com 2016 What test to use?  Birth weight – interval/continuous data.  Body Mass Index – interval/continuous data.  The aim here to model the relationship between MOTHERS’ BODY MASS INDEX (in kg) and BIRTH WEIGHT (in kg) by fitting a linear equation to observed data.  Assuming both BMI & birth weight are normally distributed, most suitable test is Simple Linear Regression.
  • 8. ©drtamil@gmail.com 2016 y = a + bx, “a” is y-intercept.
  • 9. ©drtamil@gmail.com 2016 y = a + bx, “b” is slope/steepness of line.
  • 10. Running Simple Linear Regression on SPSS http://www.palmx.org/drtamil/spss/ sga-ttest-youtube.sav
  • 11. ©drtamil@gmail.com 2016 Results y = a + bx Birth weight = 1.524 + 0.053 mBMI For every increase of 1 unit of mother’s BMI, the baby’s birth weight increases 53 grams. Equation valid since p<0.05
  • 12. ©drtamil@gmail.com 2016 Conclusion  Birth weight = 1.524 + 0.053 mBMI  For every increase of 1 unit of mother’s BMI, the baby’s birth weight increases 53 grams.  So if the mother’s BMI is 20, then the birth weight would be around: 1.524 + 0.053 x 20 = 2.584 kg  If the mother’s BMI is 40, then the birth weight would be around: 1.524 + 0.053 x 40 = 3.644 kg  r2 = 0.186, therefore 18.6% of the birth weight variability is contributed by mBMI.
  • 13. ©drtamil@gmail.com 2016 Exercise  Repeat the same statistical test between; ◦ Mothers’ Weight and Birth Weight ◦ You can also swap Weight for Age or Height but take note of the p-values for a & b, some won’t be significant, indicating that the linear equation is not valid.