6.1. Simple linear regression
For a simple linear regression model of the form of Eq. (2), the total electricity is the response
variable and the outdoor dry-bulb temperature is the predictor variable. Using the matrix form of
Eq.
(9) in a MathCads code or the Regression function on the Excels Data Analysis package, the model
for the hourly energy consump-
tion is found to be