DEVELOPED COURSE TEXT
Reproduce the analysis and define responsible operating controls
A dashboard must retain its definitions after release
A reproducible digital analysis specifies raw keys, window, refund handling, attribution rule, cohort basis, cost and actual decision. A later change in platform instrumentation or payment timing can create a trend without a real behavior change. Keep versions and reconcile the business ledger before celebrating a new conversion record. An automated optimizer should not quietly redefine a click as a retained customer.
The control plan needs permitted actions, review triggers and a usable rollback or pause when evidence changes. A higher initial conversion can coexist with misunderstanding, refunds or obstructed exit. Include those outcomes and meaningful customer choice rather than train the system to maximize a proxy at any cost. Actual privacy, advertising or contract obligations require current applicable review; technical access alone is not permission.
Use code to make a defined calculation inspectable
The compact original Python record below reproduces the first chapter’s totals. It does not create causal identification or solve unknown identity links. Its assumptions are deliberately visible: each order identifier is unique, refunds belong to the listed order, paths are already reconciled and pending unpaid activity is excluded. A real data pipeline must verify those conditions rather than import them as convenient facts.
The final review connects the code output with the randomized factorial, the finite survival model and the capacity-constrained budget. Those are distinct evidence objects, not one pooled dataset. A proper recommendation should say which finding is descriptive, which is randomized and which is a conditional planning model. That separation allows useful action without laundering a modeled forecast into observed performance.
The capstone exercises revise definitions and operating conditions. They require the learner to trace consequences across the ledger, cohort value, experiment and optimization instead of repeating one dashboard ratio. Reading the script is not observed analytical proficiency; actual independent execution and interpretation remain a separate learner assessment.
Executable original ledger check
from collections import defaultdict
paths = {'a':('search','search'),'b':('search','email'),
'c':('email','search'),'d':('email','email'),
'e':('direct','direct'),'f':('search','email')}
orders = [('o1','a',100,0),('o2','b',120,0),('o3','c',80,0),
('o4','d',150,150),('o5','e',200,0),
('o6','f',100,0),('o7','f',50,0)]
assert len({o[0] for o in orders}) == len(orders)
first,last = defaultdict(float),defaultdict(float)
for oid,person,gross,refund in orders:
first[paths[person][0]] += gross-refund
last[paths[person][1]] += gross-refund
print(sum(o[2] for o in orders), sum(o[2]-o[3] for o in orders))
print(dict(first), dict(last))
Expected totals:800 gross and650 retained. First-touch retained:search370,email80,direct200;last-touch retained:search180,email270,direct200. Key order can differ without changing the mapping.
Worked records
Record 1
Fictional final review sees platform gross claims 1150, unique business gross 800/retained 650, a factorial both-strategy incremental net 660, and a separate capacity-constrained budget optimum 150. The cohort model has positive expected value but a 100 reserve shortfall. No fact establishes all these records apply at unlimited scale.
Develop the reasoning
Keep the business ledger totals as descriptive reconciliation; use the factorial for its defined causal comparison; label the block optimum as conditional planning and the cohort value as finite expected contribution. Resolve the dated cash/reserve constraint before scaling. Monitor retained outcomes, refunds, customer understanding, capacity and changed channel terms. No single attractive ratio overrides the other actual dependencies.
Progressive practice — optional
1. Foundation
The script reports 7 orders and an analyst labels them 7 newcustomers. Correct the output interpretation.
Compare the worked reasoning
There are 7 orders from 6 paid purchasers; one has full refund, leaving 5 withpositive retained revenue. New-customer status itself is not supplied. The order count cannot establish it.
Change the record
A verified history shows 2 ofthose purchasers were existing customers.
Compare the changed-record reasoning
Gross paid new purchasers would 4 under that definition; reconcile which retained-positive customers are new before computing retained-new CAC.
2. Application
A platform changes its lookback rule and attributed revenue jumps while business retained revenue is stable. What should be checked?
Compare the worked reasoning
Version/window/identity attribution before claiming incremental growth. Reconcile to the unchanged business outcome and retain both old/new rule definitions.
Change the record
An independent holdout also shows a credible retained-outcome increase.
Compare the changed-record reasoning
Credit the causal evidence under its design while separately reporting the instrumentation change. Do not treat agreement as proof the attribution jump itself measures the effect.
3. Transfer
Write a release rule when the model is profitable but cash, capacity and customer understanding remain unverified.
Compare the worked reasoning
Do not scale on modeled return alone. Verify dated funding, qualified fulfillment and an understandable deliverable offer; retain actual outcome windows and a bounded comparison/monitoring plan.
Change the record
Those conditions are verified, but a new cohort shows lower retention.
Compare the changed-record reasoning
Update survival/value and the budget model with the relevant uncertainty. A prior successful check does not make the old retention assumption permanent.
Sources and scope
- OpenStax: Metrics used to evaluate online marketing: Inspected funnel/source/CPC/CPA/dashboard teaching. Original Vale records distinguish the conversion key, revenue attribution and causal incrementality rather than treating every metric as a customer outcome.