# Budget by lifetime value: design

Written before any code of this part existed and before any customer, cohort, lifetime value, budget split or score of
this part was computed. Every number below is in `ltv/protocol.json`, which this note explains; if the two disagree, the
protocol is the record.

## What this part adds

Round 2 (`media-mix.html`) split a fixed weekly budget across five paid channels by three readings (last-touch
attribution, a media mix model nobody checked, and the same model calibrated by the round 1 holdout and one geo test)
and scored every split against the simulator's truth. Every reading there valued a channel by the first-year revenue of
the customers it brings in. Customers differ in how long they stay and how much they grow, and those differences can
follow the channel that brought them in. This part asks:

1. Does allocating the same budget by each channel's incremental customer lifetime value change the split, and the
   lifetime value earned, against allocating by attributed first-period revenue and by the calibrated model's short-run
   ROI?
2. A team's lifetime value per channel comes from a cohort table: customers grouped by the channel credited with them.
   How far is that cohort figure from the lifetime value of the customers the channel actually causes?
3. When calibration moves a channel's ROI in the middle of a quarter, how far do the rebased channel targets move from
   the original plan, and is the rebased plan worth more?

Overlap with other published studies, checked before this design: the online retail win-back study asks which lapsed
customers come back with no contact, on real public retail orders, and allocates no budget across channels; the
marketplace revenue forecast carries cohorts forward to forecast revenue on public ride-hail data, a forecasting
question rather than an allocation. Round 2 of this study is the nearest: same company, same worlds, same channels and
the same optimizer, but no customer, retention or lifetime value. This part reuses round 2's nine worlds, fits and
allocation rule unchanged and refits no model.

## The customers

- **Sources.** Each week of each world, new customers arrive from six sources: organic demand (round 2's baseline) and
  each paid channel's true contribution. The count is Poisson, the source's weekly first-year revenue over the source's
  mean first-year value: US$24K organic, US$22K paid search, US$14K paid social, US$12K display, US$40K events and
  US$24K retargeting. A customer's own first-year value is that mean times a lognormal draw (sd 0.5 on the log scale,
  mean one).
- **Retention and growth.** Contracts renew yearly. Renewal 1 happens with probability p1, each later renewal, given the
  one before, with probability p2, up to four renewals. Each renewal's value is the previous year's times (1 + g) times
  a small lognormal draw (sd 0.05, mean one). Per world, p1, p2 and g are drawn for each source from these ranges:

  | Source | p1 | p2 | g |
  |---|---|---|---|
  | Organic | 0.78 to 0.88 | 0.85 to 0.92 | 3% to 7% |
  | Paid search | 0.68 to 0.82 | 0.80 to 0.90 | 2% to 6% |
  | Paid social | 0.45 to 0.62 | 0.68 to 0.80 | minus 2% to 3% |
  | Display | 0.40 to 0.58 | 0.65 to 0.78 | minus 3% to 2% |
  | Events | 0.82 to 0.92 | 0.88 to 0.95 | 6% to 12% |
  | Retargeting | 0.62 to 0.78 | 0.78 to 0.88 | 0% to 5% |

  These are assumptions: customers won at events or through search stay longer and grow, paid social and display bring
  smaller customers who churn more, and customers retargeting tips over behave a little worse than organic ones. Every
  split difference this part finds follows from them.
- **Lifetime value.** Five contract years per customer, discounted at 10% a year. The multiplier M is lifetime value per
  US$1 of first-year value: 1 plus the sum over renewals k = 1 to 4 of the chance of reaching renewal k times
  (1 + g)^k over 1.10^k. At the middle of the ranges M is about 2 for paid social and display, about 3 for paid search
  and retargeting, 3.5 for organic customers and 4 for events (rough arithmetic, before any run).
- **What a team sees.** The order history: every customer's week won, first-year value, a last-touch channel label and
  every renewal observed before the end of the three observed years. A customer won in its last year shows no renewal
  yet. Labels follow round 2's last-touch credit rule week by week: an organic customer is credited to retargeting with
  share 0.318 times retargeting's spend over its mean, to paid search with 0.20 times search's spend over its mean, and
  to each of social, display and events with 0.03; a customer that social, display or events caused is credited 0.40 to
  retargeting, 0.15 to search and 0.35 to its own channel; search-caused customers 0.20 to retargeting and 0.70 to
  search; retargeting-caused customers all to retargeting. The rest carry no label.

## The cohort estimate

For each channel, the cohort is every customer labelled with it, organic customers credited to it included, as a
cohort table would have them. The estimate takes the observed renewal 1 rate, the pooled later renewal rate and the mean
growth at renewal, and applies the same five-year formula. Its 90% interval is the 5th to 95th percentile over 1,000
bootstrap resamples of the cohort's customers. The formula has the simulator's shape, so for a cohort of only the
channel's own customers it is right up to sampling noise by construction; what it cannot fix is who is in the cohort.

## The readings and the score

All eight splits use round 2's allocation rule unchanged (each channel between 0 and twice its mean spend on a US$100
grid, the whole weekly budget of US$47,462 spent, exact on the grid):

| Split | Value per channel |
|---|---|
| Today's | every channel at its mean spend |
| Attributed first-period revenue | last-touch ROI (round 2's attribution split) |
| Attributed lifetime value | last-touch ROI times the cohort multiplier |
| Short-run ROI | the calibrated model's response curves (round 2's calibrated split) |
| Incremental lifetime value | the calibrated model's curves times the cohort multiplier |
| Diagnostic | the calibrated model's curves times the true multiplier; separates the multiplier's error from the ROI's, never something a team could compute |
| Truth, first year | the truth's curves (round 2's best split) |
| Truth, lifetime value | the truth's curves times the true multiplier: the best split |

The run refuses to go on unless the three splits round 2 already has come out identical. Each split is scored by the
lifetime value a year of new customers is worth under the truth, its gain over today's split, the share of the
available gain it takes, its first-year revenue, how much of the budget it moves against the short-run split, and its
grow, hold or cut call per channel against the truth's lifetime value split (45 calls over the 9 worlds).

## Re-goaling in the middle of a quarter

A 13-week quarter is planned at the start with the incremental lifetime value view of the model nobody checked yet. After
week 6 the holdout and the geo test calibrate the model, and weeks 7 to 13 move to the calibrated split. Per channel,
the page shows the original targets (lifetime value and first-year revenue the uncalibrated model predicts for the
quarter) next to the rebased ones (the calibrated model's figure for the first 6 weeks at the original plan plus the 7
weeks at the new split), and the truth of each plan. Two measures: what rebasing earns over keeping the plan, and whether
the rebased total target is closer to the truth of its plan than the original one. The worked example is the median
world by how far the total target moved (the fifth of nine, ties to the lower world). Steady state throughout:
carryover across the switch is ignored on both sides.

## Predictions

Written before any run; each scored as stated in the protocol:

1. In every world the truth's lifetime value split and its first-year split differ by at least 10% of the weekly budget
   (an assumption check: it follows from the retention ranges).
2. The incremental lifetime value split earns more true lifetime value than the short-run split in at least 6 of 9
   worlds.
3. It earns more than the attributed lifetime value split in at least 6 of 9 worlds.
4. The attributed first-period split earns the least true lifetime value of the four readings in at least 6 of 9 worlds.
5. The cohort multiplier is above the true multiplier of the customers the channel causes for paid social in at least
   8 of 9 worlds, and for display in at least 8 of 9.
6. The cohort multiplier for events is below its true multiplier in at least 7 of 9 worlds.
7. The 90% intervals contain the true multiplier in at most 33 of the 45 channel-worlds.
8. Rebasing earns at least as much true lifetime value over the quarter as keeping the plan in at least 6 of 9 worlds.
9. The rebased total target is closer to the truth of its plan than the original target in at least 7 of 9 worlds.
10. The diagnostic split earns at least as much as the incremental lifetime value split in at least 6 of 9 worlds.

## What it does not do

No model is refitted; incrementality comes only from round 2's calibration by the holdout and the geo test, and the geo
test there went to paid search in every world. The holdout in round 1 does not follow customers through renewal, so no
reading here measures the retention of the customers a channel causes directly; the diagnostic split shows what that
would be worth. One run on the study seed; no paid model calls.
