SlideShare a Scribd company logo
1 of 25
Vietnam Maritime University
School of Mechanical Engineering
16/02/2024 1
Thermodynamics and Heat transfer
Vietnam Maritime University
School of Mechanical Engineering
16/02/2024 2
1. Describe some of the differences between the multiple regression and bi-variate
regression
2. Assess the importance of the R-squared statistic.
3. Examine the F-test and distribution
4. Show how we can use the F-test to determine joint significance.
Vietnam Maritime University
School of Mechanical Engineering
16/02/2024 3
In general, the regression estimates are more reliable if:
1. n is large (large dataset)
2. The sample variance of the explanatory variable is high.
3. The variance of the error term is small
4. The less closely related are the explanatory variables.
Vietnam Maritime University
School of Mechanical Engineering
16/02/2024 4
The constant and parameters are derived in the same way as with the bi-variate model. It involves minimising the sum of the error terms. The equation for the slope parameters (α) contains an expression for the covariance
between the explanatory variables.
When a new variable is added it affects the coefficients of the existing variables
Vietnam Maritime University
School of Mechanical Engineering
16/02/2024 5
)
tan
,
45
(
56
.
1
,
3
.
0
R
(0.3)
(0.4)
(0.1)
9
.
0
4
.
0
6
.
0
ˆ
2
brackets
in
errors
dard
s
ns
observatio
DW
z
x
y t
t
t





Regression
Vietnam Maritime University
School of Mechanical Engineering
16/02/2024 6
In the previous slide, a unit rise in x produces 0.4 of a unit rise in y, with z held
constant.
Interpretation of the t-statistics remains the same, i.e. 0.4-0/0.4=1 (critical value is
2.02), so we fail to reject the null and x is not significant.
The R-squared statistic indicates 30% of the variance of y is explained
DW statistic indicates we are not sure if there is autocorrelation, as the DW
statistic lies in the zone of indecision (Dl=1.43, Du=1.62)
Regression
Vietnam Maritime University
School of Mechanical Engineering
16/02/2024 7
2
R
Adjusted R-squared Statistic
This statistic is used in a multiple regression
analysis, because it does not automatically rise when
an extra explanatory variable is added.
Its value depends on the number of explanatory
variables
It is usually written as (R-bar squared):
Vietnam Maritime University
School of Mechanical Engineering
16/02/2024 8
)
1
(
1 2
2
2
R
k
n
k
R
R 




Adjusted R-squared
In generally rises when the t-statistic of an extra
variable exceeds unity (1),so does not necessarily
imply the extra variable is significant.
It has the following formula (n-number of
observations, k-number of parameters):
Vietnam Maritime University
School of Mechanical Engineering
16/02/2024 9
The F-test is an analysis of the variance of a regression
It can be used to test for the significance of a group of variables or for a restriction
It has a different distribution to the t-test, but can be used to test at different levels of
significance
When determining the F-statistic we need to collect either the residual sum of squares (RSS) or
the R-squared statistic
The formula for the F-test of a group of variables can be expressed in terms of either the
residual sum of squares (RSS) or explained sum of squares (ESS)
The F-test
Vietnam Maritime University
School of Mechanical Engineering
16/02/2024 10
This is the F-test for the goodness of fit of a regression and in effect tests for the joint significance of the explanatory variables.
It is based on the R-squared statistic
It is routinely produced by most computer software packages
It follows the F-distribution, which is quite different to the t-test
F-test of explanatory power
Vietnam Maritime University
School of Mechanical Engineering
16/02/2024 11
1
2
2
)
/(
)
1
(
1
/






k
k
n
F
k
n
R
k
R
F
F-test formula
The formula for the F-test of the goodness of fit is:
Vietnam Maritime University
School of Mechanical Engineering
16/02/2024 12
To find the critical value of the F-distribution, in general you need to know the number of parameters and the degrees of freedom
The number of parameters is then read across the top of the table, the d of f. from the side. Where these two values intersect, we find the critical value.
F-distribution
Vietnam Maritime University
School of Mechanical Engineering
16/02/2024 13
5.1
5.2
5.4
5.8
6.6
5
6.3
6.4
6.6
7.0
7.7
4
9.0
9.1
9.3
9.6
10.1
3
19.3
19.3
19.2
19.0
18.5
2
230.2
224.6
215.7
199.5
161.4
1
5
4
3
2
1
F-test critical value
Vietnam Maritime University
School of Mechanical Engineering
16/02/2024 14
3
4
F
F-distribution
Both go up to infinity
If we wanted to find the critical value for F(3,4), it
would be 6.6
The first value (3) is often termed the numerator,
whilst the second (4) the denominator.
It is often written as:
Vietnam Maritime University
School of Mechanical Engineering
16/02/2024 15
When testing for the significance of the goodness of fit, our null hypothesis is that the explanatory variables jointly equal 0.
If our F-statistic is below the critical value we fail to reject the null and therefore we say the goodness of fit is not significant.
F-statistic
Vietnam Maritime University
School of Mechanical Engineering
16/02/2024 16
The F-test is useful for testing a number of hypotheses and is often used to test for the joint significance of a group of variables
In this type of test, we often refer to ‘testing a restriction’
This restriction is that a group of explanatory variables are jointly equal to 0
Joint Significance
Vietnam Maritime University
School of Mechanical Engineering
16/02/2024 17
remaining
freedom
of
Degrees
remaining/
squares
of
sum
Residual
up
used
freedom
of
degrees
Extra
fit/
in
t
Improvemen
F-test for joint significance
The formula for this test can be viewed as:
Vietnam Maritime University
School of Mechanical Engineering
16/02/2024 18
RSS
restricted
RSS
RSS
ed
unrestrict
RSS
el
ed
unrestrict
in
parameters
k
ns
restrictio
of
number
m
k
n
RSS
m
RSS
RSS
F
R
u
u
u
R
mod
/
/







F-tests
The test for joint significance has its own formula,
which takes the following form:
Vietnam Maritime University
School of Mechanical Engineering
16/02/2024 19
To carry out this test you need to conduct two separate OLS regression, one with
all the explanatory variables in (unrestricted equation), the other with the
variables whose joint significance is being tested, removed.
Then collect the RSS from both equations.
Put the values in the formula
Find the critical value and compare with the test statistic. The null hypothesis is
that the variables jointly equal 0.
Joint Significance of a group of variables
Vietnam Maritime University
School of Mechanical Engineering
16/02/2024 20
ed
unrestrict
u
z
x
w
y
restricted
u
w
y
t
t
t
t
t
t
t
t










3
2
1
0
1
0






Joint Significance
If we have a 3 explanatory variable model and wish to
test for the joint significance of 2 of the variables (x and
z), we need to run the following restricted and
unrestricted models:
Vietnam Maritime University
School of Mechanical Engineering
16/02/2024 21
5
.
1
75
.
0
1
0
3
2
1
0














R
t
t
t
u
t
t
t
t
t
RSS
restricted
v
x
y
RSS
ed
unrestrict
u
z
w
x
y






Given the following model, we wish to test the joint significance
of w and z. Having estimated them, we collect their respective
RSSs (n=60).
Vietnam Maritime University
School of Mechanical Engineering
16/02/2024 22
s
y variable
explanator
are
,
,
s
error term
are
,
.
parameters
slope
are
,
....
constants.
are
,
:
1
3
1
0
0
t
t
t
t
t
z
w
x
v
u
where





Vietnam Maritime University
School of Mechanical Engineering
16/02/2024 23
15
.
3
:
value
critical
28
0134
.
0
375
.
0
4
60
/
75
.
0
2
/
75
.
0
5
.
1
2
56 




F
Joint significance
Having obtained the RSSs, we need to input the
values into the earlier formula (slide 18):
Vietnam Maritime University
School of Mechanical Engineering
16/02/2024 24
0
:
0
:
3
2
1
3
2
0








H
H
Joint significance
As the F statistic is greater than the critical value
(28>3.15), we reject the null hypothesis and
conclude that the variables w and z are jointly
significant and should remain in the model.
Vietnam Maritime University
School of Mechanical Engineering
16/02/2024 25
1. Multiple regression analysis is similar to bi-variate analysis, however
correlation between the x variables needs to be taken into account
2. The adjusted R-squared statistic tends to be used in this case
3. The F-test is used to test for joint explanatory power of the whole regression or
a sub-set of the variables
4. We often use the F-test when testing for things like seasonal effects in the data.

More Related Content

Similar to An intrduction to the Multiple Regression.pptx

Stress-Strength Reliability of type II compound Laplace distribution
Stress-Strength Reliability of type II compound Laplace distributionStress-Strength Reliability of type II compound Laplace distribution
Stress-Strength Reliability of type II compound Laplace distributionIRJET Journal
 
20 ms-me-amd-06 (simple linear regression)
20 ms-me-amd-06 (simple linear regression)20 ms-me-amd-06 (simple linear regression)
20 ms-me-amd-06 (simple linear regression)HassanShah124
 
Fill in the blanks8.1.      The magnitude of the correlation .docx
Fill in the blanks8.1.      The magnitude of the correlation .docxFill in the blanks8.1.      The magnitude of the correlation .docx
Fill in the blanks8.1.      The magnitude of the correlation .docxmglenn3
 
Correation, Linear Regression and Multilinear Regression using R software
Correation, Linear Regression and Multilinear Regression using R softwareCorreation, Linear Regression and Multilinear Regression using R software
Correation, Linear Regression and Multilinear Regression using R softwareshrikrishna kesharwani
 
Second or fourth-order finite difference operators, which one is most effective?
Second or fourth-order finite difference operators, which one is most effective?Second or fourth-order finite difference operators, which one is most effective?
Second or fourth-order finite difference operators, which one is most effective?Premier Publishers
 
161783709 chapter-04-answers
161783709 chapter-04-answers161783709 chapter-04-answers
161783709 chapter-04-answersBookStoreLib
 
161783709 chapter-04-answers
161783709 chapter-04-answers161783709 chapter-04-answers
161783709 chapter-04-answersFiras Husseini
 
L2 flash cards quantitative methods - SS3
L2 flash cards quantitative methods - SS3L2 flash cards quantitative methods - SS3
L2 flash cards quantitative methods - SS3analystbuddy
 
UNIT - III.ppt
UNIT - III.pptUNIT - III.ppt
UNIT - III.pptAJIN49
 
Local Model Checking Algorithm Based on Mu-calculus with Partial Orders
Local Model Checking Algorithm Based on Mu-calculus with Partial OrdersLocal Model Checking Algorithm Based on Mu-calculus with Partial Orders
Local Model Checking Algorithm Based on Mu-calculus with Partial OrdersTELKOMNIKA JOURNAL
 
Studying the scientific state of students using the adjusted residuals
 Studying the scientific state of students using the adjusted residuals Studying the scientific state of students using the adjusted residuals
Studying the scientific state of students using the adjusted residualsAlexander Decker
 
Studying the scientific state of students using the adjusted residuals
 Studying the scientific state of students using the adjusted residuals Studying the scientific state of students using the adjusted residuals
Studying the scientific state of students using the adjusted residualsAlexander Decker
 
Studying the scientific state of students using the adjusted residuals
 Studying the scientific state of students using the adjusted residuals Studying the scientific state of students using the adjusted residuals
Studying the scientific state of students using the adjusted residualsAlexander Decker
 
Analysis of stress in circular hollow section by fea and analytical technique
Analysis of stress in circular hollow section by fea and analytical techniqueAnalysis of stress in circular hollow section by fea and analytical technique
Analysis of stress in circular hollow section by fea and analytical techniqueeSAT Journals
 
Bba 3274 qm week 6 part 1 regression models
Bba 3274 qm week 6 part 1 regression modelsBba 3274 qm week 6 part 1 regression models
Bba 3274 qm week 6 part 1 regression modelsStephen Ong
 

Similar to An intrduction to the Multiple Regression.pptx (20)

Stress-Strength Reliability of type II compound Laplace distribution
Stress-Strength Reliability of type II compound Laplace distributionStress-Strength Reliability of type II compound Laplace distribution
Stress-Strength Reliability of type II compound Laplace distribution
 
20 ms-me-amd-06 (simple linear regression)
20 ms-me-amd-06 (simple linear regression)20 ms-me-amd-06 (simple linear regression)
20 ms-me-amd-06 (simple linear regression)
 
Fill in the blanks8.1.      The magnitude of the correlation .docx
Fill in the blanks8.1.      The magnitude of the correlation .docxFill in the blanks8.1.      The magnitude of the correlation .docx
Fill in the blanks8.1.      The magnitude of the correlation .docx
 
Correation, Linear Regression and Multilinear Regression using R software
Correation, Linear Regression and Multilinear Regression using R softwareCorreation, Linear Regression and Multilinear Regression using R software
Correation, Linear Regression and Multilinear Regression using R software
 
App_Stat
App_Stat App_Stat
App_Stat
 
Second or fourth-order finite difference operators, which one is most effective?
Second or fourth-order finite difference operators, which one is most effective?Second or fourth-order finite difference operators, which one is most effective?
Second or fourth-order finite difference operators, which one is most effective?
 
161783709 chapter-04-answers
161783709 chapter-04-answers161783709 chapter-04-answers
161783709 chapter-04-answers
 
161783709 chapter-04-answers
161783709 chapter-04-answers161783709 chapter-04-answers
161783709 chapter-04-answers
 
Chapter 6.pptx
Chapter 6.pptxChapter 6.pptx
Chapter 6.pptx
 
L2 flash cards quantitative methods - SS3
L2 flash cards quantitative methods - SS3L2 flash cards quantitative methods - SS3
L2 flash cards quantitative methods - SS3
 
UNIT - III.ppt
UNIT - III.pptUNIT - III.ppt
UNIT - III.ppt
 
Local Model Checking Algorithm Based on Mu-calculus with Partial Orders
Local Model Checking Algorithm Based on Mu-calculus with Partial OrdersLocal Model Checking Algorithm Based on Mu-calculus with Partial Orders
Local Model Checking Algorithm Based on Mu-calculus with Partial Orders
 
Implimenting_HJM
Implimenting_HJMImplimenting_HJM
Implimenting_HJM
 
Studying the scientific state of students using the adjusted residuals
 Studying the scientific state of students using the adjusted residuals Studying the scientific state of students using the adjusted residuals
Studying the scientific state of students using the adjusted residuals
 
Studying the scientific state of students using the adjusted residuals
 Studying the scientific state of students using the adjusted residuals Studying the scientific state of students using the adjusted residuals
Studying the scientific state of students using the adjusted residuals
 
Studying the scientific state of students using the adjusted residuals
 Studying the scientific state of students using the adjusted residuals Studying the scientific state of students using the adjusted residuals
Studying the scientific state of students using the adjusted residuals
 
Analysis of stress in circular hollow section by fea and analytical technique
Analysis of stress in circular hollow section by fea and analytical techniqueAnalysis of stress in circular hollow section by fea and analytical technique
Analysis of stress in circular hollow section by fea and analytical technique
 
Chap 3 (1) (1).pdf
Chap 3 (1) (1).pdfChap 3 (1) (1).pdf
Chap 3 (1) (1).pdf
 
Chap 3 (1).pdf
Chap 3 (1).pdfChap 3 (1).pdf
Chap 3 (1).pdf
 
Bba 3274 qm week 6 part 1 regression models
Bba 3274 qm week 6 part 1 regression modelsBba 3274 qm week 6 part 1 regression models
Bba 3274 qm week 6 part 1 regression models
 

More from vigia41

Qua trinh va thiet bi truyen nhiet_Chuong 1. Dan nhiet.ppt
Qua trinh va thiet bi truyen nhiet_Chuong 1. Dan nhiet.pptQua trinh va thiet bi truyen nhiet_Chuong 1. Dan nhiet.ppt
Qua trinh va thiet bi truyen nhiet_Chuong 1. Dan nhiet.pptvigia41
 
Heaviside step function in Laplace transfrom.pptx
Heaviside step function in Laplace transfrom.pptxHeaviside step function in Laplace transfrom.pptx
Heaviside step function in Laplace transfrom.pptxvigia41
 
Basic biostatistics_Chapter 15_Multiple linear regresson.ppt
Basic biostatistics_Chapter 15_Multiple linear regresson.pptBasic biostatistics_Chapter 15_Multiple linear regresson.ppt
Basic biostatistics_Chapter 15_Multiple linear regresson.pptvigia41
 
An introduction to the Multivariable analysis.ppt
An introduction to the Multivariable analysis.pptAn introduction to the Multivariable analysis.ppt
An introduction to the Multivariable analysis.pptvigia41
 
A presentation for Multiple linear regression.ppt
A presentation for Multiple linear regression.pptA presentation for Multiple linear regression.ppt
A presentation for Multiple linear regression.pptvigia41
 
Slide bài giảng ERGONOMICS.ppt
Slide bài giảng ERGONOMICS.pptSlide bài giảng ERGONOMICS.ppt
Slide bài giảng ERGONOMICS.pptvigia41
 
Hoang Van Hai_Bai giang Ra quyet dinh quan tri.ppt
Hoang Van Hai_Bai giang Ra quyet dinh quan tri.pptHoang Van Hai_Bai giang Ra quyet dinh quan tri.ppt
Hoang Van Hai_Bai giang Ra quyet dinh quan tri.pptvigia41
 
Buc_xa_an.ppt
Buc_xa_an.pptBuc_xa_an.ppt
Buc_xa_an.pptvigia41
 
Thermodynamics processes
Thermodynamics processesThermodynamics processes
Thermodynamics processesvigia41
 

More from vigia41 (9)

Qua trinh va thiet bi truyen nhiet_Chuong 1. Dan nhiet.ppt
Qua trinh va thiet bi truyen nhiet_Chuong 1. Dan nhiet.pptQua trinh va thiet bi truyen nhiet_Chuong 1. Dan nhiet.ppt
Qua trinh va thiet bi truyen nhiet_Chuong 1. Dan nhiet.ppt
 
Heaviside step function in Laplace transfrom.pptx
Heaviside step function in Laplace transfrom.pptxHeaviside step function in Laplace transfrom.pptx
Heaviside step function in Laplace transfrom.pptx
 
Basic biostatistics_Chapter 15_Multiple linear regresson.ppt
Basic biostatistics_Chapter 15_Multiple linear regresson.pptBasic biostatistics_Chapter 15_Multiple linear regresson.ppt
Basic biostatistics_Chapter 15_Multiple linear regresson.ppt
 
An introduction to the Multivariable analysis.ppt
An introduction to the Multivariable analysis.pptAn introduction to the Multivariable analysis.ppt
An introduction to the Multivariable analysis.ppt
 
A presentation for Multiple linear regression.ppt
A presentation for Multiple linear regression.pptA presentation for Multiple linear regression.ppt
A presentation for Multiple linear regression.ppt
 
Slide bài giảng ERGONOMICS.ppt
Slide bài giảng ERGONOMICS.pptSlide bài giảng ERGONOMICS.ppt
Slide bài giảng ERGONOMICS.ppt
 
Hoang Van Hai_Bai giang Ra quyet dinh quan tri.ppt
Hoang Van Hai_Bai giang Ra quyet dinh quan tri.pptHoang Van Hai_Bai giang Ra quyet dinh quan tri.ppt
Hoang Van Hai_Bai giang Ra quyet dinh quan tri.ppt
 
Buc_xa_an.ppt
Buc_xa_an.pptBuc_xa_an.ppt
Buc_xa_an.ppt
 
Thermodynamics processes
Thermodynamics processesThermodynamics processes
Thermodynamics processes
 

Recently uploaded

Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . pptDineshKumar4165
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...Call Girls in Nagpur High Profile
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdfKamal Acharya
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Arindam Chakraborty, Ph.D., P.E. (CA, TX)
 
Unit 2- Effective stress & Permeability.pdf
Unit 2- Effective stress & Permeability.pdfUnit 2- Effective stress & Permeability.pdf
Unit 2- Effective stress & Permeability.pdfRagavanV2
 
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank  Design by Working Stress - IS Method.pdfIntze Overhead Water Tank  Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank Design by Working Stress - IS Method.pdfSuman Jyoti
 
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...tanu pandey
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptDineshKumar4165
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...roncy bisnoi
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Bookingdharasingh5698
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Call Girls in Nagpur High Profile
 
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Bookingroncy bisnoi
 
Intro To Electric Vehicles PDF Notes.pdf
Intro To Electric Vehicles PDF Notes.pdfIntro To Electric Vehicles PDF Notes.pdf
Intro To Electric Vehicles PDF Notes.pdfrs7054576148
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfJiananWang21
 
Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01KreezheaRecto
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTbhaskargani46
 

Recently uploaded (20)

Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdf
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
 
NFPA 5000 2024 standard .
NFPA 5000 2024 standard                                  .NFPA 5000 2024 standard                                  .
NFPA 5000 2024 standard .
 
Unit 2- Effective stress & Permeability.pdf
Unit 2- Effective stress & Permeability.pdfUnit 2- Effective stress & Permeability.pdf
Unit 2- Effective stress & Permeability.pdf
 
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank  Design by Working Stress - IS Method.pdfIntze Overhead Water Tank  Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
 
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
 
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
 
Intro To Electric Vehicles PDF Notes.pdf
Intro To Electric Vehicles PDF Notes.pdfIntro To Electric Vehicles PDF Notes.pdf
Intro To Electric Vehicles PDF Notes.pdf
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
 
Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01
 
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
 

An intrduction to the Multiple Regression.pptx

  • 1. Vietnam Maritime University School of Mechanical Engineering 16/02/2024 1 Thermodynamics and Heat transfer
  • 2. Vietnam Maritime University School of Mechanical Engineering 16/02/2024 2 1. Describe some of the differences between the multiple regression and bi-variate regression 2. Assess the importance of the R-squared statistic. 3. Examine the F-test and distribution 4. Show how we can use the F-test to determine joint significance.
  • 3. Vietnam Maritime University School of Mechanical Engineering 16/02/2024 3 In general, the regression estimates are more reliable if: 1. n is large (large dataset) 2. The sample variance of the explanatory variable is high. 3. The variance of the error term is small 4. The less closely related are the explanatory variables.
  • 4. Vietnam Maritime University School of Mechanical Engineering 16/02/2024 4 The constant and parameters are derived in the same way as with the bi-variate model. It involves minimising the sum of the error terms. The equation for the slope parameters (α) contains an expression for the covariance between the explanatory variables. When a new variable is added it affects the coefficients of the existing variables
  • 5. Vietnam Maritime University School of Mechanical Engineering 16/02/2024 5 ) tan , 45 ( 56 . 1 , 3 . 0 R (0.3) (0.4) (0.1) 9 . 0 4 . 0 6 . 0 ˆ 2 brackets in errors dard s ns observatio DW z x y t t t      Regression
  • 6. Vietnam Maritime University School of Mechanical Engineering 16/02/2024 6 In the previous slide, a unit rise in x produces 0.4 of a unit rise in y, with z held constant. Interpretation of the t-statistics remains the same, i.e. 0.4-0/0.4=1 (critical value is 2.02), so we fail to reject the null and x is not significant. The R-squared statistic indicates 30% of the variance of y is explained DW statistic indicates we are not sure if there is autocorrelation, as the DW statistic lies in the zone of indecision (Dl=1.43, Du=1.62) Regression
  • 7. Vietnam Maritime University School of Mechanical Engineering 16/02/2024 7 2 R Adjusted R-squared Statistic This statistic is used in a multiple regression analysis, because it does not automatically rise when an extra explanatory variable is added. Its value depends on the number of explanatory variables It is usually written as (R-bar squared):
  • 8. Vietnam Maritime University School of Mechanical Engineering 16/02/2024 8 ) 1 ( 1 2 2 2 R k n k R R      Adjusted R-squared In generally rises when the t-statistic of an extra variable exceeds unity (1),so does not necessarily imply the extra variable is significant. It has the following formula (n-number of observations, k-number of parameters):
  • 9. Vietnam Maritime University School of Mechanical Engineering 16/02/2024 9 The F-test is an analysis of the variance of a regression It can be used to test for the significance of a group of variables or for a restriction It has a different distribution to the t-test, but can be used to test at different levels of significance When determining the F-statistic we need to collect either the residual sum of squares (RSS) or the R-squared statistic The formula for the F-test of a group of variables can be expressed in terms of either the residual sum of squares (RSS) or explained sum of squares (ESS) The F-test
  • 10. Vietnam Maritime University School of Mechanical Engineering 16/02/2024 10 This is the F-test for the goodness of fit of a regression and in effect tests for the joint significance of the explanatory variables. It is based on the R-squared statistic It is routinely produced by most computer software packages It follows the F-distribution, which is quite different to the t-test F-test of explanatory power
  • 11. Vietnam Maritime University School of Mechanical Engineering 16/02/2024 11 1 2 2 ) /( ) 1 ( 1 /       k k n F k n R k R F F-test formula The formula for the F-test of the goodness of fit is:
  • 12. Vietnam Maritime University School of Mechanical Engineering 16/02/2024 12 To find the critical value of the F-distribution, in general you need to know the number of parameters and the degrees of freedom The number of parameters is then read across the top of the table, the d of f. from the side. Where these two values intersect, we find the critical value. F-distribution
  • 13. Vietnam Maritime University School of Mechanical Engineering 16/02/2024 13 5.1 5.2 5.4 5.8 6.6 5 6.3 6.4 6.6 7.0 7.7 4 9.0 9.1 9.3 9.6 10.1 3 19.3 19.3 19.2 19.0 18.5 2 230.2 224.6 215.7 199.5 161.4 1 5 4 3 2 1 F-test critical value
  • 14. Vietnam Maritime University School of Mechanical Engineering 16/02/2024 14 3 4 F F-distribution Both go up to infinity If we wanted to find the critical value for F(3,4), it would be 6.6 The first value (3) is often termed the numerator, whilst the second (4) the denominator. It is often written as:
  • 15. Vietnam Maritime University School of Mechanical Engineering 16/02/2024 15 When testing for the significance of the goodness of fit, our null hypothesis is that the explanatory variables jointly equal 0. If our F-statistic is below the critical value we fail to reject the null and therefore we say the goodness of fit is not significant. F-statistic
  • 16. Vietnam Maritime University School of Mechanical Engineering 16/02/2024 16 The F-test is useful for testing a number of hypotheses and is often used to test for the joint significance of a group of variables In this type of test, we often refer to ‘testing a restriction’ This restriction is that a group of explanatory variables are jointly equal to 0 Joint Significance
  • 17. Vietnam Maritime University School of Mechanical Engineering 16/02/2024 17 remaining freedom of Degrees remaining/ squares of sum Residual up used freedom of degrees Extra fit/ in t Improvemen F-test for joint significance The formula for this test can be viewed as:
  • 18. Vietnam Maritime University School of Mechanical Engineering 16/02/2024 18 RSS restricted RSS RSS ed unrestrict RSS el ed unrestrict in parameters k ns restrictio of number m k n RSS m RSS RSS F R u u u R mod / /        F-tests The test for joint significance has its own formula, which takes the following form:
  • 19. Vietnam Maritime University School of Mechanical Engineering 16/02/2024 19 To carry out this test you need to conduct two separate OLS regression, one with all the explanatory variables in (unrestricted equation), the other with the variables whose joint significance is being tested, removed. Then collect the RSS from both equations. Put the values in the formula Find the critical value and compare with the test statistic. The null hypothesis is that the variables jointly equal 0. Joint Significance of a group of variables
  • 20. Vietnam Maritime University School of Mechanical Engineering 16/02/2024 20 ed unrestrict u z x w y restricted u w y t t t t t t t t           3 2 1 0 1 0       Joint Significance If we have a 3 explanatory variable model and wish to test for the joint significance of 2 of the variables (x and z), we need to run the following restricted and unrestricted models:
  • 21. Vietnam Maritime University School of Mechanical Engineering 16/02/2024 21 5 . 1 75 . 0 1 0 3 2 1 0               R t t t u t t t t t RSS restricted v x y RSS ed unrestrict u z w x y       Given the following model, we wish to test the joint significance of w and z. Having estimated them, we collect their respective RSSs (n=60).
  • 22. Vietnam Maritime University School of Mechanical Engineering 16/02/2024 22 s y variable explanator are , , s error term are , . parameters slope are , .... constants. are , : 1 3 1 0 0 t t t t t z w x v u where     
  • 23. Vietnam Maritime University School of Mechanical Engineering 16/02/2024 23 15 . 3 : value critical 28 0134 . 0 375 . 0 4 60 / 75 . 0 2 / 75 . 0 5 . 1 2 56      F Joint significance Having obtained the RSSs, we need to input the values into the earlier formula (slide 18):
  • 24. Vietnam Maritime University School of Mechanical Engineering 16/02/2024 24 0 : 0 : 3 2 1 3 2 0         H H Joint significance As the F statistic is greater than the critical value (28>3.15), we reject the null hypothesis and conclude that the variables w and z are jointly significant and should remain in the model.
  • 25. Vietnam Maritime University School of Mechanical Engineering 16/02/2024 25 1. Multiple regression analysis is similar to bi-variate analysis, however correlation between the x variables needs to be taken into account 2. The adjusted R-squared statistic tends to be used in this case 3. The F-test is used to test for joint explanatory power of the whole regression or a sub-set of the variables 4. We often use the F-test when testing for things like seasonal effects in the data.