Lawfare Academy

Regression Analysis for Business · Chapter 6 of 8

Identification, omitted variables and conditional comparisons

Return to the linked course unit →

DEVELOPED COURSE TEXT

Identification, omitted variables and conditional comparisons

Explain the price-selection mechanism in this record

The fictional generator makes price partly respond to latent demand z, and z directly raises sales. In the baseline, z is omitted. The price coefficient therefore mixes the negative structural price response with the positive association between price and unobserved willingness to buy. Controlling for advertising, promotion and a linear time trend does not eliminate this mechanism because residualized price still contains z-related variation. The algebraic normal equations remain satisfied despite this problem.
The structural price coefficient in the generator is minus three. The baseline development estimate is about minus 1.417. Adding the teaching-only z column gives a price estimate near minus 3.180 in this particular realization. The change illustrates omitted-variable bias but does not prove that the oracle estimate is exactly correct. Sampling noise, serial errors and rounding remain. Nor is z observable in the deployment setting. A variable available only to the author cannot be recommended as an operational control without a measurement plan.

Derive the omitted-variable relationship

Suppose the full sample model is y=X beta+z gamma+u, and the reduced model omits z while keeping X. The reduced coefficient vector equals the full-model X coefficient vector plus gamma-hat times the coefficients from regressing z on X. This is an exact sample regression identity when both models use the same rows and full-rank designs. In a population model, an analogous projection formula describes how omitted-variable association shifts the target under suitable assumptions.
For the price component, the sign depends on two links: how z relates to residualized price, and how z relates to sales conditional on X. If both are positive, the reduced price coefficient is shifted upward. It can become less negative or even positive. The formula does not establish causality of gamma merely because z is included. It also does not justify adding every available variable. A variable caused by price, or by both price and another outcome driver, can change the estimand or introduce bias through conditioning.

Compare research designs rather than cosmetic controls

A randomized price assignment can identify an average effect under valid implementation, no relevant interference and a clearly defined target population. A natural experiment or instrument requires a defensible source of price variation, relevance and an exclusion argument tied to the business process. The fact that a cost variable predicts price does not by itself establish exclusion: it may also affect quality, availability or customer demand. An instrument is an identification claim, not simply another strong predictor.
A before-and-after sales comparison can confound price with seasonality, promotion, changing demand and management selection. Difference-in-differences adds a comparison trajectory but requires a credible untreated trend and attention to spillovers. Regression discontinuity needs a genuine assignment threshold and continuity conditions. These designs are not interchangeable repairs. Select one based on how the intervention is assigned and what effect is needed; then derive the estimator and uncertainty for that design.

Preserve what the observational model can still do

A biased causal coefficient can still contribute to forecasting if the selection relationship remains stable. The baseline may predict better than a noisy oracle in a small sample because prediction combines bias, variance and future conditions. Conversely, an accurate forecast of sales under current management behavior need not predict the effect of a deliberate price intervention that changes that behavior. The policy changes the joint distribution that the observational model learned.
The final report should therefore separate the deployable forecasting claim from the causal price claim. Harbor can evaluate forecast errors on later months, while treating a proposed price experiment as a new research design. It should not use robust covariance, a high R squared or a near-zero residual mean to certify intervention effects. The advanced standard is to explain the assignment mechanism, conditioning choices, target effect and counterfactual comparison explicitly enough that a reviewer can identify which assumption carries the causal interpretation.

Worked records

Record 1

Add the teaching-only latent-demand column to the same 24 development rows. This oracle is for identification analysis, not deployment.

TermEstimateConventional SEHC3 SEHAC(2) SE
Intercept118.99151022.75351031.06980419.727252
Price-3.1803911.0483221.4347670.896300
Advertising2.2106730.4028400.3896640.281229
Promotion6.7499371.2134711.4933781.007511
Month1.0799100.1522410.2161870.134212
Latent demand2.8094031.5852182.1550771.384143

Develop the reasoning

Baseline price=-1.416908; oracle price=-3.180391. The generator’s structural price coefficient is -3. The difference between fitted estimates is about 1.7635, illustrating the direction of selection bias in this realization. The oracle holdout RMSE is 7.988728, which does not improve on the baseline here. Causal specification and finite-sample forecast accuracy are separate criteria.

Progressive practice — optional

1. Foundation

Identify the two links generating upward omitted-variable bias.

Compare the worked reasoning

Latent demand raises price and raises sales conditional on the included controls.

Change the record

Latent demand instead lowers price while still raising sales.

Compare the changed-record reasoning

The omitted-variable shift can become downward; derive the residualized association rather than retain the original sign.

2. Application

A structural slope is -3, omitted-variable effect is 4 and residualized z-on-price slope is .4. Find the reduced slope.

Compare the worked reasoning

-3+4×.4=-1.4.

Change the record

The z-on-price slope becomes -.2.

Compare the changed-record reasoning

The reduced slope is -3-.8=-3.8. Bias depends on both the omitted effect and its association with included price.

3. Transfer

Does adding post-price customer satisfaction necessarily improve causal adjustment?

Compare the worked reasoning

No. If price affects satisfaction, conditioning on it can remove part of the effect or introduce other bias.

Change the record

Satisfaction is measured before a randomized price assignment and is used only to improve precision.

Compare the changed-record reasoning

That timing avoids the stated post-treatment problem, but the estimand, randomization and analysis plan still need to be specified; it is not the same adjustment decision.

Sources and scope