Multiple Regression
Analysis
Multiple regression analysis
• Multiple regression analysis is a core statistical
technique in business analytics that models the
relationship between a single dependent variable
and multiple independent variables.
• It allows analysts to quantify the impact of several
factors simultaneously, making it invaluable for:
forecasting,
risk management,
decision-making.
Definition:
Multiple regression estimates how one outcome
(dependent variable) changes when one or more
predictors (independent variables) change, holding
other factors constant.
Key Objective:
Understand the influence of various factors on a
business metric (e.g., sales, profit margins, customer
satisfaction) and predict outcomes under different
scenarios.
Steps in Multiple Regression
Analysis
•Model Specification:
Define the business question (e.g., "How do advertising
spend, pricing, and seasonality affect sales?").
Select appropriate independent variables based on theory,
previous studies, and data availability.
•Data Preparation:
Clean the data: handle missing values, outliers, and ensure
correct variable types.
Explore the data with summary statistics and visualizations to
understand relationships.
•Model Estimation:
Use statistical software (R, Python, etc.) to fit the multiple
regression model.
Estimate coefficients that represent the relationship between
predictors and the dependent variable.
•Assumption Checking:
Linearity: Relationship between predictors and the outcome is
linear.
Independence: Observations are independent.
Homoscedasticity: Constant variance of error terms.
Normality: Error terms are normally distributed.
Multicollinearity: Predictors are not too highly correlated.
•Model Evaluation:
Check the model’s goodness-of-fit (R-squared, Adjusted R-
squared).
Test statistical significance of predictors (p-values).
Validate the model with diagnostic plots and possibly cross-
validation.
•Interpretation & Application:
Interpret the coefficients to understand the direction and magnitude
of each predictor’s impact.
Use the model for forecasting or scenario analysis to support
business decisions.
Applications in Business Analytics
•Sales Forecasting:
Predict future sales based on factors like marketing spend, pricing
strategy, and economic indicators.
•Customer Analytics:
Understand drivers of customer satisfaction or churn by examining
demographic and behavioral variables.
•Financial Performance:
Analyze how various cost drivers, revenue streams, and operational
factors affect profit margins.
•Risk Assessment:
Model risk factors and their impact on performance metrics to inform
decision-making.
Example: Multiple Regression in R
• built-in mtcars dataset to predict miles per gallon (mpg)
based on weight (wt) and horsepower (hp):
• #Load dataset
data(mtcars)
# Fit a multiple regression model
model <- lm(mpg ~ wt + hp, data = mtcars)
# Summarize the model
summary(model)
Result
• Residuals:
• Min 1Q Median 3Q Max
• -3.941 -1.600 -0.182 1.050 5.854
• Coefficients:
• Estimate Std. Error t value Pr(>|t|)
(Intercept) 37.22727 1.59879 2 3.285 < 2e-16
***
wt -3.87783 0.63273 -6.129 1.12e-06 ***
hp -0.03177 0.00903 -3.519 0.00145 **
• ---
• Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
• Residual standard error: 2.593 on 29 degrees of freedom
• Multiple R-squared: 0.8268, Adjusted R-squared: 0.8148
• F-statistic: 69.21 on 2 and 29 DF, p-value: 9.109e-12
Interpretation:
•Coefficients: Each coefficient indicates how much mpg is
expected to change with a one-unit change in the
predictor, holding other variables constant.
•R-squared: Indicates the proportion of variance in mpg
explained by the predictors.
•p-values: Assess whether the predictors are statistically
significant.