Regression Models for Business PredictionIntroduction and ContextRegression analysis is one of the most widely used methods in business analytics. It estimates the relationship between a numerical outcome and one or more explanatory variables. Organisations use regression to predict sales, revenue, customer spending, delivery time, demand, credit risk and operating cost. Unlike a purely descriptive association, a regression model provides a formal structure for quantifying relationships and generating predictions. Regression is not a substitute for business judgement. A model may identify a strong predictive relationship without proving that one variable causes another. Reliable use therefore requires attention to data quality, assumptions, residuals, multicollinearity, validation and the consequences of prediction errors. Learning ObjectivesBy the end of this chapter, you should be able to: - explain simple and multiple linear regression;
- estimate and interpret regression coefficients;
- distinguish prediction from causation;
- assess model fit using appropriate statistics;
- diagnose non-linearity, heteroscedasticity, outliers and influential observations;
- explain multicollinearity and apply practical remedies;
- use train–test validation and regularisation for more reliable prediction; and
- communicate regression results responsibly to business decision-makers.
1. The Regression Framework1.1 TerminologyThe variable being predicted is the response, dependent variable or target, commonly denoted by y. An explanatory, independent or predictor variable is denoted by x. A prediction model estimates the conditional mean of the response, written as E(y|x). A regression model differs from a correlation coefficient. Correlation describes the strength and direction of a linear association between two variables, whereas regression specifies a prediction equation and distinguishes a response from predictors. Correlation is symmetric; regression is not. 1.2 Simple linear regressionThe population simple linear regression model is: yi = β0 + β1 xi + εi Here, yi is the observed response for case i, xi is its predictor value, β0 is the intercept, β1 is the slope, and εi is the unobserved error. The fitted sample equation is: ŷi = b0 + b1 xi where ŷi is the predicted response and b0 and b1 are estimated from data. The residual is: ei = yi - ŷi The slope b1 represents the predicted change in y for a one-unit increase in x, within the observed data range. Its units are response units per predictor unit. The intercept is the predicted response when x = 0; it may have little practical meaning if zero is outside the business context. 1.3 Estimating the coefficientsOrdinary least squares (OLS) chooses the line that minimises the sum of squared residuals: SSE = ∑(yi − ŷi)2 = ∑(yi − b0 − b1xi)2 For simple regression, the estimates are: b1 = ∑(xi − x̄)(yi − ȳ) / ∑(xi − x̄)2 b0 = ȳ − b1x̄ where x̄ and ȳ are sample means. The denominator in the slope must be non-zero; therefore, the predictor must vary across observations. OLS gives a line passing through (x̄,ȳ). Squaring penalises large errors more heavily than small errors, so unusual observations can substantially affect the fitted model. Worked example: advertising and salesSuppose weekly advertising expenditure x is measured in thousands of dollars and sales y in thousands of units. For a small dataset, calculation produces b0 = 12 and b1 = 3.5. The fitted model is: ŷ = 12 + 3.5x At advertising expenditure of $4,000, the predicted sales are: ŷ = 12 + 3.5(4) = 26 Thus, predicted sales are 26 thousand units. The slope means that an additional $1,000 of advertising is associated with an estimated increase of 3.5 thousand units, on average, within the relevant range. It does not establish that advertising alone caused the increase; seasonal demand, price and distribution may also matter. 2. Multiple Linear RegressionBusiness outcomes usually depend on several factors. Multiple regression extends the model as follows: yi = β0 + β1xi1 + β2xi2 + ⋯ + βpxip + εi The fitted equation is: ŷi = b0 + b1xi1 + b2xi2 + ⋯ + bpxip The coefficient bj is the expected change in the response for a one-unit increase in xj, holding the other included predictors constant. This conditional interpretation is central. For example, a price coefficient can represent the predicted change in sales for a one-dollar price increase among observations with the same advertising, season and store characteristics. The intercept is the predicted response when all predictors equal zero. Centring predictors around meaningful reference values can make the intercept more interpretable, but it does not change fitted values when the model is correctly re-expressed. Matrix representationFor advanced practical work, multiple regression can be written: y = Xβ + ε where y is an n × 1 response vector, X is an n × (p+1) design matrix whose first column is usually 1s, β is a coefficient vector, and ε is an error vector. If XT X is invertible, the OLS estimator is: b = (XᵀX)⁻¹Xᵀy Invertibility requires that the columns of X are linearly independent. Exact linear dependence is perfect multicollinearity and prevents unique OLS coefficient estimates. Categorical variables are represented using indicator (dummy) variables. If a variable has k categories, a model with an intercept usually uses k − 1 indicators. The omitted category is the reference group, and each coefficient compares its category with that reference, conditional on the other predictors. 3. Measuring Model Fit and Predictive Performance3.1 Decomposing variationThe total variation in observed responses can be decomposed into explained and unexplained components: SST = SSR + SSE where SST = ∑(yi − ȳ)2 is total sum of squares, SSR = ∑(ŷi − ȳ)2 is regression sum of squares, and SSE = ∑(yi − ŷi)2 is error sum of squares. The coefficient of determination is: R² = SSR / SST = 1 − SSE / SST For a model with an intercept, R² lies between 0 and 1 in the usual OLS setting. It is the proportion of in-sample variation explained relative to predicting every observation by the sample mean. A high R² does not guarantee good future predictions, causal validity or absence of bias. Adjusted R² penalises unnecessary predictors: Adjusted R² = 1 − [(1 − R²)(n − 1)/(n − p − 1)] Here n is sample size and p is the number of predictors, excluding the intercept. The formula is meaningful when n > p + 1. Adjusted R² can decrease when a variable adds little explanatory value. 3.2 Error measuresThe residual sum of squares can be converted to mean squared error: MSE = SSE / n For estimating the regression error variance after fitting p predictors, the residual mean square is often: s² = SSE / (n − p − 1) The root mean squared error is: RMSE = √(1/n ∑(yi − ŷi)2) RMSE has the same units as the response and gives greater weight to large errors. Mean absolute error is: MAE = 1/n ∑|yi − ŷi| MAE is also in response units and is less sensitive to extreme errors. For business reporting, an error measure should be paired with a baseline, such as the mean or last-period value, and evaluated on data not used for fitting. Percentage errors require care when actual values are zero or close to zero. A percentage measure can be misleading for intermittent demand and should not be used automatically. 4. Statistical Inference and AssumptionsOLS can be computed without all assumptions being true, but assumptions determine whether standard errors, confidence intervals and significance tests are trustworthy. 4.1 Core assumptions- Linearity in parameters and appropriate functional form. The conditional mean is adequately represented by the chosen predictors and transformations.
- Independent observations or appropriately modelled dependence. Standard OLS inference is not automatically valid for repeated measurements, panel data or time series with autocorrelated errors.
- Exogeneity. The error has conditional mean zero: E(εi|X) = 0. This is stronger than simple correlation and can fail because of omitted variables, reverse causality or measurement error.
- Constant error variance (homoscedasticity) for conventional standard errors: Var(εi|X) = σ².
- No perfect multicollinearity. Predictors must not be exact linear combinations of one another.
- Normal errors are mainly needed for exact small-sample t and F inference, not for computing OLS predictions. With large samples, approximate inference may be possible under weaker conditions, but dependence and severe outliers remain concerns.
4.2 Testing individual coefficientsFor a coefficient estimate bj with standard error SE(bj), a test of H0: βj = 0 uses: t = bj / SE(bj) A confidence interval is generally: bj ± t^* SE(bj) where t^* is the appropriate critical value with n − p − 1 degrees of freedom. Statistical significance does not imply practical importance. A tiny effect can be significant in a large dataset, while a useful effect may be uncertain in a small dataset. An overall F test can assess whether a group of predictors improves the model relative to an intercept-only model. Analysts should not select variables solely by p-values; business logic, validation performance and measurement quality also matter. 5. Residual Analysis and Model DiagnosisA residual is the part of an observed outcome not explained by the fitted model. Residual analysis is a disciplined search for systematic information left behind. - A curved residual-versus-fitted plot suggests non-linearity.
- A funnel shape suggests non-constant variance.
- Clusters may indicate omitted groups or dependence.
- A residual sequence that rises and falls systematically may indicate time dependence.
- Extreme residuals may be outliers, data errors or legitimate rare events.
A histogram or Q–Q plot can assess whether residuals are approximately normal, but visual evidence should be interpreted alongside sample size and the purpose of analysis. Normality of the response itself is not an OLS requirement. Leverage and influenceLeverage measures how unusual a predictor configuration is. An observation can have high leverage without a large residual. Influence describes how much the fitted model changes when an observation is removed. Cook’s distance is a commonly used diagnostic, but it is not a universal automatic deletion rule. A suspicious record should first be checked for data entry, definition and measurement problems. A genuine high-value customer or unusual promotion may be strategically important and should not simply be discarded. Possible responses include correcting errors, adding relevant variables, transforming variables, using robust standard errors, fitting a model suited to dependence, or reporting sensitivity analyses. Every intervention should be documented. 6. MulticollinearityMulticollinearity occurs when predictors contain overlapping information. For example, annual income and household expenditure may be strongly related. Multicollinearity does not necessarily harm overall prediction, but it can make individual coefficients unstable, inflate standard errors and produce unexpected signs. A common diagnostic is the variance inflation factor: VIFj = 1 / (1 − Rj²) Here Rj² is the coefficient of determination from regressing predictor xj on all the other predictors. A VIF of 1 indicates no linear relationship with the other predictors. Larger values indicate greater inflation of the variance of the coefficient estimate. Thresholds such as 5 or 10 are rules of thumb, not laws; context and purpose matter. Practical remedies include: - removing redundant predictors when business meaning is duplicated;
- combining related measures into an index when justified;
- collecting more informative data;
- centring variables when polynomial or interaction terms create non-essential correlation;
- using principal components when interpretability can be sacrificed; and
- using ridge or elastic-net regression when prediction is the priority.
Do not remove a theoretically important variable merely because it is correlated with another. First determine whether the goal is explanation, causal estimation or prediction. 7. Regularisation for Reliable PredictionOLS can overfit when there are many predictors, correlated features or limited observations. Regularisation adds a penalty to discourage unnecessarily large coefficients. Predictors should generally be standardised before penalisation so that measurement units do not determine the penalty. 7.1 Ridge regressionRidge estimates coefficients by minimising: ∑(yi − b0 − ∑bjxij)² + λ∑bj² The penalty applies to slopes, not usually the intercept. λ ≥ 0 controls shrinkage. At λ = 0, ridge equals OLS; as λ increases, coefficients move toward zero but ordinarily do not become exactly zero. Ridge is useful when predictors are correlated and stable prediction is more important than a sparse model. 7.2 Lasso regressionLasso uses an absolute-value penalty: ∑(yi − b0 − ∑bjxij)² + λ∑|bj| Lasso can set some coefficients exactly to zero, providing a form of variable selection. With highly correlated predictors, however, it may select one variable somewhat arbitrarily. Its selected features should therefore not be treated as definitive causal discoveries. 7.3 Elastic netElastic net combines both penalties: ∑(yi − b0 − ∑bjxij)² + λ[α∑|bj| + (1 − α)∑bj²] where 0 ≤ α ≤ 1. α = 1 gives lasso and α = 0 gives ridge, subject to equivalent scaling conventions. The penalty parameter and mixing parameter should be selected using cross-validation on the training data. Regularisation improves generalisation only when tuning and validation are conducted without leaking test information. 8. A Professional Modelling WorkflowA defensible regression project usually follows these stages: - Define the decision, target, prediction horizon and acceptable error.
- Establish the unit of analysis and ensure that each row represents the intended case.
- Inspect missing values, duplicates, impossible values, leakage and changes in data definitions.
- Explore distributions, relationships and meaningful transformations.
- Create a chronological or random train–test split appropriate to the data-generating process. For time-dependent business data, use past observations to predict future observations rather than randomly mixing time periods.
- Fit a transparent baseline and then compare OLS, transformed models and regularised alternatives.
- Diagnose residuals, influence, multicollinearity and data leakage.
- Select hyperparameters using cross-validation inside the training set.
- Evaluate once on untouched test data using relevant metrics and business costs.
- Communicate coefficients, uncertainty, limitations and monitoring requirements.
The test set should not be repeatedly inspected and used to make decisions. Otherwise it becomes part of model development and no longer provides an unbiased final assessment. 9. Illustrative Case: Retail Promotion ForecastingBackgroundA fictional supermarket chain wants to forecast weekly product-category sales to plan inventory and evaluate promotional activity. Historical data include units sold, price discount, advertising expenditure, store traffic, holiday status and store type. ProblemManagement initially proposes a simple model using advertising alone. Analysts are concerned that advertising is concentrated during holidays and that stores with higher traffic receive larger budgets. A simple coefficient could therefore combine several effects. Analysis and approachThe team defines weekly category units as the target and uses a multiple regression containing discount, advertising, traffic, holiday status and store indicators. A chronological split assigns earlier weeks to training and later weeks to testing. Holiday status is encoded as an indicator, with ordinary weeks as the reference category. Residual plots show a fan-shaped pattern: errors are larger for high-volume stores. The team reports MAE by store size and uses a log transformation of sales after checking that it is operationally interpretable. Advertising and traffic have a high VIF, because advertising budgets are allocated partly according to expected traffic. Since the immediate objective is prediction, the team compares OLS, ridge and elastic net. Standardisation is fitted on the training data only. Cross-validation selects a moderate ridge penalty. On the untouched test period, ridge produces lower MAE than OLS and the advertising coefficient is more stable across validation folds. The model is not interpreted as proof that advertising causes sales; a controlled experiment would be needed for that claim. Outcome and governanceThe forecasting system is adopted for inventory planning, but promotional investment decisions continue to use experimental evidence. Forecasts are accompanied by prediction intervals or scenario ranges where available. The business monitors error by store, product and promotion type, and reviews performance after assortment or pricing changes. Access to customer-linked data is restricted, and variables that could create unfair allocation decisions are reviewed before deployment. Learning pointsThe case illustrates that model quality involves more than a high R². Appropriate temporal validation, residual diagnosis, multicollinearity management, regularisation, subgroup monitoring and careful interpretation are all necessary for professional use. 10. Limitations, Ethics and Contemporary PracticeRegression models inherit limitations from their data. Historical relationships may change after competitor entry, inflation, policy changes or platform redesign. Omitted variables can bias interpretation, while measurement error can weaken relationships. Automated variable selection can reproduce historical discrimination if protected groups or proxies are handled poorly. Governance should include clear target definitions, documented data lineage, access controls, reproducible code, versioned models and a named owner. Predictions affecting credit, employment, insurance or access to essential services may be subject to sector-specific regulation and fairness obligations. Analysts should test performance across relevant groups, explain material decisions and provide an appeal or review process where appropriate. Modern tools can automate feature generation, hyperparameter tuning and monitoring, but automation does not remove the need for assumption checking. Explainable coefficients, partial dependence or scenario analysis may support communication, yet explanations must not imply causality when the model is predictive only. A simple, stable model can be preferable to a marginally more accurate but opaque alternative when decisions are high stakes. Chapter SummaryLinear regression models a numerical response as a function of one or more predictors. Simple regression uses one predictor, while multiple regression estimates conditional relationships among several predictors. OLS selects coefficients by minimising squared residuals. Coefficients must be interpreted with attention to units, the reference group and the phrase “holding other included predictors constant.” Model fit can be summarised with R², adjusted R², RMSE and MAE, but in-sample fit is not the same as future predictive performance. Valid inference depends on assumptions concerning functional form, independence, exogeneity, variance, multicollinearity and, for small-sample exact tests, normality. Residual plots, leverage and influence diagnostics reveal patterns that fit statistics may conceal. Multicollinearity can destabilise individual coefficients. Ridge, lasso and elastic net add penalties that may improve generalisation, provided predictors are appropriately scaled and tuning is performed through leakage-free cross-validation. A professional workflow combines business understanding, careful data preparation, suitable validation, transparent communication and ongoing governance. Regression supports decisions, but it does not by itself establish causation or eliminate managerial responsibility. Key TermsRegression: A statistical method for estimating relationships between a response and explanatory variables. Response variable: The numerical outcome to be explained or predicted. Predictor: An explanatory variable used by a model. Intercept: Predicted response when all predictors equal zero. Slope coefficient: Estimated change in the response for a one-unit predictor change, conditional on other variables. Residual: Observed value minus fitted value. Ordinary least squares: Estimation by minimising the sum of squared residuals. SSE: Sum of squared errors left unexplained by the model. R²: Proportion of in-sample response variation explained relative to the mean baseline. RMSE: Square root of average squared prediction error, in response units. MAE: Average absolute prediction error, in response units. Homoscedasticity: Constant conditional error variance. Heteroscedasticity: Non-constant conditional error variance. Multicollinearity: Overlap or linear dependence among predictors. VIF: Measure of coefficient variance inflation caused by predictor relationships. Leverage: Unusualness of an observation’s predictor values. Influence: Extent to which an observation changes fitted results. Ridge regression: Regression using a squared-coefficient penalty. Lasso regression: Regression using an absolute-coefficient penalty. Elastic net: Regularisation combining ridge and lasso penalties. Review QuestionsShort Answer Questions- What is the difference between a response variable and a predictor?
- Interpret a slope coefficient in a multiple regression model.
- Why can a high R² fail to demonstrate good future prediction?
- What does a residual-versus-fitted plot help an analyst detect?
- Why should predictors generally be standardised before regularisation?
Long Answer Questions- Explain the OLS objective and derive the meaning of the simple-regression slope and intercept.
- Discuss the major assumptions of linear regression and the consequences of violating each.
- Compare ridge, lasso and elastic net in terms of penalties, coefficient behaviour and business use.
- Explain how multicollinearity affects coefficient interpretation and describe appropriate remedies.
- Design a complete regression workflow for a business forecasting project, including validation and governance.
Analytical / Application Questions- A sales model has a high training R², poor test MAE and a funnel-shaped residual plot. Diagnose the likely issues and recommend a sequence of actions.
- A model includes advertising, website visits and campaign spend, with high VIF values and unstable coefficient signs. Explain why this may occur and decide whether prediction or interpretation should guide the remedy.
- A retailer wants to claim that a positive advertising coefficient proves advertising causes sales. Evaluate the claim and propose a stronger design for estimating causal impact.
Multiple Choice Questions with AnswersQuestion 1In a simple regression model, what does the slope coefficient represent? A. The average value of the response variable B. The predicted change in the response for a one-unit predictor increase C. The proportion of unexplained variation D. The number of observations in the sample Correct Answer: B. The predicted change in the response for a one-unit predictor increase Question 2Which objective does ordinary least squares minimise? A. The sum of absolute predictors B. The sum of squared residuals C. The number of predictors D. The product of fitted values Correct Answer: B. The sum of squared residuals Question 3A residual is calculated as: A. Predicted value minus the predictor B. Observed value minus predicted value C. Observed value divided by predicted value D. Predictor minus its mean Correct Answer: B. Observed value minus predicted value Question 4What does a high VIF generally indicate? A. Strong multicollinearity involving a predictor B. Perfectly normal residuals C. A low response variance D. A guaranteed causal relationship Correct Answer: A. Strong multicollinearity involving a predictor Question 5Which metric is expressed in the same units as the response? A. RMSE B. R² C. VIF D. The p-value Correct Answer: A. RMSE Question 6What is a distinctive feature of lasso regression? A. It always increases every coefficient B. It can set some coefficients exactly to zero C. It removes the intercept automatically D. It requires no validation data Correct Answer: B. It can set some coefficients exactly to zero Question 7In multiple regression, the phrase “holding other predictors constant” applies primarily to the interpretation of: A. The response mean B. A slope coefficient C. The sample size D. The residual sum of squares Correct Answer: B. A slope coefficient Question 8For a time-dependent forecasting problem, which validation approach is generally most appropriate? A. Randomly mixing all dates before splitting B. Using future observations to train the model C. Training on earlier periods and testing on later periods D. Evaluating only on the training data Correct Answer: C. Training on earlier periods and testing on later periods Question 9What does heteroscedasticity mean? A. Predictors are exactly identical B. Error variance changes across fitted values or predictor levels C. All residuals equal zero D. The response is categorical Correct Answer: B. Error variance changes across fitted values or predictor levels Question 10Which statement about regularisation is correct? A. It can reduce overfitting by penalising large coefficients B. It proves that predictors are causal C. It makes test data unnecessary D. It always improves interpretability and prediction simultaneously Correct Answer: A. It can reduce overfitting by penalising large coefficients
|