Lecture 4 - Multiple Linear Regression.pptx
1. Introduction to multiple linear regression and its equation
This section introduces the fundamental concept of multiple linear regression, an extension of simple linear regression that incorporates multiple independent variables to predict a dependent variable. It details the general equation, interpretation of coefficients, estimation methods, and practical considerations for model building and interpretation.
1.1 The multiple linear regression equation
Multiple linear regression extends the simple linear model by allowing for more than one independent variable to predict a dependent variable. The general form of the multiple linear regression equation is:
Y=β0+β1X1+β2X2+⋯+βkXk+ϵ
Where:
- Y is the dependent variable (also known as the response variable).
- Xi represents the ith independent variable (also called a predictor or explanatory variable).
- β0 is the intercept, representing the expected value of Y when all independent variables (Xi) are equal to zero.
- βi is the coefficient for the ith independent variable. It quantifies the expected change in Y for a one-unit increase in Xi, holding all other independent variables constant.
- k is the total number of independent variables in the model.
- ϵ is the random error term, representing the portion of Y that cannot be explained by the independent variables.
1.2 Estimation and interpretation of coefficients
The regression coefficients (β0,β1,…,βk) are unknown parameters that are estimated from sample data. The estimated coefficients, denoted as b0,b1,…,bk, form the estimated multiple regression equation:
Y^=b0+b1X1+b2X2+⋯+bkXk
The estimated coefficients, bi, are referred to as partial regression coefficients. They are interpreted as the expected change in the dependent variable (Y) for a one-unit increase in the corresponding independent variable (Xi), while holding the values of all other independent variables in the model constant. This "holding constant" aspect is crucial and differentiates partial regression coefficients from the slope in simple linear regression.
Note: The intercept (b0) represents the predicted value of Y when all independent variables are zero. However, this interpretation is only meaningful if Xi=0 is a plausible scenario within the context of the data.
1.3 Using Excel's Regression Tool
Excel's Regression Tool can be used to perform multiple linear regression analysis. To use this tool effectively:
- Ensure that the independent variables are placed in contiguous columns in the spreadsheet. This may require rearranging data.
- The output provides several key metrics for evaluating the model.
1.3.1 Key output metrics
- Multiple R: This is the multiple correlation coefficient, indicating the strength of the linear relationship between the observed and predicted values of the dependent variable.
- R Square: Also known as the coefficient of multiple determination, R2 represents the proportion of the total variation in the dependent variable that is explained by the independent variables included in the model. A higher R2 indicates a better fit of the model to the data.
- Adjusted R Square: This metric adjusts R2 to account for the number of independent variables and the sample size. It is particularly useful when comparing models with different numbers of predictors, as it penalizes the addition of unnecessary variables. An increase in adjusted R2 when adding or removing a variable suggests an improvement in the model.
1.3.2 ANOVA for multiple regression
The Analysis of Variance (ANOVA) table in the regression output is used to test the overall significance of the entire regression model. It tests the null hypothesis that all regression coefficients (except the intercept) are simultaneously equal to zero (H0:β1=β2=⋯=βk=0) against the alternative that at least one coefficient is not zero (Ha:at least one βi=0).
- The F-statistic in the ANOVA table, along with its associated p-value, determines whether the model as a whole is statistically significant in explaining the variation in the dependent variable.
1.3.3 Significance of individual coefficients
In addition to testing the overall model, the regression output also provides information to test the significance of each individual regression coefficient (bi). This is typically done using t-tests.
- The null hypothesis for an individual coefficient is H0:βi=0.
- The alternative hypothesis is Ha:βi=0.
- If the p-value associated with a coefficient is less than the chosen significance level (e.g., 0.05), the null hypothesis is rejected, indicating that the independent variable Xi is statistically significan





