SlideShare a Scribd company logo
FAHAD BIN MOSTAFA
TEXAS TECH UNIVERSITY
MAY 05, 2020
Texas Tech University
Multiple Linear Regression for
Cooling load efficiency of residential buildings
DEPARTMENT OF MATHEMATICS AND STATISTICS, TEXAS TECH UNIVERSITY 1
Outlines
 Background
 Methodology
 Results
 Conclusion
DEPARTMENT OF MATHEMATICS AND STATISTICS, TEXAS TECH UNIVERSITY 2
Background
 Primary aim of this regression analysis is to show statistical
significance of many statistical technique to analysis cooling load of
buildings.
 Perform energy analysis using 12 different building shapes simulated
in Ecotect. The buildings differ with respect to the glazing area, the
glazing area distribution, and the orientation, amongst other parameters.
 Simulate various settings as functions of the afore-mentioned
characteristics to obtain 768 building shapes.
 Dataset comprises 768 samples and 8 features, aiming to predict two
real valued responses. However, we only work with one response.
DEPARTMENT OF MATHEMATICS AND STATISTICS, TEXAS TECH UNIVERSITY 3
DEPARTMENT OF MATHEMATICS AND STATISTICS, TEXAS TECH UNIVERSITY 4
Variables Descriptions
𝑋1 Relative compactness
𝑋2 Surface area
𝑋3 Wall area
𝑋4 Roof area
𝑋5 Overall Hight
𝑋6 Orientation
𝑋7 Glazing area
𝑋8 Glazing area distribution
𝑌𝐶𝐿 Cooling Load
Nomenclature of predictors and response
Methodology
DEPARTMENT OF MATHEMATICS AND STATISTICS, TEXAS TECH UNIVERSITY 5
The multiple linear regression model is
𝑌𝑖~ 𝑁 β 0+ X 𝑖1β 1+ . . . + X 𝑖𝑝β 𝑝 , 𝜎2
1
Using Matrix Form, β 𝑜𝑙𝑠 = (𝑋 𝑇 𝑋)−1 𝑋 𝑇 𝑦
Hat matrix, 𝐻 = 𝑋(𝑋 𝑇 𝑋)−1 𝑋 𝑇
𝐻 involves the weights ℎ𝑖𝑖; 𝑖 = 1 … 𝑛 depends on predictors.
Cook distance, 𝐷𝑖 =
𝑒𝑖
2
𝑝𝑠2 [
ℎ𝑖𝑖
1−ℎ𝑖𝑖
2]
Box Cox Transformation, gλ y =
𝑦λ−1
λ
; ; λ ≠ 0
log λ ; λ = 0
(2)
The weighted least squares estimate, β 𝑊𝐿𝑆 = (𝑋 𝑇
𝑊𝑋)−1
𝑋 𝑇
𝑊𝑦
K-fold cross validation: Comparing RMSE with model RMSE
Exploratory Analysis
DEPARTMENT OF MATHEMATICS AND STATISTICS, TEXAS TECH UNIVERSITY 6
Model Selection
DEPARTMENT OF MATHEMATICS AND STATISTICS, TEXAS TECH UNIVERSITY 7
Based on AIC why not adj-R-square!!!
DEPARTMENT OF MATHEMATICS AND STATISTICS, TEXAS TECH UNIVERSITY 8
Table 03: summary statistics of the model 3
Coefficients Estimates Std. Error Pr(> |t|)
Intercept 97.336561 20.754252 3.24e-06
Relative compactness -70.787707 11.219992 4.76e-10
Surface area -0.088245 0.018620 < 2e-16
Overall height 4.283843 0.368557 1.15e-09
Wall area 0.044682 0.007249 1.15e-09
Orientation 0.121510 0.103269 0.24
Glazing area 14.817971 0.867239 < 2e-16
Result for Model 2
DEPARTMENT OF MATHEMATICS AND STATISTICS, TEXAS TECH UNIVERSITY 9
Table 05: Analysis of Variance Table (ANOVA)
Source DF Sum of Square Mean Square F value Pr(>F)
Relative compactness 1 27931.9 27931.9 2726.885 < 2.2e−16
Surface area 1 8254.2 8254.2 805.823 < 2.2e−16
Overall height 1 22046.5 22046.5 2152.309 < 2.2e−16
Wall area 1 389.0 389.0 37.973 1.162e−10
Glazing area 1 2988.9 2988.9 291.797 < 2.2e−16
Residuals 762 7805.3 10.2
Total 767
For this multiple linear regression, we have
𝐻0: 𝛽1 = 𝛽2 = 𝛽3 = 𝛽4 = 𝛽5 = 0
𝐻1: 𝐴𝑡 𝑙𝑒𝑎𝑠𝑡 𝑜𝑛𝑒 𝛽 𝑖𝑠 𝑛𝑜𝑡 𝑧𝑒𝑟𝑜
The null hypothesis claims that there is no significant correlation at all. That is, all of the
coefficients are zero and none of the variables belong in the model.
Test of heteroscedasticity for the model can be done by the following test
𝐻0: 𝜎2′
𝑠 𝑎𝑟𝑒 𝑒𝑞𝑢𝑎𝑙
Chi-square = 187.5252, Df = 1, p = 2.22 𝑒−16
. At
5% level of significance we can say that we do have
sufficient evidence to reject null hypothesis. So,
variances are not equal. So, it has a problem with
heteroscedasticity.
Result for Model 2
DEPARTMENT OF MATHEMATICS AND STATISTICS, TEXAS TECH UNIVERSITY 10
Exploring Cooling Load
DEPARTMENT OF MATHEMATICS AND STATISTICS, TEXAS TECH UNIVERSITY 11
λ=-0.8 and is extremely close to the maximum, which suggests a transformation of the form
𝐶𝑜𝑜𝑙𝑖𝑛𝑔_𝐿𝑜𝑎𝑑λ
− 1
λ
=
𝐶𝑜𝑜𝑙𝑖𝑛𝑔_𝐿𝑜𝑎𝑑−0.8
− 1
−0.8
Result for WLS model
DEPARTMENT OF MATHEMATICS AND STATISTICS, TEXAS TECH UNIVERSITY 12
Table 06: summary for WLS with box cox transformed response
Coefficients Estimates Std. Error Pr(>|t|)
Intercept 9.424e−01
6.312e−02
< 2e−16
Relative compactness 1.902e−02
3.416e−02
0.5777
Surface area 7.122e−05
5.674e−05 0.20977
Overall height 1.878e−02
1.13e−03
< 2e−16
Wall area 7.904e−05
2.236e−05 1.16e−09
Glazing area 5.863e−02
2.638e−03
< 2e−16
In the WLS model the Residual standard
error: 0.009118 on 762 degrees of freedom,
Multiple R-squared: 0.9137, Adjusted R-
squared: 0.9131.
F-statistic: 1613 on 5 and 762 DF, p −
value: < 2.2e−16
Table 05: Analysis of Variance Table (ANOVA) for WLS model
Source DF Sum of Square Mean Square F value Pr(>F)
Relative compactness 1 0.33606 0.33606 4042.453 < 2.2e−16
Surface area 1 0.04954 0.04954 595.887 < 2.2e−16
Overall height 1 0.24296 0.24296 2922.628 < 2.2e−16
Wall area 1 0.00103 0.00103 12.448 0.0004434
Glazing area 1 0.04106 0.04106 493.969 < 2.2e−16
Residuals 762 0.06335 0.00008
Total 767
Result for Model 2
DEPARTMENT OF MATHEMATICS AND STATISTICS, TEXAS TECH UNIVERSITY 13
Final WLS model
DEPARTMENT OF MATHEMATICS AND STATISTICS, TEXAS TECH UNIVERSITY 14
Output of final WLS model
DEPARTMENT OF MATHEMATICS AND STATISTICS, TEXAS TECH UNIVERSITY 15
Result for WLS model
DEPARTMENT OF MATHEMATICS AND STATISTICS, TEXAS TECH UNIVERSITY 16
Table 06 some extreme values from WLS model diagnosis
Data points Standardized Residual Hat CookD
22 -0.1372486 0.01772626 5.672951𝑒−05
24 -0.2019629 0.01773586 1.229031𝑒−04
45 -2.8854279 0.01386842 1.932885𝑒−02
48 -2.9225801 0.01387279 1.983057𝑒−02
Confidence Interval
DEPARTMENT OF MATHEMATICS AND STATISTICS, TEXAS TECH UNIVERSITY 17
5-fold CV
DEPARTMENT OF MATHEMATICS AND STATISTICS, TEXAS TECH UNIVERSITY 18
Conclusion
rate of change with respect to surface area, overall height, wall area and grazing area has a
positive effect on cooling load
however wall area as well as surface area is numerically small in case of rate of change.
MLR is not a good model to predict cooling load because we are loosing important predictors.
Although cross validation verified a good fit.
Elastic net could be a better model because we can use two different penalties with
regularization parameters which avail from CV.
DEPARTMENT OF MATHEMATICS AND STATISTICS, TEXAS TECH UNIVERSITY 19
References
DEPARTMENT OF MATHEMATICS AND STATISTICS, TEXAS TECH UNIVERSITY 20
DEPARTMENT OF MATHEMATICS AND STATISTICS, TEXAS TECH UNIVERSITY 21

More Related Content

Similar to Multiple linear regression for energy efficacy of residential buildings

MUMS: Transition & SPUQ Workshop - Gradient-Free Construction of Active Subsp...
MUMS: Transition & SPUQ Workshop - Gradient-Free Construction of Active Subsp...MUMS: Transition & SPUQ Workshop - Gradient-Free Construction of Active Subsp...
MUMS: Transition & SPUQ Workshop - Gradient-Free Construction of Active Subsp...
The Statistical and Applied Mathematical Sciences Institute
 
Report_EBACProject_BBP
Report_EBACProject_BBPReport_EBACProject_BBP
Report_EBACProject_BBPArun Sankar
 
Statirstical Process Control in manufacturing
Statirstical Process Control in manufacturingStatirstical Process Control in manufacturing
Statirstical Process Control in manufacturing
INSTITUTE OF ENGINEERING /BKC
 
A New Two-Dimensional Analytical Model of Small Geometry GaAs MESFET
A New Two-Dimensional Analytical Model of Small Geometry GaAs MESFETA New Two-Dimensional Analytical Model of Small Geometry GaAs MESFET
A New Two-Dimensional Analytical Model of Small Geometry GaAs MESFET
IJMERJOURNAL
 
Exploiting Hierarchy in the Abstraction-Based Verification of Statecharts Usi...
Exploiting Hierarchy in the Abstraction-Based Verification of Statecharts Usi...Exploiting Hierarchy in the Abstraction-Based Verification of Statecharts Usi...
Exploiting Hierarchy in the Abstraction-Based Verification of Statecharts Usi...
Akos Hajdu
 
Mathematical models for a chemical reactor
Mathematical models for a chemical reactorMathematical models for a chemical reactor
Mathematical models for a chemical reactor
Luis Rodríguez
 
Shortcut Design Method for Multistage Binary Distillation via MS-Exce
Shortcut Design Method for Multistage Binary Distillation via MS-ExceShortcut Design Method for Multistage Binary Distillation via MS-Exce
Shortcut Design Method for Multistage Binary Distillation via MS-Exce
IJERA Editor
 
6 statistical quality control
6   statistical quality control6   statistical quality control
6 statistical quality control
Ijan Rahman Ode
 
Six Sigma Mechanical Tolerance Analysis 1
Six Sigma Mechanical Tolerance Analysis 1Six Sigma Mechanical Tolerance Analysis 1
Six Sigma Mechanical Tolerance Analysis 1
David Panek
 
A Visual Guide to Design of Experiments using Quantum XL
A Visual Guide to Design of Experiments using Quantum XLA Visual Guide to Design of Experiments using Quantum XL
A Visual Guide to Design of Experiments using Quantum XL
Ramon Balisnomo
 
cfd ahmed body
cfd ahmed bodycfd ahmed body
cfd ahmed body
Tarmizi Bahari
 
MODULE TITLE CONTROL SYSTEMS AND AUTOMATIONTOPIC TITLE.docx
MODULE TITLE    CONTROL SYSTEMS AND AUTOMATIONTOPIC TITLE.docxMODULE TITLE    CONTROL SYSTEMS AND AUTOMATIONTOPIC TITLE.docx
MODULE TITLE CONTROL SYSTEMS AND AUTOMATIONTOPIC TITLE.docx
gilpinleeanna
 
Selection and Validation of Mathematical Models of Power Converters using Rap...
Selection and Validation of Mathematical Models of Power Converters using Rap...Selection and Validation of Mathematical Models of Power Converters using Rap...
Selection and Validation of Mathematical Models of Power Converters using Rap...
IJECEIAES
 
Statisticalqualitycontrol
StatisticalqualitycontrolStatisticalqualitycontrol
Statisticalqualitycontrolceutics1315
 
Respose surface methods
Respose surface methodsRespose surface methods
Respose surface methods
Venkatasami murugesan
 
Econometric (Indonesia's Economy).pptx
Econometric (Indonesia's Economy).pptxEconometric (Indonesia's Economy).pptx
Econometric (Indonesia's Economy).pptx
IndraYu2
 
Kk2518251830
Kk2518251830Kk2518251830
Kk2518251830
IJERA Editor
 
Kk2518251830
Kk2518251830Kk2518251830
Kk2518251830
IJERA Editor
 
Novel Logic Circuits Dynamic Parameters Analysis
Novel Logic Circuits Dynamic Parameters AnalysisNovel Logic Circuits Dynamic Parameters Analysis
Novel Logic Circuits Dynamic Parameters Analysis
csandit
 

Similar to Multiple linear regression for energy efficacy of residential buildings (20)

MUMS: Transition & SPUQ Workshop - Gradient-Free Construction of Active Subsp...
MUMS: Transition & SPUQ Workshop - Gradient-Free Construction of Active Subsp...MUMS: Transition & SPUQ Workshop - Gradient-Free Construction of Active Subsp...
MUMS: Transition & SPUQ Workshop - Gradient-Free Construction of Active Subsp...
 
Report_EBACProject_BBP
Report_EBACProject_BBPReport_EBACProject_BBP
Report_EBACProject_BBP
 
Statirstical Process Control in manufacturing
Statirstical Process Control in manufacturingStatirstical Process Control in manufacturing
Statirstical Process Control in manufacturing
 
A New Two-Dimensional Analytical Model of Small Geometry GaAs MESFET
A New Two-Dimensional Analytical Model of Small Geometry GaAs MESFETA New Two-Dimensional Analytical Model of Small Geometry GaAs MESFET
A New Two-Dimensional Analytical Model of Small Geometry GaAs MESFET
 
Exploiting Hierarchy in the Abstraction-Based Verification of Statecharts Usi...
Exploiting Hierarchy in the Abstraction-Based Verification of Statecharts Usi...Exploiting Hierarchy in the Abstraction-Based Verification of Statecharts Usi...
Exploiting Hierarchy in the Abstraction-Based Verification of Statecharts Usi...
 
Mathematical models for a chemical reactor
Mathematical models for a chemical reactorMathematical models for a chemical reactor
Mathematical models for a chemical reactor
 
Shortcut Design Method for Multistage Binary Distillation via MS-Exce
Shortcut Design Method for Multistage Binary Distillation via MS-ExceShortcut Design Method for Multistage Binary Distillation via MS-Exce
Shortcut Design Method for Multistage Binary Distillation via MS-Exce
 
6 statistical quality control
6   statistical quality control6   statistical quality control
6 statistical quality control
 
Six Sigma Mechanical Tolerance Analysis 1
Six Sigma Mechanical Tolerance Analysis 1Six Sigma Mechanical Tolerance Analysis 1
Six Sigma Mechanical Tolerance Analysis 1
 
A Visual Guide to Design of Experiments using Quantum XL
A Visual Guide to Design of Experiments using Quantum XLA Visual Guide to Design of Experiments using Quantum XL
A Visual Guide to Design of Experiments using Quantum XL
 
cfd ahmed body
cfd ahmed bodycfd ahmed body
cfd ahmed body
 
MODULE TITLE CONTROL SYSTEMS AND AUTOMATIONTOPIC TITLE.docx
MODULE TITLE    CONTROL SYSTEMS AND AUTOMATIONTOPIC TITLE.docxMODULE TITLE    CONTROL SYSTEMS AND AUTOMATIONTOPIC TITLE.docx
MODULE TITLE CONTROL SYSTEMS AND AUTOMATIONTOPIC TITLE.docx
 
Selection and Validation of Mathematical Models of Power Converters using Rap...
Selection and Validation of Mathematical Models of Power Converters using Rap...Selection and Validation of Mathematical Models of Power Converters using Rap...
Selection and Validation of Mathematical Models of Power Converters using Rap...
 
Statisticalqualitycontrol
StatisticalqualitycontrolStatisticalqualitycontrol
Statisticalqualitycontrol
 
Statisticalqualitycontrol
StatisticalqualitycontrolStatisticalqualitycontrol
Statisticalqualitycontrol
 
Respose surface methods
Respose surface methodsRespose surface methods
Respose surface methods
 
Econometric (Indonesia's Economy).pptx
Econometric (Indonesia's Economy).pptxEconometric (Indonesia's Economy).pptx
Econometric (Indonesia's Economy).pptx
 
Kk2518251830
Kk2518251830Kk2518251830
Kk2518251830
 
Kk2518251830
Kk2518251830Kk2518251830
Kk2518251830
 
Novel Logic Circuits Dynamic Parameters Analysis
Novel Logic Circuits Dynamic Parameters AnalysisNovel Logic Circuits Dynamic Parameters Analysis
Novel Logic Circuits Dynamic Parameters Analysis
 

More from Fahad B. Mostafa

Conjugate Gradient for Normal Equations and Preconditioning
Conjugate Gradient for Normal Equations and PreconditioningConjugate Gradient for Normal Equations and Preconditioning
Conjugate Gradient for Normal Equations and Preconditioning
Fahad B. Mostafa
 
Statistical multivariate analysis to infer the presence breast cancer
Statistical  multivariate analysis to infer the presence breast cancerStatistical  multivariate analysis to infer the presence breast cancer
Statistical multivariate analysis to infer the presence breast cancer
Fahad B. Mostafa
 
Runge kurta method of order Four and Six
Runge kurta method of order Four and SixRunge kurta method of order Four and Six
Runge kurta method of order Four and Six
Fahad B. Mostafa
 
Runge Kurta method of order Four and Six
Runge Kurta method of order Four and SixRunge Kurta method of order Four and Six
Runge Kurta method of order Four and Six
Fahad B. Mostafa
 
Fluid Flow on Vertical Surface
Fluid Flow on Vertical SurfaceFluid Flow on Vertical Surface
Fluid Flow on Vertical Surface
Fahad B. Mostafa
 
Fourier transforms
Fourier transforms Fourier transforms
Fourier transforms
Fahad B. Mostafa
 

More from Fahad B. Mostafa (6)

Conjugate Gradient for Normal Equations and Preconditioning
Conjugate Gradient for Normal Equations and PreconditioningConjugate Gradient for Normal Equations and Preconditioning
Conjugate Gradient for Normal Equations and Preconditioning
 
Statistical multivariate analysis to infer the presence breast cancer
Statistical  multivariate analysis to infer the presence breast cancerStatistical  multivariate analysis to infer the presence breast cancer
Statistical multivariate analysis to infer the presence breast cancer
 
Runge kurta method of order Four and Six
Runge kurta method of order Four and SixRunge kurta method of order Four and Six
Runge kurta method of order Four and Six
 
Runge Kurta method of order Four and Six
Runge Kurta method of order Four and SixRunge Kurta method of order Four and Six
Runge Kurta method of order Four and Six
 
Fluid Flow on Vertical Surface
Fluid Flow on Vertical SurfaceFluid Flow on Vertical Surface
Fluid Flow on Vertical Surface
 
Fourier transforms
Fourier transforms Fourier transforms
Fourier transforms
 

Recently uploaded

做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样
做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样
做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样
axoqas
 
原版制作(Deakin毕业证书)迪肯大学毕业证学位证一模一样
原版制作(Deakin毕业证书)迪肯大学毕业证学位证一模一样原版制作(Deakin毕业证书)迪肯大学毕业证学位证一模一样
原版制作(Deakin毕业证书)迪肯大学毕业证学位证一模一样
u86oixdj
 
一比一原版(ArtEZ毕业证)ArtEZ艺术学院毕业证成绩单
一比一原版(ArtEZ毕业证)ArtEZ艺术学院毕业证成绩单一比一原版(ArtEZ毕业证)ArtEZ艺术学院毕业证成绩单
一比一原版(ArtEZ毕业证)ArtEZ艺术学院毕业证成绩单
vcaxypu
 
哪里卖(usq毕业证书)南昆士兰大学毕业证研究生文凭证书托福证书原版一模一样
哪里卖(usq毕业证书)南昆士兰大学毕业证研究生文凭证书托福证书原版一模一样哪里卖(usq毕业证书)南昆士兰大学毕业证研究生文凭证书托福证书原版一模一样
哪里卖(usq毕业证书)南昆士兰大学毕业证研究生文凭证书托福证书原版一模一样
axoqas
 
一比一原版(UPenn毕业证)宾夕法尼亚大学毕业证成绩单
一比一原版(UPenn毕业证)宾夕法尼亚大学毕业证成绩单一比一原版(UPenn毕业证)宾夕法尼亚大学毕业证成绩单
一比一原版(UPenn毕业证)宾夕法尼亚大学毕业证成绩单
ewymefz
 
一比一原版(UVic毕业证)维多利亚大学毕业证成绩单
一比一原版(UVic毕业证)维多利亚大学毕业证成绩单一比一原版(UVic毕业证)维多利亚大学毕业证成绩单
一比一原版(UVic毕业证)维多利亚大学毕业证成绩单
ukgaet
 
一比一原版(TWU毕业证)西三一大学毕业证成绩单
一比一原版(TWU毕业证)西三一大学毕业证成绩单一比一原版(TWU毕业证)西三一大学毕业证成绩单
一比一原版(TWU毕业证)西三一大学毕业证成绩单
ocavb
 
一比一原版(RUG毕业证)格罗宁根大学毕业证成绩单
一比一原版(RUG毕业证)格罗宁根大学毕业证成绩单一比一原版(RUG毕业证)格罗宁根大学毕业证成绩单
一比一原版(RUG毕业证)格罗宁根大学毕业证成绩单
vcaxypu
 
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单
ewymefz
 
一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单
一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单
一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单
ewymefz
 
一比一原版(UofS毕业证书)萨省大学毕业证如何办理
一比一原版(UofS毕业证书)萨省大学毕业证如何办理一比一原版(UofS毕业证书)萨省大学毕业证如何办理
一比一原版(UofS毕业证书)萨省大学毕业证如何办理
v3tuleee
 
Empowering Data Analytics Ecosystem.pptx
Empowering Data Analytics Ecosystem.pptxEmpowering Data Analytics Ecosystem.pptx
Empowering Data Analytics Ecosystem.pptx
benishzehra469
 
一比一原版(CBU毕业证)卡普顿大学毕业证如何办理
一比一原版(CBU毕业证)卡普顿大学毕业证如何办理一比一原版(CBU毕业证)卡普顿大学毕业证如何办理
一比一原版(CBU毕业证)卡普顿大学毕业证如何办理
ahzuo
 
一比一原版(CBU毕业证)卡普顿大学毕业证成绩单
一比一原版(CBU毕业证)卡普顿大学毕业证成绩单一比一原版(CBU毕业证)卡普顿大学毕业证成绩单
一比一原版(CBU毕业证)卡普顿大学毕业证成绩单
nscud
 
一比一原版(QU毕业证)皇后大学毕业证成绩单
一比一原版(QU毕业证)皇后大学毕业证成绩单一比一原版(QU毕业证)皇后大学毕业证成绩单
一比一原版(QU毕业证)皇后大学毕业证成绩单
enxupq
 
FP Growth Algorithm and its Applications
FP Growth Algorithm and its ApplicationsFP Growth Algorithm and its Applications
FP Growth Algorithm and its Applications
MaleehaSheikh2
 
Machine learning and optimization techniques for electrical drives.pptx
Machine learning and optimization techniques for electrical drives.pptxMachine learning and optimization techniques for electrical drives.pptx
Machine learning and optimization techniques for electrical drives.pptx
balafet
 
一比一原版(UniSA毕业证书)南澳大学毕业证如何办理
一比一原版(UniSA毕业证书)南澳大学毕业证如何办理一比一原版(UniSA毕业证书)南澳大学毕业证如何办理
一比一原版(UniSA毕业证书)南澳大学毕业证如何办理
slg6lamcq
 
一比一原版(NYU毕业证)纽约大学毕业证成绩单
一比一原版(NYU毕业证)纽约大学毕业证成绩单一比一原版(NYU毕业证)纽约大学毕业证成绩单
一比一原版(NYU毕业证)纽约大学毕业证成绩单
ewymefz
 
一比一原版(Adelaide毕业证书)阿德莱德大学毕业证如何办理
一比一原版(Adelaide毕业证书)阿德莱德大学毕业证如何办理一比一原版(Adelaide毕业证书)阿德莱德大学毕业证如何办理
一比一原版(Adelaide毕业证书)阿德莱德大学毕业证如何办理
slg6lamcq
 

Recently uploaded (20)

做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样
做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样
做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样
 
原版制作(Deakin毕业证书)迪肯大学毕业证学位证一模一样
原版制作(Deakin毕业证书)迪肯大学毕业证学位证一模一样原版制作(Deakin毕业证书)迪肯大学毕业证学位证一模一样
原版制作(Deakin毕业证书)迪肯大学毕业证学位证一模一样
 
一比一原版(ArtEZ毕业证)ArtEZ艺术学院毕业证成绩单
一比一原版(ArtEZ毕业证)ArtEZ艺术学院毕业证成绩单一比一原版(ArtEZ毕业证)ArtEZ艺术学院毕业证成绩单
一比一原版(ArtEZ毕业证)ArtEZ艺术学院毕业证成绩单
 
哪里卖(usq毕业证书)南昆士兰大学毕业证研究生文凭证书托福证书原版一模一样
哪里卖(usq毕业证书)南昆士兰大学毕业证研究生文凭证书托福证书原版一模一样哪里卖(usq毕业证书)南昆士兰大学毕业证研究生文凭证书托福证书原版一模一样
哪里卖(usq毕业证书)南昆士兰大学毕业证研究生文凭证书托福证书原版一模一样
 
一比一原版(UPenn毕业证)宾夕法尼亚大学毕业证成绩单
一比一原版(UPenn毕业证)宾夕法尼亚大学毕业证成绩单一比一原版(UPenn毕业证)宾夕法尼亚大学毕业证成绩单
一比一原版(UPenn毕业证)宾夕法尼亚大学毕业证成绩单
 
一比一原版(UVic毕业证)维多利亚大学毕业证成绩单
一比一原版(UVic毕业证)维多利亚大学毕业证成绩单一比一原版(UVic毕业证)维多利亚大学毕业证成绩单
一比一原版(UVic毕业证)维多利亚大学毕业证成绩单
 
一比一原版(TWU毕业证)西三一大学毕业证成绩单
一比一原版(TWU毕业证)西三一大学毕业证成绩单一比一原版(TWU毕业证)西三一大学毕业证成绩单
一比一原版(TWU毕业证)西三一大学毕业证成绩单
 
一比一原版(RUG毕业证)格罗宁根大学毕业证成绩单
一比一原版(RUG毕业证)格罗宁根大学毕业证成绩单一比一原版(RUG毕业证)格罗宁根大学毕业证成绩单
一比一原版(RUG毕业证)格罗宁根大学毕业证成绩单
 
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单
 
一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单
一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单
一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单
 
一比一原版(UofS毕业证书)萨省大学毕业证如何办理
一比一原版(UofS毕业证书)萨省大学毕业证如何办理一比一原版(UofS毕业证书)萨省大学毕业证如何办理
一比一原版(UofS毕业证书)萨省大学毕业证如何办理
 
Empowering Data Analytics Ecosystem.pptx
Empowering Data Analytics Ecosystem.pptxEmpowering Data Analytics Ecosystem.pptx
Empowering Data Analytics Ecosystem.pptx
 
一比一原版(CBU毕业证)卡普顿大学毕业证如何办理
一比一原版(CBU毕业证)卡普顿大学毕业证如何办理一比一原版(CBU毕业证)卡普顿大学毕业证如何办理
一比一原版(CBU毕业证)卡普顿大学毕业证如何办理
 
一比一原版(CBU毕业证)卡普顿大学毕业证成绩单
一比一原版(CBU毕业证)卡普顿大学毕业证成绩单一比一原版(CBU毕业证)卡普顿大学毕业证成绩单
一比一原版(CBU毕业证)卡普顿大学毕业证成绩单
 
一比一原版(QU毕业证)皇后大学毕业证成绩单
一比一原版(QU毕业证)皇后大学毕业证成绩单一比一原版(QU毕业证)皇后大学毕业证成绩单
一比一原版(QU毕业证)皇后大学毕业证成绩单
 
FP Growth Algorithm and its Applications
FP Growth Algorithm and its ApplicationsFP Growth Algorithm and its Applications
FP Growth Algorithm and its Applications
 
Machine learning and optimization techniques for electrical drives.pptx
Machine learning and optimization techniques for electrical drives.pptxMachine learning and optimization techniques for electrical drives.pptx
Machine learning and optimization techniques for electrical drives.pptx
 
一比一原版(UniSA毕业证书)南澳大学毕业证如何办理
一比一原版(UniSA毕业证书)南澳大学毕业证如何办理一比一原版(UniSA毕业证书)南澳大学毕业证如何办理
一比一原版(UniSA毕业证书)南澳大学毕业证如何办理
 
一比一原版(NYU毕业证)纽约大学毕业证成绩单
一比一原版(NYU毕业证)纽约大学毕业证成绩单一比一原版(NYU毕业证)纽约大学毕业证成绩单
一比一原版(NYU毕业证)纽约大学毕业证成绩单
 
一比一原版(Adelaide毕业证书)阿德莱德大学毕业证如何办理
一比一原版(Adelaide毕业证书)阿德莱德大学毕业证如何办理一比一原版(Adelaide毕业证书)阿德莱德大学毕业证如何办理
一比一原版(Adelaide毕业证书)阿德莱德大学毕业证如何办理
 

Multiple linear regression for energy efficacy of residential buildings

  • 1. FAHAD BIN MOSTAFA TEXAS TECH UNIVERSITY MAY 05, 2020 Texas Tech University Multiple Linear Regression for Cooling load efficiency of residential buildings DEPARTMENT OF MATHEMATICS AND STATISTICS, TEXAS TECH UNIVERSITY 1
  • 2. Outlines  Background  Methodology  Results  Conclusion DEPARTMENT OF MATHEMATICS AND STATISTICS, TEXAS TECH UNIVERSITY 2
  • 3. Background  Primary aim of this regression analysis is to show statistical significance of many statistical technique to analysis cooling load of buildings.  Perform energy analysis using 12 different building shapes simulated in Ecotect. The buildings differ with respect to the glazing area, the glazing area distribution, and the orientation, amongst other parameters.  Simulate various settings as functions of the afore-mentioned characteristics to obtain 768 building shapes.  Dataset comprises 768 samples and 8 features, aiming to predict two real valued responses. However, we only work with one response. DEPARTMENT OF MATHEMATICS AND STATISTICS, TEXAS TECH UNIVERSITY 3
  • 4. DEPARTMENT OF MATHEMATICS AND STATISTICS, TEXAS TECH UNIVERSITY 4 Variables Descriptions 𝑋1 Relative compactness 𝑋2 Surface area 𝑋3 Wall area 𝑋4 Roof area 𝑋5 Overall Hight 𝑋6 Orientation 𝑋7 Glazing area 𝑋8 Glazing area distribution 𝑌𝐶𝐿 Cooling Load Nomenclature of predictors and response
  • 5. Methodology DEPARTMENT OF MATHEMATICS AND STATISTICS, TEXAS TECH UNIVERSITY 5 The multiple linear regression model is 𝑌𝑖~ 𝑁 β 0+ X 𝑖1β 1+ . . . + X 𝑖𝑝β 𝑝 , 𝜎2 1 Using Matrix Form, β 𝑜𝑙𝑠 = (𝑋 𝑇 𝑋)−1 𝑋 𝑇 𝑦 Hat matrix, 𝐻 = 𝑋(𝑋 𝑇 𝑋)−1 𝑋 𝑇 𝐻 involves the weights ℎ𝑖𝑖; 𝑖 = 1 … 𝑛 depends on predictors. Cook distance, 𝐷𝑖 = 𝑒𝑖 2 𝑝𝑠2 [ ℎ𝑖𝑖 1−ℎ𝑖𝑖 2] Box Cox Transformation, gλ y = 𝑦λ−1 λ ; ; λ ≠ 0 log λ ; λ = 0 (2) The weighted least squares estimate, β 𝑊𝐿𝑆 = (𝑋 𝑇 𝑊𝑋)−1 𝑋 𝑇 𝑊𝑦 K-fold cross validation: Comparing RMSE with model RMSE
  • 6. Exploratory Analysis DEPARTMENT OF MATHEMATICS AND STATISTICS, TEXAS TECH UNIVERSITY 6
  • 7. Model Selection DEPARTMENT OF MATHEMATICS AND STATISTICS, TEXAS TECH UNIVERSITY 7
  • 8. Based on AIC why not adj-R-square!!! DEPARTMENT OF MATHEMATICS AND STATISTICS, TEXAS TECH UNIVERSITY 8 Table 03: summary statistics of the model 3 Coefficients Estimates Std. Error Pr(> |t|) Intercept 97.336561 20.754252 3.24e-06 Relative compactness -70.787707 11.219992 4.76e-10 Surface area -0.088245 0.018620 < 2e-16 Overall height 4.283843 0.368557 1.15e-09 Wall area 0.044682 0.007249 1.15e-09 Orientation 0.121510 0.103269 0.24 Glazing area 14.817971 0.867239 < 2e-16
  • 9. Result for Model 2 DEPARTMENT OF MATHEMATICS AND STATISTICS, TEXAS TECH UNIVERSITY 9 Table 05: Analysis of Variance Table (ANOVA) Source DF Sum of Square Mean Square F value Pr(>F) Relative compactness 1 27931.9 27931.9 2726.885 < 2.2e−16 Surface area 1 8254.2 8254.2 805.823 < 2.2e−16 Overall height 1 22046.5 22046.5 2152.309 < 2.2e−16 Wall area 1 389.0 389.0 37.973 1.162e−10 Glazing area 1 2988.9 2988.9 291.797 < 2.2e−16 Residuals 762 7805.3 10.2 Total 767 For this multiple linear regression, we have 𝐻0: 𝛽1 = 𝛽2 = 𝛽3 = 𝛽4 = 𝛽5 = 0 𝐻1: 𝐴𝑡 𝑙𝑒𝑎𝑠𝑡 𝑜𝑛𝑒 𝛽 𝑖𝑠 𝑛𝑜𝑡 𝑧𝑒𝑟𝑜 The null hypothesis claims that there is no significant correlation at all. That is, all of the coefficients are zero and none of the variables belong in the model. Test of heteroscedasticity for the model can be done by the following test 𝐻0: 𝜎2′ 𝑠 𝑎𝑟𝑒 𝑒𝑞𝑢𝑎𝑙 Chi-square = 187.5252, Df = 1, p = 2.22 𝑒−16 . At 5% level of significance we can say that we do have sufficient evidence to reject null hypothesis. So, variances are not equal. So, it has a problem with heteroscedasticity.
  • 10. Result for Model 2 DEPARTMENT OF MATHEMATICS AND STATISTICS, TEXAS TECH UNIVERSITY 10
  • 11. Exploring Cooling Load DEPARTMENT OF MATHEMATICS AND STATISTICS, TEXAS TECH UNIVERSITY 11 λ=-0.8 and is extremely close to the maximum, which suggests a transformation of the form 𝐶𝑜𝑜𝑙𝑖𝑛𝑔_𝐿𝑜𝑎𝑑λ − 1 λ = 𝐶𝑜𝑜𝑙𝑖𝑛𝑔_𝐿𝑜𝑎𝑑−0.8 − 1 −0.8
  • 12. Result for WLS model DEPARTMENT OF MATHEMATICS AND STATISTICS, TEXAS TECH UNIVERSITY 12 Table 06: summary for WLS with box cox transformed response Coefficients Estimates Std. Error Pr(>|t|) Intercept 9.424e−01 6.312e−02 < 2e−16 Relative compactness 1.902e−02 3.416e−02 0.5777 Surface area 7.122e−05 5.674e−05 0.20977 Overall height 1.878e−02 1.13e−03 < 2e−16 Wall area 7.904e−05 2.236e−05 1.16e−09 Glazing area 5.863e−02 2.638e−03 < 2e−16 In the WLS model the Residual standard error: 0.009118 on 762 degrees of freedom, Multiple R-squared: 0.9137, Adjusted R- squared: 0.9131. F-statistic: 1613 on 5 and 762 DF, p − value: < 2.2e−16 Table 05: Analysis of Variance Table (ANOVA) for WLS model Source DF Sum of Square Mean Square F value Pr(>F) Relative compactness 1 0.33606 0.33606 4042.453 < 2.2e−16 Surface area 1 0.04954 0.04954 595.887 < 2.2e−16 Overall height 1 0.24296 0.24296 2922.628 < 2.2e−16 Wall area 1 0.00103 0.00103 12.448 0.0004434 Glazing area 1 0.04106 0.04106 493.969 < 2.2e−16 Residuals 762 0.06335 0.00008 Total 767
  • 13. Result for Model 2 DEPARTMENT OF MATHEMATICS AND STATISTICS, TEXAS TECH UNIVERSITY 13
  • 14. Final WLS model DEPARTMENT OF MATHEMATICS AND STATISTICS, TEXAS TECH UNIVERSITY 14
  • 15. Output of final WLS model DEPARTMENT OF MATHEMATICS AND STATISTICS, TEXAS TECH UNIVERSITY 15
  • 16. Result for WLS model DEPARTMENT OF MATHEMATICS AND STATISTICS, TEXAS TECH UNIVERSITY 16 Table 06 some extreme values from WLS model diagnosis Data points Standardized Residual Hat CookD 22 -0.1372486 0.01772626 5.672951𝑒−05 24 -0.2019629 0.01773586 1.229031𝑒−04 45 -2.8854279 0.01386842 1.932885𝑒−02 48 -2.9225801 0.01387279 1.983057𝑒−02
  • 17. Confidence Interval DEPARTMENT OF MATHEMATICS AND STATISTICS, TEXAS TECH UNIVERSITY 17
  • 18. 5-fold CV DEPARTMENT OF MATHEMATICS AND STATISTICS, TEXAS TECH UNIVERSITY 18
  • 19. Conclusion rate of change with respect to surface area, overall height, wall area and grazing area has a positive effect on cooling load however wall area as well as surface area is numerically small in case of rate of change. MLR is not a good model to predict cooling load because we are loosing important predictors. Although cross validation verified a good fit. Elastic net could be a better model because we can use two different penalties with regularization parameters which avail from CV. DEPARTMENT OF MATHEMATICS AND STATISTICS, TEXAS TECH UNIVERSITY 19
  • 20. References DEPARTMENT OF MATHEMATICS AND STATISTICS, TEXAS TECH UNIVERSITY 20
  • 21. DEPARTMENT OF MATHEMATICS AND STATISTICS, TEXAS TECH UNIVERSITY 21