SlideShare a Scribd company logo
Basic Biostat 15: Multiple Linear Regression 1
Chapter 15:
Multiple Linear Regression
Basic Biostat 15: Multiple Linear Regression 2
In Chapter 15:
15.1 The General Idea
15.2 The Multiple Regression Model
15.3 Categorical Explanatory Variables
15.4 Regression Coefficients
[15.5 ANOVA for Multiple Linear Regression]
[15.6 Examining Conditions]
[Not covered in recorded presentation]
Basic Biostat 15: Multiple Linear Regression 3
15.1 The General Idea
Simple regression considers the relation
between a single explanatory variable and
response variable
Basic Biostat 15: Multiple Linear Regression 4
The General Idea
Multiple regression simultaneously considers the
influence of multiple explanatory variables on a
response variable Y
The intent is to look at
the independent effect
of each variable while
“adjusting out” the
influence of potential
confounders
Basic Biostat 15: Multiple Linear Regression 5
Regression Modeling
• A simple regression
model (one independent
variable) fits a regression
line in 2-dimensional
space
• A multiple regression
model with two
explanatory variables fits
a regression plane in 3-
dimensional space
Basic Biostat 15: Multiple Linear Regression 6
Simple Regression Model
Regression coefficients are estimated by
minimizing ∑residuals2 (i.e., sum of the squared
residuals) to derive this model:
The standard error of the regression (sY|x) is
based on the squared residuals:
Basic Biostat 15: Multiple Linear Regression 7
Multiple Regression Model
Again, estimates for the multiple slope
coefficients are derived by minimizing ∑residuals2
to derive this multiple regression model:
Again, the standard error of the regression
is based on the ∑residuals2:
Basic Biostat 15: Multiple Linear Regression 8
Multiple Regression Model
• Intercept α predicts
where the regression
plane crosses the Y
axis
• Slope for variable X1
(β1) predicts the
change in Y per unit
X1 holding X2
constant
• The slope for variable
X2 (β2) predicts the
change in Y per unit
X2 holding X1
constant
Basic Biostat 15: Multiple Linear Regression 9
Multiple Regression Model
A multiple regression
model with k independent
variables fits a regression
“surface” in k + 1
dimensional space (cannot
be visualized)
Basic Biostat 15: Multiple Linear Regression 10
15.3 Categorical Explanatory
Variables in Regression Models
• Categorical independent
variables can be
incorporated into a
regression model by
converting them into 0/1
(“dummy”) variables
• For binary variables, code
dummies “0” for “no” and 1
for “yes”
Basic Biostat 15: Multiple Linear Regression 11
Dummy Variables, More than two
levels
For categorical variables with k categories, use k–1 dummy variables
SMOKE2 has three levels, initially coded
0 = non-smoker
1 = former smoker
2 = current smoker
Use k – 1 = 3 – 1 = 2 dummy variables to code this information like this:
Basic Biostat 15: Multiple Linear Regression 12
Illustrative Example
Childhood respiratory health survey.
• Binary explanatory variable (SMOKE) is
coded 0 for non-smoker and 1 for smoker
• Response variable Forced Expiratory
Volume (FEV) is measured in liters/second
• The mean FEV in nonsmokers is 2.566
• The mean FEV in smokers is 3.277
Basic Biostat 15: Multiple Linear Regression 13
Example, cont.
• Regress FEV on SMOKE least squares
regression line:
ŷ = 2.566 + 0.711X
• Intercept (2.566) = the mean FEV of group 0
• Slope = the mean difference in FEV
= 3.277 − 2.566 = 0.711
• tstat = 6.464 with 652 df, P ≈ 0.000 (same as
equal variance t test)
• The 95% CI for slope β is 0.495 to 0.927 (same
as the 95% CI for μ1 − μ0)
Basic Biostat 15: Multiple Linear Regression 14
Dummy Variable SMOKE
Regression line
passes through
group means
b = 3.277 – 2.566 = 0.711
Basic Biostat 15: Multiple Linear Regression 15
Smoking increases FEV?
• Children who smoked had higher mean FEV
• How can this be true given what we know
about the deleterious respiratory effects of
smoking?
• ANS: Smokers were older than the
nonsmokers
• AGE confounded the relationship between
SMOKE and FEV
• A multiple regression model can be used to
adjust for AGE in this situation
Basic Biostat 15: Multiple Linear Regression 16
15.4 Multiple Regression
Coefficients
Rely on
software to
calculate
multiple
regression
statistics
Basic Biostat 15: Multiple Linear Regression 17
Example
The multiple regression model is:
FEV = 0.367 + −.209(SMOKE) + .231(AGE)
SPSS output for our example:
Intercept a Slope b2
Slope b1
Basic Biostat 15: Multiple Linear Regression 18
Multiple Regression Coefficients, cont.
• The slope coefficient associated for SMOKE is
−.206, suggesting that smokers have .206 less
FEV on average compared to non-smokers
(after adjusting for age)
• The slope coefficient for AGE is .231, suggesting
that each year of age in associated with an
increase of .231 FEV units on average (after
adjusting for SMOKE)
Basic Biostat 15: Multiple Linear Regression 19
Coefficients
a
.367 .081 4.511 .000
-.209 .081 -.072 -2.588 .010
.231 .008 .786 28.176 .000
(Constant)
smoke
age
Model
1
B Std. Error
Unstandardized
Coefficients
Beta
Standardized
Coefficients
t Sig.
Dependent Variable: fev
a.
Inference About the Coefficients
Inferential statistics are calculated for each
regression coefficient. For example, in testing
H0: β1 = 0 (SMOKE coefficient controlling for AGE)
tstat = −2.588 and P = 0.010
df = n – k – 1 = 654 – 2 – 1 = 651
Basic Biostat 15: Multiple Linear Regression 20
Inference About the Coefficients
The 95% confidence interval for this slope of
SMOKE controlling for AGE is −0.368 to − 0.050.
Coefficients
a
.207 .527
-.368 -.050
.215 .247
(Constant)
smoke
age
Model
1
Lower Bound Upper Bound
95% Confidence Interval for B
Dependent Variable: fev
a.

More Related Content

Similar to Multiple_Linear_Regression Presentation.

Dissolution profile comparison
Dissolution profile comparisonDissolution profile comparison
Dissolution profile comparison
Mohammad Imran
 
Bmgt 311 chapter_15
Bmgt 311 chapter_15Bmgt 311 chapter_15
Bmgt 311 chapter_15
Chris Lovett
 
Copyright© Dorling Kinde.docx
Copyright© Dorling Kinde.docxCopyright© Dorling Kinde.docx
Copyright© Dorling Kinde.docx
bobbywlane695641
 
Copyright© Dorling Kinde.docx
Copyright© Dorling Kinde.docxCopyright© Dorling Kinde.docx
Copyright© Dorling Kinde.docx
melvinjrobinson2199
 
Rigol oscilloscope mso5000_bode_plot_app_note
Rigol oscilloscope mso5000_bode_plot_app_noteRigol oscilloscope mso5000_bode_plot_app_note
Rigol oscilloscope mso5000_bode_plot_app_note
NIHON DENKEI SINGAPORE
 
Market Research using SPSS _ Edu4Sure Sept 2023.ppt
Market Research using SPSS _ Edu4Sure Sept 2023.pptMarket Research using SPSS _ Edu4Sure Sept 2023.ppt
Market Research using SPSS _ Edu4Sure Sept 2023.ppt
Edu4Sure
 
Logistic regression and analysis using statistical information
Logistic regression and analysis using statistical informationLogistic regression and analysis using statistical information
Logistic regression and analysis using statistical information
AsadJaved304231
 
My regression lecture mk3 (uploaded to web ct)
My regression lecture   mk3 (uploaded to web ct)My regression lecture   mk3 (uploaded to web ct)
My regression lecture mk3 (uploaded to web ct)chrisstiff
 
Logit and Probit and Tobit model: Basic Introduction
Logit and Probit  and Tobit model: Basic IntroductionLogit and Probit  and Tobit model: Basic Introduction
Logit and Probit and Tobit model: Basic Introduction
Rabeesh Verma
 
Introduction to Limited Dependent variable
Introduction to Limited Dependent variableIntroduction to Limited Dependent variable
Introduction to Limited Dependent variable
Ashok Dsouza
 
Bmgt 311 chapter_15
Bmgt 311 chapter_15Bmgt 311 chapter_15
Bmgt 311 chapter_15Chris Lovett
 
Stats ca report_18180485
Stats ca report_18180485Stats ca report_18180485
Stats ca report_18180485
sarthakkhare3
 
Add slides
Add slidesAdd slides
Add slidesRupa D
 
control technology of bachlor of engineering technology
control technology of bachlor of engineering technologycontrol technology of bachlor of engineering technology
control technology of bachlor of engineering technology
engineerfazi245
 
Chapter 15 1-12-05.ppt
Chapter 15 1-12-05.pptChapter 15 1-12-05.ppt
Chapter 15 1-12-05.ppt
borchala1
 
Econometrics project
Econometrics projectEconometrics project
Econometrics project
Shubham Joon
 

Similar to Multiple_Linear_Regression Presentation. (17)

Dissolution profile comparison
Dissolution profile comparisonDissolution profile comparison
Dissolution profile comparison
 
Bmgt 311 chapter_15
Bmgt 311 chapter_15Bmgt 311 chapter_15
Bmgt 311 chapter_15
 
Copyright© Dorling Kinde.docx
Copyright© Dorling Kinde.docxCopyright© Dorling Kinde.docx
Copyright© Dorling Kinde.docx
 
Copyright© Dorling Kinde.docx
Copyright© Dorling Kinde.docxCopyright© Dorling Kinde.docx
Copyright© Dorling Kinde.docx
 
Rigol oscilloscope mso5000_bode_plot_app_note
Rigol oscilloscope mso5000_bode_plot_app_noteRigol oscilloscope mso5000_bode_plot_app_note
Rigol oscilloscope mso5000_bode_plot_app_note
 
Market Research using SPSS _ Edu4Sure Sept 2023.ppt
Market Research using SPSS _ Edu4Sure Sept 2023.pptMarket Research using SPSS _ Edu4Sure Sept 2023.ppt
Market Research using SPSS _ Edu4Sure Sept 2023.ppt
 
Logistic regression and analysis using statistical information
Logistic regression and analysis using statistical informationLogistic regression and analysis using statistical information
Logistic regression and analysis using statistical information
 
My regression lecture mk3 (uploaded to web ct)
My regression lecture   mk3 (uploaded to web ct)My regression lecture   mk3 (uploaded to web ct)
My regression lecture mk3 (uploaded to web ct)
 
Logit and Probit and Tobit model: Basic Introduction
Logit and Probit  and Tobit model: Basic IntroductionLogit and Probit  and Tobit model: Basic Introduction
Logit and Probit and Tobit model: Basic Introduction
 
Introduction to Limited Dependent variable
Introduction to Limited Dependent variableIntroduction to Limited Dependent variable
Introduction to Limited Dependent variable
 
Bmgt 311 chapter_15
Bmgt 311 chapter_15Bmgt 311 chapter_15
Bmgt 311 chapter_15
 
Stats ca report_18180485
Stats ca report_18180485Stats ca report_18180485
Stats ca report_18180485
 
Add slides
Add slidesAdd slides
Add slides
 
control technology of bachlor of engineering technology
control technology of bachlor of engineering technologycontrol technology of bachlor of engineering technology
control technology of bachlor of engineering technology
 
1496818.ppt
1496818.ppt1496818.ppt
1496818.ppt
 
Chapter 15 1-12-05.ppt
Chapter 15 1-12-05.pptChapter 15 1-12-05.ppt
Chapter 15 1-12-05.ppt
 
Econometrics project
Econometrics projectEconometrics project
Econometrics project
 

More from JohnLagman3

8.-Javascript-report powerpoint presentation
8.-Javascript-report powerpoint presentation8.-Javascript-report powerpoint presentation
8.-Javascript-report powerpoint presentation
JohnLagman3
 
7.-Bootstrap-5-report powerpoint presentation
7.-Bootstrap-5-report powerpoint presentation7.-Bootstrap-5-report powerpoint presentation
7.-Bootstrap-5-report powerpoint presentation
JohnLagman3
 
1._Introduction_to_HTML5 powerpoint presentation
1._Introduction_to_HTML5 powerpoint presentation1._Introduction_to_HTML5 powerpoint presentation
1._Introduction_to_HTML5 powerpoint presentation
JohnLagman3
 
bufferoverflow-151214121251 presentation
bufferoverflow-151214121251 presentationbufferoverflow-151214121251 presentation
bufferoverflow-151214121251 presentation
JohnLagman3
 
Variables in MIT App Inventor powerpoint
Variables in MIT App Inventor powerpointVariables in MIT App Inventor powerpoint
Variables in MIT App Inventor powerpoint
JohnLagman3
 
Web-Development Powerpoint Presentation.
Web-Development Powerpoint Presentation.Web-Development Powerpoint Presentation.
Web-Development Powerpoint Presentation.
JohnLagman3
 
History of Android powerpoint presentation
History of Android powerpoint presentationHistory of Android powerpoint presentation
History of Android powerpoint presentation
JohnLagman3
 
Mobile Application Development powerpoint
Mobile Application Development powerpointMobile Application Development powerpoint
Mobile Application Development powerpoint
JohnLagman3
 
Presentation of Hyper Text Markup Language
Presentation of Hyper Text Markup LanguagePresentation of Hyper Text Markup Language
Presentation of Hyper Text Markup Language
JohnLagman3
 
html-150424090224-conversion-gate0.2.pdf
html-150424090224-conversion-gate0.2.pdfhtml-150424090224-conversion-gate0.2.pdf
html-150424090224-conversion-gate0.2.pdf
JohnLagman3
 
Hypertext Mark Up Language Introduction.
Hypertext Mark Up Language Introduction.Hypertext Mark Up Language Introduction.
Hypertext Mark Up Language Introduction.
JohnLagman3
 
Lesson 4 - Introduction to Filmora.pptx
Lesson 4 - Introduction to Filmora.pptxLesson 4 - Introduction to Filmora.pptx
Lesson 4 - Introduction to Filmora.pptx
JohnLagman3
 
1.-Introduction-report.pdf
1.-Introduction-report.pdf1.-Introduction-report.pdf
1.-Introduction-report.pdf
JohnLagman3
 
Lesson 1 Animation.pdf
Lesson 1 Animation.pdfLesson 1 Animation.pdf
Lesson 1 Animation.pdf
JohnLagman3
 
Lesson 1.pdf
Lesson 1.pdfLesson 1.pdf
Lesson 1.pdf
JohnLagman3
 
Confidentiality Privacy and Security.ppt
Confidentiality Privacy and Security.pptConfidentiality Privacy and Security.ppt
Confidentiality Privacy and Security.ppt
JohnLagman3
 
physicalsecurity-150317020111-conversion-gate01.pdf
physicalsecurity-150317020111-conversion-gate01.pdfphysicalsecurity-150317020111-conversion-gate01.pdf
physicalsecurity-150317020111-conversion-gate01.pdf
JohnLagman3
 
Introduction to BIOMETRICS Security.pptx
Introduction to BIOMETRICS Security.pptxIntroduction to BIOMETRICS Security.pptx
Introduction to BIOMETRICS Security.pptx
JohnLagman3
 
1.-Introduction-report.pptx
1.-Introduction-report.pptx1.-Introduction-report.pptx
1.-Introduction-report.pptx
JohnLagman3
 
ORIENTATION-CIS.pdf
ORIENTATION-CIS.pdfORIENTATION-CIS.pdf
ORIENTATION-CIS.pdf
JohnLagman3
 

More from JohnLagman3 (20)

8.-Javascript-report powerpoint presentation
8.-Javascript-report powerpoint presentation8.-Javascript-report powerpoint presentation
8.-Javascript-report powerpoint presentation
 
7.-Bootstrap-5-report powerpoint presentation
7.-Bootstrap-5-report powerpoint presentation7.-Bootstrap-5-report powerpoint presentation
7.-Bootstrap-5-report powerpoint presentation
 
1._Introduction_to_HTML5 powerpoint presentation
1._Introduction_to_HTML5 powerpoint presentation1._Introduction_to_HTML5 powerpoint presentation
1._Introduction_to_HTML5 powerpoint presentation
 
bufferoverflow-151214121251 presentation
bufferoverflow-151214121251 presentationbufferoverflow-151214121251 presentation
bufferoverflow-151214121251 presentation
 
Variables in MIT App Inventor powerpoint
Variables in MIT App Inventor powerpointVariables in MIT App Inventor powerpoint
Variables in MIT App Inventor powerpoint
 
Web-Development Powerpoint Presentation.
Web-Development Powerpoint Presentation.Web-Development Powerpoint Presentation.
Web-Development Powerpoint Presentation.
 
History of Android powerpoint presentation
History of Android powerpoint presentationHistory of Android powerpoint presentation
History of Android powerpoint presentation
 
Mobile Application Development powerpoint
Mobile Application Development powerpointMobile Application Development powerpoint
Mobile Application Development powerpoint
 
Presentation of Hyper Text Markup Language
Presentation of Hyper Text Markup LanguagePresentation of Hyper Text Markup Language
Presentation of Hyper Text Markup Language
 
html-150424090224-conversion-gate0.2.pdf
html-150424090224-conversion-gate0.2.pdfhtml-150424090224-conversion-gate0.2.pdf
html-150424090224-conversion-gate0.2.pdf
 
Hypertext Mark Up Language Introduction.
Hypertext Mark Up Language Introduction.Hypertext Mark Up Language Introduction.
Hypertext Mark Up Language Introduction.
 
Lesson 4 - Introduction to Filmora.pptx
Lesson 4 - Introduction to Filmora.pptxLesson 4 - Introduction to Filmora.pptx
Lesson 4 - Introduction to Filmora.pptx
 
1.-Introduction-report.pdf
1.-Introduction-report.pdf1.-Introduction-report.pdf
1.-Introduction-report.pdf
 
Lesson 1 Animation.pdf
Lesson 1 Animation.pdfLesson 1 Animation.pdf
Lesson 1 Animation.pdf
 
Lesson 1.pdf
Lesson 1.pdfLesson 1.pdf
Lesson 1.pdf
 
Confidentiality Privacy and Security.ppt
Confidentiality Privacy and Security.pptConfidentiality Privacy and Security.ppt
Confidentiality Privacy and Security.ppt
 
physicalsecurity-150317020111-conversion-gate01.pdf
physicalsecurity-150317020111-conversion-gate01.pdfphysicalsecurity-150317020111-conversion-gate01.pdf
physicalsecurity-150317020111-conversion-gate01.pdf
 
Introduction to BIOMETRICS Security.pptx
Introduction to BIOMETRICS Security.pptxIntroduction to BIOMETRICS Security.pptx
Introduction to BIOMETRICS Security.pptx
 
1.-Introduction-report.pptx
1.-Introduction-report.pptx1.-Introduction-report.pptx
1.-Introduction-report.pptx
 
ORIENTATION-CIS.pdf
ORIENTATION-CIS.pdfORIENTATION-CIS.pdf
ORIENTATION-CIS.pdf
 

Recently uploaded

Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
DeeptiGupta154
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
Celine George
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
Special education needs
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
MIRIAMSALINAS13
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
Jisc
 
Sectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdfSectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdf
Vivekanand Anglo Vedic Academy
 
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdfESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
Fundacja Rozwoju Społeczeństwa Przedsiębiorczego
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
Anna Sz.
 
How to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERPHow to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERP
Celine George
 
Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptxMARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
bennyroshan06
 
Basic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumersBasic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumers
PedroFerreira53928
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
Vivekanand Anglo Vedic Academy
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
MysoreMuleSoftMeetup
 
Fish and Chips - have they had their chips
Fish and Chips - have they had their chipsFish and Chips - have they had their chips
Fish and Chips - have they had their chips
GeoBlogs
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
Pavel ( NSTU)
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
Jheel Barad
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Thiyagu K
 

Recently uploaded (20)

Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
 
Sectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdfSectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdf
 
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdfESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
 
How to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERPHow to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERP
 
Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......
 
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptxMARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
 
Basic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumersBasic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumers
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
 
Fish and Chips - have they had their chips
Fish and Chips - have they had their chipsFish and Chips - have they had their chips
Fish and Chips - have they had their chips
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
 

Multiple_Linear_Regression Presentation.

  • 1. Basic Biostat 15: Multiple Linear Regression 1 Chapter 15: Multiple Linear Regression
  • 2. Basic Biostat 15: Multiple Linear Regression 2 In Chapter 15: 15.1 The General Idea 15.2 The Multiple Regression Model 15.3 Categorical Explanatory Variables 15.4 Regression Coefficients [15.5 ANOVA for Multiple Linear Regression] [15.6 Examining Conditions] [Not covered in recorded presentation]
  • 3. Basic Biostat 15: Multiple Linear Regression 3 15.1 The General Idea Simple regression considers the relation between a single explanatory variable and response variable
  • 4. Basic Biostat 15: Multiple Linear Regression 4 The General Idea Multiple regression simultaneously considers the influence of multiple explanatory variables on a response variable Y The intent is to look at the independent effect of each variable while “adjusting out” the influence of potential confounders
  • 5. Basic Biostat 15: Multiple Linear Regression 5 Regression Modeling • A simple regression model (one independent variable) fits a regression line in 2-dimensional space • A multiple regression model with two explanatory variables fits a regression plane in 3- dimensional space
  • 6. Basic Biostat 15: Multiple Linear Regression 6 Simple Regression Model Regression coefficients are estimated by minimizing ∑residuals2 (i.e., sum of the squared residuals) to derive this model: The standard error of the regression (sY|x) is based on the squared residuals:
  • 7. Basic Biostat 15: Multiple Linear Regression 7 Multiple Regression Model Again, estimates for the multiple slope coefficients are derived by minimizing ∑residuals2 to derive this multiple regression model: Again, the standard error of the regression is based on the ∑residuals2:
  • 8. Basic Biostat 15: Multiple Linear Regression 8 Multiple Regression Model • Intercept α predicts where the regression plane crosses the Y axis • Slope for variable X1 (β1) predicts the change in Y per unit X1 holding X2 constant • The slope for variable X2 (β2) predicts the change in Y per unit X2 holding X1 constant
  • 9. Basic Biostat 15: Multiple Linear Regression 9 Multiple Regression Model A multiple regression model with k independent variables fits a regression “surface” in k + 1 dimensional space (cannot be visualized)
  • 10. Basic Biostat 15: Multiple Linear Regression 10 15.3 Categorical Explanatory Variables in Regression Models • Categorical independent variables can be incorporated into a regression model by converting them into 0/1 (“dummy”) variables • For binary variables, code dummies “0” for “no” and 1 for “yes”
  • 11. Basic Biostat 15: Multiple Linear Regression 11 Dummy Variables, More than two levels For categorical variables with k categories, use k–1 dummy variables SMOKE2 has three levels, initially coded 0 = non-smoker 1 = former smoker 2 = current smoker Use k – 1 = 3 – 1 = 2 dummy variables to code this information like this:
  • 12. Basic Biostat 15: Multiple Linear Regression 12 Illustrative Example Childhood respiratory health survey. • Binary explanatory variable (SMOKE) is coded 0 for non-smoker and 1 for smoker • Response variable Forced Expiratory Volume (FEV) is measured in liters/second • The mean FEV in nonsmokers is 2.566 • The mean FEV in smokers is 3.277
  • 13. Basic Biostat 15: Multiple Linear Regression 13 Example, cont. • Regress FEV on SMOKE least squares regression line: ŷ = 2.566 + 0.711X • Intercept (2.566) = the mean FEV of group 0 • Slope = the mean difference in FEV = 3.277 − 2.566 = 0.711 • tstat = 6.464 with 652 df, P ≈ 0.000 (same as equal variance t test) • The 95% CI for slope β is 0.495 to 0.927 (same as the 95% CI for μ1 − μ0)
  • 14. Basic Biostat 15: Multiple Linear Regression 14 Dummy Variable SMOKE Regression line passes through group means b = 3.277 – 2.566 = 0.711
  • 15. Basic Biostat 15: Multiple Linear Regression 15 Smoking increases FEV? • Children who smoked had higher mean FEV • How can this be true given what we know about the deleterious respiratory effects of smoking? • ANS: Smokers were older than the nonsmokers • AGE confounded the relationship between SMOKE and FEV • A multiple regression model can be used to adjust for AGE in this situation
  • 16. Basic Biostat 15: Multiple Linear Regression 16 15.4 Multiple Regression Coefficients Rely on software to calculate multiple regression statistics
  • 17. Basic Biostat 15: Multiple Linear Regression 17 Example The multiple regression model is: FEV = 0.367 + −.209(SMOKE) + .231(AGE) SPSS output for our example: Intercept a Slope b2 Slope b1
  • 18. Basic Biostat 15: Multiple Linear Regression 18 Multiple Regression Coefficients, cont. • The slope coefficient associated for SMOKE is −.206, suggesting that smokers have .206 less FEV on average compared to non-smokers (after adjusting for age) • The slope coefficient for AGE is .231, suggesting that each year of age in associated with an increase of .231 FEV units on average (after adjusting for SMOKE)
  • 19. Basic Biostat 15: Multiple Linear Regression 19 Coefficients a .367 .081 4.511 .000 -.209 .081 -.072 -2.588 .010 .231 .008 .786 28.176 .000 (Constant) smoke age Model 1 B Std. Error Unstandardized Coefficients Beta Standardized Coefficients t Sig. Dependent Variable: fev a. Inference About the Coefficients Inferential statistics are calculated for each regression coefficient. For example, in testing H0: β1 = 0 (SMOKE coefficient controlling for AGE) tstat = −2.588 and P = 0.010 df = n – k – 1 = 654 – 2 – 1 = 651
  • 20. Basic Biostat 15: Multiple Linear Regression 20 Inference About the Coefficients The 95% confidence interval for this slope of SMOKE controlling for AGE is −0.368 to − 0.050. Coefficients a .207 .527 -.368 -.050 .215 .247 (Constant) smoke age Model 1 Lower Bound Upper Bound 95% Confidence Interval for B Dependent Variable: fev a.

Editor's Notes

  1. 1/5/2024
  2. 1/5/2024