Factorial Experiments: Main Effects, Interactions and Why One-Factor-at-a-Time Falls Short
Run a two-level factorial experiment with three factors on the eight corners of a cube and compare it with the common habit of changing one factor at a time using the same eight runs. Set the true effects, the interaction and the noise, then watch the estimates appear run by run. A repeat-the-experiment histogram shows that the factorial design is twice as precise for each main effect and that one-factor-at-a-time is biased whenever factors interact. Blender-built pedestals and orbs come with numerical checks: Yates algorithm versus contrasts, orthogonality, the sum-of-squares identity and Monte Carlo variance.
Design of Experiments (DoE) is the statistical discipline of choosing which combinations of input factors to actually test, so that a small number of runs yields reliable estimates of every effect that matters — including interactions between factors. This simulation renders a 2×2×2 full factorial design as a glowing cube: eight corners, one per combination of three two-level factors. Switch to one-factor-at-a-time (OFAT) and watch the design collapse to four runs radiating from a single baseline corner — cheaper, but structurally blind to any interaction between factors, which the estimated effects panel exposes directly.
Run a two-level factorial experiment with three factors on the eight corners of a cube and compare it with the common habit of changing one factor at a time using the same eight runs. Set the true effects, the interaction and the noise, then watch the estimates appear run by run. A repeat-the-experiment histogram shows that the factorial design is twice as precise for each main effect and that one-factor-at-a-time is biased whenever factors interact. Blender-built pedestals and orbs come with numerical checks: Yates algorithm versus contrasts, orthogonality, the sum-of-squares identity and Monte Carlo variance.
3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install