Examples#
These tutorials follow two programs. A regional health plan offers care-transition navigation to adults who leave participating hospitals for home. Each of its tutorials answers one evaluation question with one method, and the table below lists them. A subscription retailer sends weekly offers. The retailer program has its own section.
The program#
Start with Point-treatment TMLE.
tutorial |
the evaluation question |
method entry |
the failure mode it demonstrates |
|---|---|---|---|
assignment to the standard navigation offer |
one consistent nuisance gives a consistent point estimate. Two inconsistent nuisances have no general guarantee |
||
the same offer, with flexible learners and patients nested in navigator teams |
in-sample nuisance evaluation and ignored teams can understate uncertainty |
||
the offer’s effect on a successful transition home, when one strong predictor of the offer has an uncertain role |
the predictor makes the fitted propensities extreme. The ordinary TMLE interval under-covers at this law in a review probe. OAT C-TMLE targets the same ATE, and a registered cell measures its coverage |
||
target by risk, raise assigned navigation intensity, or change assignment odds |
the capacity cap is part of the question: two raises of the same size are two estimands |
||
many patients do not return the 30-day transition survey |
a complete-case fit estimates the effect standardized to the respondents’ covariate distribution |
||
readmission, with death as a competing event and disenrollment as censoring |
coding death as censoring targets the readmission risk in a world where death is prevented. That is not the total effect the plan asks about, which leaves death alone |
||
three navigation cadences summarized as one trend |
a linear working model that misses the arm means still defines the parameter it reports |
The health-program tutorials use observational assignment. A randomized offer would identify the assignment effect with fewer assumptions. Use one when the program can still control assignment.
The synthetic laws make the causal assumptions true by construction. A real analysis must defend them from its protocol and operational records. The relevant assumptions are consistency, exchangeability, positivity, and no interference. The Oxford causal assumptions chapter defines each assumption and explains why consistency requires a well-defined intervention.
Two outcome families#
outcome |
what it is |
which pages use it |
|---|---|---|
transition experience |
a 30-day patient-reported score, or its top-box indicator |
every tutorial except time-to-event outcomes |
time-to-event outcomes |
readmission or death |
The retailer program#
A subscription retailer sends one offer to each customer in each of three weeks: no code, a 15% discount code, or a free-shipping code. The CRM draws each offer at random, with logged probabilities that depend on the customer’s engagement that week. Engagement responds to earlier offers and drives later ones. Customers who withdraw tracking consent are lost to follow-up.
This program differs from the health program in four ways.
element |
the retailer program |
|---|---|
assignment |
randomized with logged probabilities, so the offer mechanism is known |
treatment |
a three-level offer at each of three weekly nodes |
data layout |
a long panel with one row per customer and week |
data |
synthetic only. No applied data access exists, so the pilot is a synthetic deployment check |
offers_protocol() in cleverly.datasets returns the StudyProtocol of the program. The
datasets reference lists the generator and the truth.
tutorial |
the evaluation question |
method entry |
the failure mode it demonstrates |
|---|---|---|---|
which of five weekly offer policies gives the most full-price orders in week 4, and which policy beats which |
an unpaired comparison of two policies, which ignores the shared sample, overstates the standard error of their difference |
||
what a 12% rise in each of three monthly renewal prices does to month-3 renewal and revenue, where the raised price stays inside the price band |
one regression holds engagement and the engine’s later prices fixed, or leaves engagement out, and misses the policy effect |
The pricing tutorial uses a second retailer law. A pricing engine, not a CRM, sets a continuous
renewal price each month. The data are complete. The engine’s price law is unknown, so the tutorial
declares a price band and estimates the density ratios. pricing_protocol() in
cleverly.datasets returns its StudyProtocol, and the datasets reference
lists the generator and the exact truth.
Real data#
The TWINS analysis sits outside the program and is the only real-data example. It estimates the effect of maternal smoking on first-year mortality among twins of smoking mothers (ATT). It also shows why the adjustment set stops before birth weight.
- Point-treatment TMLE: did transition navigation improve the experience score?
- CV-TMLE: flexible learners and navigator teams
- Collaborative TMLE: an assignment predictor with an uncertain role
- Choosing a navigation policy: three proposals, three estimands
- Survey non-response: the patients who never answered
- Time-to-event TMLE: readmission when death competes
- MSM projections: summarize three navigation cadences with one trend
- Sequential offers: a weekly retail campaign
- Sequential pricing: a three-month renewal price policy
- Maternal smoking and twin infant mortality