Event study
The narrative says AI re-accelerated the cloud. An interrupted time-series with two counterfactuals is a way to check that claim instead of repeating it — and the two counterfactuals disagree.
Growth decelerated INTO the AI era first — enterprises were cutting cloud bills through 2023 — and then bent back up as AI workloads scaled: AWS bottomed at 12% YoY in 2023Q2 and is back to 28%; Google Cloud 22% → 63%; Azure (Microsoft's own metric) 26% → 40%. A growth re-acceleration of this size, simultaneous across all three providers, two years into a maturing market, is the clearest fingerprint of the AI demand shock.
A different counterfactual gives a humbler answer. Fit the 2021–22 boom-era trend (2021Q1–2022Q4, log-linear) and project it forward: through 2026Q1, Google Cloud sits -7% and AWS -27% relative to that path — i.e. even the AI surge has not restored boom-era compounding; it reversed the 2023 slide. The conclusion depends on the counterfactual you choose, which is exactly why both are shown.
Firm-wide capex from SEC XBRL (not cloud-segment-only; excludes finance-lease additions — see the data README).
Scenario. A cloud provider tests whether adding a live per-GPU price-comparison widget to the pricing page lifts trial sign-ups vs the static price list. Real experiment data is proprietary, so outcomes here are simulated (numpy, fixed seed) — the point is the design discipline, not the numbers.
| Design | Value |
|---|---|
| Hypothesis | price-comparison widget raises sign-up conversion (baseline 4.0%) |
| Minimum detectable effect | +0.5pp (α=0.05 two-sided, power 0.80) |
| Required sample (power analysis) | 25,551 per arm → 37 days at ~1,400 visitors/day |
| Sample-ratio mismatch check | χ²=0.06 → OK (no SRM) |
| Result | Value |
| Control conversion | 3.91% (1,012/25,871) |
| Treatment conversion | 4.47% (1,159/25,929) |
| Lift | +0.56pp (95% CI +0.21 to +0.90pp) |
| Two-proportion z-test | z=3.17, p=0.0015 |
| Decision | Ship it — the lift is statistically significant and the CI lower bound exceeds zero. |
Caveats handled in the design: novelty effects argue for running the full pre-committed duration even after early significance; the SRM check guards against broken randomization; conversion is a binomial metric so no variance-reduction (CUPED) was needed. Code: ab_experiment.py.