Lawfare Group → Knowledge Institute → Lawfare Academy

← Course syllabus · Related lesson

Separate a useful predictor from an effective intervention

Current complete on-site edition 3

Required teaching and complete optional models are supplied on LawfareGroup.com. Publisher and primary links are optional provenance or further reading. Florida is the contemporary state-law default; federal rules and explicitly comparative material are distinguished. Independent subject review and observed human learner testing remain pending.

Cumulative information-system dossier, transfer models and 30-point rubric

Preserved original teaching integrated with complete current on-site preparation. Independent human subject review and observed learner testing remain pending.

Learning objectives

The question determines the evidence required

Description asks what was observed, such as the fraction of invoices paid late. Prediction asks what outcome is likely for an invoice using information available before its due date. Causal analysis asks how payment would differ if a specified intervention were applied instead of an alternative. A predictor may rank late-payment risk accurately without showing which action reduces it.

For example, a collections team may send reminders mainly to difficult accounts. An observed association between reminders and late payment could therefore reflect prior risk rather than harmful reminders. Changing a predictive feature is not automatically a meaningful intervention: an account identifier, a recorded complaint or a later collection status may describe rather than cause the outcome.

Specify the population, treatment, comparison, outcome definition and follow-up window before analysis. A payment one day late and an unpaid balance after ninety days are different targets. Count all eligible assigned accounts under the stated rule rather than dropping inconvenient cases after outcomes are known. A treatment whose content, timing or intensity varies needs a correspondingly precise definition.

Reconstruct the group composition before trusting the aggregate

In a hypothetical historical file, ninety complex accounts receive reminders and thirty-six are late; ten simple accounts receive reminders and one is late. Among accounts without reminders, ten are complex and five are late; ninety are simple and eighteen are late. The overall reminded rate is 37/100=37 percent versus 23/100=23 percent without reminders.

Within complex accounts the reminded rate is forty percent versus fifty percent; within simple accounts it is ten percent versus twenty percent. Using an explicitly common fifty-fifty composition gives adjusted rates twenty-five percent and thirty-five percent. The aggregate reversal comes from different mixes of complex and simple accounts. It is not an arithmetic contradiction.

The adjusted difference of minus ten percentage points is still not automatically a causal effect. The simple/complex distinction may leave other confounding, treatment selection or measurement differences. Standardization clarifies a specified composition; it does not prove exchangeability or eliminate an unmeasured cause. Preserve both original counts and the chosen adjustment weights.

A randomized comparison still needs implementation and uncertainty checks

In a separate fictional trial, two hundred eligible accounts are randomly assigned a defined reminder and two hundred to the comparison. Forty reminded accounts and sixty comparison accounts pay late. The estimated difference in late-payment proportions is 0.20-0.30=-0.10. Random assignment supports a causal interpretation under appropriate implementation, follow-up and interference assumptions; it does not guarantee exact balance or prove the same effect elsewhere.

For an illustrative independent-account large-sample approximation, standard error is sqrt[0.2(0.8)/200+0.3(0.7)/200], approximately 0.0430. A 1.96-standard-error interval is roughly -0.1843 to -0.0157. This is an approximate sampling calculation under stated assumptions, not proof of a fixed effect or a substitute for checking assignment and missing outcomes. Repeated invoices from the same customer would require addressing dependence.

Suppose each avoided late account saves a stipulated 60 in expected downstream cost and the reminder costs one per assigned account. The point estimate implies benefit six and net benefit five per account, or 1, 000 for two hundred assignments. That arithmetic is conditional on both the effect and the cost estimates; it does not turn the sample result into a guaranteed cash receipt.

Choose an action with evidence and a counterfactual

An intention-to-treat analysis compares assigned groups and preserves the policy question even if some recipients ignore the reminder. Comparing only people who complied can reintroduce selection. Define nonreceipt, contact failure, partial payment and follow-up rules before inspecting results. Consider whether reminding one account affects another or changes staff attention to the comparison group.

A statistically distinguishable difference may be too small to justify an expensive intervention, while an uncertain estimate can still inform a limited reversible pilot. Report magnitude, interval, cost assumptions, feasible scale and unresolved harms or operational effects. Avoid choosing subgroups only because their observed result looks favorable after many comparisons.

The complete current on-site studios supply correlation, regression, prediction and design preparation; the preserved source links are optional provenance. The original Academy counts and trial are synthetic, independent examples. Optional practice changes account mix, randomization and costs. A credible recommendation identifies which claim is descriptive, predictive or causal and what evidence would be needed to move from one to another.

Worked example: Aggregation can reverse a within-group pattern

Reminded late counts are 36+1=37 out of 100; comparison counts are 5+18=23 out of 100. A fifty-fifty standardized mix instead gives 0.5(0.4)+0.5(0.1)=0.25 versus 0.35. Standardization alone does not establish causality.

Worked example: The trial’s effect and business value are conditional

The randomized difference is -0.10 with approximate standard error 0.0430. A supplied avoided-late cost 60 implies six benefit per assigned account, less reminder cost one, giving point-estimated net five.

Progressive optional practice

Attempt each problem before opening its model. Then revise the reasoning under the changed conditions.

Guided

Calculate the aggregate reminded late rate.

Compare the model reasoning

37 percent, despite lower observed rates within both stated risk groups.

Changed conditions

Both groups are standardized to equal simple/complex weights.

Compare the revised analysis

The standardized rates become 25 and 35 percent. Explain the changed composition and remaining causal limitations.

Independent

What would invalidate the simple independent-account uncertainty calculation?

Compare the model reasoning

Dependence, assignment problems, outcome selection or other violations of the stated approximation.

Changed conditions

The same customers contribute many invoices.

Compare the revised analysis

Account for the unit of randomization and within-customer dependence; do not treat every invoice as independent.

Transfer

What is point-estimated net benefit with reminder cost one and avoided-late cost sixty?

Compare the model reasoning

Five per account under the estimated ten-percentage-point reduction.

Changed conditions

Reminder cost rises to eight.

Compare the revised analysis

Point-estimated net benefit becomes -2 per account, so the same effect no longer supports the original economic conclusion.

Preserved historical development snapshot · Course content review

Source readings and scope

Principles of Finance — 14.1 Correlation Analysis — Optional preserved publisher provenance; all required concepts, derivations, worked examples and practice are supplied in the complete current on-site studios. The original route-check date is historical.

Principles of Finance — 14.2 Linear Regression Analysis — Optional preserved publisher provenance; all required concepts, derivations, worked examples and practice are supplied in the complete current on-site studios. The original route-check date is historical.

Principles of Finance — 14.5 Predictions and Prediction Intervals — Optional preserved publisher provenance; all required concepts, derivations, worked examples and practice are supplied in the complete current on-site studios. The original route-check date is historical.

OpenStax: Experimental Design and Ethics — Optional design provenance. Full current on-site teaching supplies experimental units, assignment, comparison, uncertainty and design limits; the earlier route check is historical.

Reproduce the worked examples in Python 3. Standard library only; synthetic data; no production records or network access.