# A named-account program measured as incremental pipeline: design

Written before any code of this part existed and before any account, opportunity, read or score of this part was
simulated. Every number below is in `abm/protocol.json`, which this note explains; if the two disagree, the protocol is
the record.

## What this part adds

Round 1 held out retargeting by account and showed that credit is not cause. A revenue team running account-based
marketing (a program aimed at a named list of target accounts: ads, direct mail and sales plays on the same accounts)
reports it with other figures: influenced pipeline, sourced pipeline, stage conversion and sales-cycle length by source,
pipeline coverage against the quarter's target, and payback by channel. This part asks how far each of those sits from
what the program causes, what a matched control on the named list reads, and what one common CRM fault does to each
figure: an opportunity recorded as sourced by the program for an account that already has an open opportunity, so the
same deal is counted twice.

## Overlap test

The two nearest published studies, checked before this design:

1. This study (rounds 1, 5 and 8): the same simulated company, holdouts randomized by account, and credit against
   cause. None of them measures pipeline, coverage, stage conversion, sales-cycle length or payback, and none plants a
   record-level fault. This part reuses round 1's funnel rules and its estimator's logic, so it is a round of this
   study.
2. arr-reconciliation: revenue figures that disagree until a reconciliation check finds the double count. It works on
   billing and revenue records, not pipeline, and has no program or control. The marketplace experiments study covers
   test designs, not pipeline reports.

## The company and the program

The same simulated software company, its target segment: 4,000 named accounts, each with a size band, round 1's latent
intent, a recorded fit score and the reps' read of the account, which never reaches the CRM. Two years by day. In the
first year the accounts open opportunities at a base weekly rate that rises with intent; an opportunity then follows
round 1's rules (proposal, win and contract value). On the first day of the second year the team names its target list:
the 1,000 accounts with the highest fit score plus the reps' read. The program runs for two quarters on half of the list.
It raises a treated account's weekly chance of opening an opportunity by 0%, 25% or 50% (the three effects) and changes
nothing else: not the win rate, not the value, not the cycle. It costs an assumed US$400 per account per quarter.

Each company is simulated twice with the same random draws, with and without the program, so the pipeline the program
causes is known exactly for every company.

## The matching

Inside the list, accounts are paired within their size band by recorded fit score, and one account of each pair is drawn
at random for the program: 500 pairs. The read is 500 times the mean pair difference in pipeline created during the two
program quarters, with a 90% interval from the pair differences. For comparison, a team that runs the program on the
whole list matches each treated account to a look-alike outside it (same size band, same history, nearest fit score).
The look-alike cannot see the reps' read, which is how the list was partly chosen.

## The planted failure and its check

In the program version's CRM records only: the first time a treated account has an open opportunity from another source
during the program, marketing operations opens a second record for the same deal, recorded as sourced by the program,
with the same value. When the deal closes the two are merged and the program's record is kept, so the win moves to the
program and the original closes as lost (merged). The check is one rule: flag any opportunity created while another
opportunity on the same account was open. It also flags genuine second deals (an account opens one with a small weekly
chance while another is open), and the corrected figures drop every flagged record, so the check has a cost.

## Definitions

Every figure is defined in the protocol: true incremental pipeline, influenced and sourced pipeline, the matched-pair and
look-alike reads, stage conversion and sales-cycle length by recorded source, coverage on the first day of the program's
second quarter and of the quarter after (open pipeline over an assumed US$2.0M quarterly bookings target), and payback by
channel (spend over the gross margin, 80% assumed, of the channel's new customers' contract value, in months), with the
program's incremental payback taken from the matched-pair read of won value.

## Rough arithmetic before any code

At the base rate about 9.9% of accounts open an opportunity a quarter, about 400 in the segment; about 21% of
opportunities are won at a mean value near US$22K, so the segment books about US$1.9M a quarter. With 500 pairs, the
pair read's standard error is near US$450K, against a true effect near US$660K at the middle effect: the test is
underpowered at that effect, and that is part of what it shows.

## True by construction

Stated here so the page can label it: influenced pipeline exceeds what the program causes (every treated account's
pipeline counts); sourced pipeline exceeds it at these effects (60% of a treated account's pipeline is recorded as
sourced); the check flags every planted duplicate (its rule is the duplicate's definition); the program changes no win
rate, value or cycle, so any difference in conversion or cycle by source comes from who gets credited.

## Predictions

Written before any simulation; each scored over 1,000 companies per effect as stated in the protocol:

1. Influenced pipeline is at least 4 times the true incremental pipeline at the middle effect and at least 2.5 times at
   the strong effect, and above zero when the program causes nothing (a safe bet: the ratio is near (1 + effect) / effect
   by construction).
2. Sourced pipeline exceeds the true incremental pipeline in at least 95% of companies at every effect (a safe bet).
3. With the failure off, the matched-pair read's 90% interval holds the truth in 85% to 95% of companies at every effect.
4. When the program causes nothing, the look-alike read is above zero on average and in at least 60% of companies.
5. With the failure on and no effect, the matched-pair read is above zero on average and its interval holds the truth in
   at most 50% of companies.
6. The failure raises coverage on the first day of the program's second quarter by at least 0.2 times the target on
   average, at every effect.
7. The failure shortens the program's sourced payback by at least 20% on average, at every effect where it pays back.
8. The check flags every planted duplicate (a safe bet), and genuine second deals are under 40% of its flags among
   records created in the program weeks, on average.
9. After dropping flagged records, the matched-pair read's coverage is within 5 points of its coverage without the
   failure, at every effect.
10. With the failure off, the program's incremental payback is longer than its sourced payback in at least 80% of
    companies at the middle effect.
11. At the middle effect, the failure shortens the median sales cycle of won opportunities recorded as sourced by the
    program by at least 20%.

## What it does not do

One segment of one simulated company, with every rate, effect, cost, margin and target assumed. The program changes only
how often an account opens an opportunity. One fault at a time, at one rule. Other channels' payback uses their recorded
credit, which round 1 showed overstates cause; only the program is held out. The check sees records, not deals, so it
cannot tell a duplicate from a genuine second deal. No paid model calls.
