Build1 distinct publisher3 min readUpdated
A 10,000-row example where x3 = x1 + x2 clears every pairwise threshold while the design matrix is singular. Split the same total across five parts and the loudest cell drops to 0.45.
The Engineer · Build desk
Compiled by The EngineerSomething wrong?How this is made
The reason the heatmap goes quiet is arithmetic you can do without a laptop. If k parts are independent and equally scaled and you also carry their sum, each part correlates with that sum at 1/sqrt(k) [1]. Two parts gives 0.707, which is the roughly 0.7 the dev.to example reports [3]. Five channel spends adding to a budget line gives 0.447 [2]. The dependency is exact in both cases and the matrix is equally rank deficient [4], but the loudest cell on the heatmap has gone from 0.71 to 0.45 [2].
That number is worth sitting next to the author's own marketing mix experience. He reports his controls sitting at 0.8 and above and the media variables he needed to report on sitting between 0.4 and 0.6 [13]. A five-way budget identity scores 0.447 [2], which lands inside that media band [3]. On correlation alone, a set of columns that sum exactly to another column is indistinguishable from a driver you actually want a coefficient for.
The post carries two failures under one heading, and they need different fixes. The first is rank deficiency in the design matrix: x3 regressed on x1 and x2 returns R squared of 1, so VIF is infinite [7]. The second is screening on correlation with the target, which fit beautifully and pushed every media driver out of the model [12], because distribution, seasonality and holiday flags were more tightly coupled to the December peak that media spend was also competing to explain [14]. VIF does not diagnose the second at all; it never looks at the target. The response described is to start dropping variables for being too correlated with sales [15], which is a judgement about what you want the coefficients to mean rather than a collinearity test.
The variance inflation name is literal, and that is the part worth keeping. A VIF of 10 means the coefficient's variance is ten times its orthogonal value and the standard error is about 3.2 times larger, so the estimate is not biased, just unstable enough to swing across zero on a resample [8]. Note what infinity does to that reading: an exact dependency gives you no severity to rank, only a column to delete. The ranking use the author recommends over pass/fail gates [9] works on near-dependence and degenerates on the exact kind.
Correlation answers a two-variable question and multicollinearity is a property of the whole matrix [5], so the cheapest available check is not a diagnostic at all. Most of these dependencies are ones the feature engineering created: a total column, a ratio, a set of spends that add to a budget, a one-hot encoding with every level retained [6]. Those can be found by reading your own transformation code, before any threshold gets a chance to pass them.
Follow any of these and your For You feed starts watching them — no settings page required.
Ranked by verification strength, evidence, and original report placement.
The typical regression workflow described is: load the data, call df.corr(), plot the heatmap, scan for red squares, and drop one variable from every pair above 0.8.
The counterexample draws x1 and x2 as 10,000 independent standard normal values with numpy's default_rng(42) and constructs x3 = x1 + x2.
The resulting correlation matrix shows roughly 0.7 between x1 and x3, roughly 0.7 between x2 and x3, and approximately 0 between x1 and x2.
Every pair in that example passes a 0.8 threshold and a 0.75 threshold, yet x3 is perfectly determined by the other two, the design matrix is singular, there is no unique solution for the coefficients, and software will either return garbage or silently regularise its way out.
Correlation is a two-variable statistic while multicollinearity is a property of the entire design matrix, so the heatmap only answers the first question.
The author lists the common real cases as every engineered ratio, every total column that is the sum of its parts, every set of channel spends that add to a budget, and every one-hot encoding where a level was not dropped, and says near-dependence across three or four features is far more common than a single scary pair.
Evidence-backed comparisons of source perspectives and observed adoption signals. Read the methodology
Which Builder, Operator, and Investor concerns the observed source mix emphasized—not a truth score.
Evidence, demonstrated adoption, hype gap, incentives, and confidence are assessed independently, each on its own current evidence. How these are measured.
Reproducible core, single-source periphery
The central claims are verifiable from the supplied material itself: the counterexample is fully seeded (numpy default_rng(42), 10,000 rows, x3 = x1 + x2), the reported pairwise correlations near 0.7/0.7/0.0 follow from the construction, and the VIF definition and its variance interpretation are standard closed-form results that the derived 1/sqrt(k) and n/VIF extensions follow directly. Evidence weakens at the edges: no diagnostic output is printed, the claims about industry-wide practice and about the 0.8-plus versus 0.4-0.6 correlation bands are one practitioner's recollection, and the article body is truncated mid-argument.
No adoption evidence in cluster
The supplied material contains no release, deployment, benchmark, pricing, licensing, security or usage-disclosure event. Mentions of numpy, pandas and statsmodels are illustrative code, and the marketing mix account is an undated personal recollection with no organisation, scale or outcome data. There is nothing to measure without inferring facts the sources do not provide.
Sound core, slightly oversold framing
The technical substance is at or better than its billing: the singular-design demonstration and the VIF mechanism are precise and checkable, and the article deliberately deflates its own thresholds. Mild overstatement comes from the surrounding rhetoric rather than the mathematics: 'almost every regression project I've seen in the last decade' and 'the way everyone does' generalise from one practitioner's experience, VIF is presented as asking 'the right question' without noting that it too is pairwise-blind to nothing but also silent on which dependency structure is at fault, and the sharpest consequence the argument implies, that widening a dependency across five parts pushes the loudest cell to about 0.45, is never quantified in the piece.
Low commercial stake, mild reputational one
The one source is an individual practitioner post on a developer publishing platform with no product, pricing, sponsorship, vendor affiliation or funding interest visible in the supplied material; the tools cited are open-source libraries used illustratively and are not being sold. The residual incentive is reputational and rhetorical: the piece advances the author's methodological stance and marketing mix expertise and is structured as a ritual-dismantling argument, which favours the strongest possible framing of how common the flawed practice is.
Confident on the mathematics, not on the practice claims
Confidence is high for the checkable technical core, which stands independent of the publisher, and for the derived arithmetic that follows from the article's own setup. It is materially lower for everything else: one publisher, one truncated article, no adoption evidence, and practice-prevalence and correlation-band figures that cannot be corroborated within the cluster.
build
Lookahead bias passes code review because it improves the metrics. Test the clock, not the output1 distinct publisher
build
Before you spend quota on an agent skill, make it pass an eval harness1 distinct publisher
build
A 20-digit ID went into a JSON repair tool and a different number came out1 distinct publisher
build
A completer that scores 0.546 on its eval scores 0.070 on the thing users see1 distinct publisher
Distinct publishers with included, body-backed reporting in this cluster.
dev.to
1 article · August 21, 2026