Lawfare Group → Knowledge Institute → Lawfare Academy

← Course syllabus · Related lesson

Define the question before choosing an interval or model

Current complete on-site native edition3

All required original teaching, complete derivations and optional practice models are on LawfareGroup.com. External references are optional provenance or further reading. Florida is the state-law default; federal, historical and comparative contexts remain distinct. Independent human subject review and observed learner testing remain pending. Synthetic economic models establish no actual market response, legal clearance or professional competence.

Preserved and additional cumulative dossiers

Original extended teaching; see the linked current course-content review for its development status. Practice is optional; independent academic review and learner testing remain pending.

Learning objectives

Four different questions can use the same spreadsheet

An analyst can describe past completed jobs, forecast next month's jobs, estimate the effect of changing advertising or allocate scarce capacity. These tasks use different counterfactuals and information sets. A descriptive mean concerns a defined population or sample; a forecast uses information available before the outcome; a causal estimand compares outcomes under specified interventions; a decision adds payoffs and constraints. A regression that fits past observations need not answer all four.

Write an analysis contract in ordinary language: whose outcome, which unit, over what period, using which information date, compared with what alternative and for which action. Define whether a row is a customer, invoice, visit, customer-month or firm. Transaction rows can overweight frequent users relative to a customer-level target. Completed jobs can exclude people who abandoned the process. Those are changes in what is being estimated, not merely details of data cleaning.

Specify outcome measurement and missingness. If delayed invoices are absent because only settled invoices are exported, their exclusion can bias a delay summary precisely when delays grow. An observed average among available records is still a valid description of those records; it is not automatically the average among all invoices. State what remains missing and how that affects the claim. A small standard error under an independence model does not repair biased coverage or a wrongly defined denominator.

Separate uncertainty about data from uncertainty about the model

Sampling variation describes how an estimator would vary under a specified repetition of the data-generating or assignment process. A confidence interval is calibrated to that process and its assumptions. Measurement error, unobserved confounding, a changed business process and a new prediction population are different uncertainties. A narrow interval can coexist with a precise answer to the wrong question.

A p-value measures compatibility with a particular null model through a chosen statistic; it is not the probability that the null is true, that a result is important or that a campaign will be profitable. If many specifications are tried until one looks favorable, report the search and validate the selected finding appropriately. Exploration is useful when labeled; it should not become retrospectively described as a preplanned confirmatory test. Show effect sizes, uncertainty and a business-relevant threshold rather than report a significance label alone.

Regression coefficients can be computed without normally distributed outcomes. Particular exact finite-sample inference procedures require additional conditions on errors and design; those conditions should not be confused with the algebraic requirement that the design have sufficient rank. Robust covariance, alternative distributions and resampling each have their own conditions. Choose a method for the observation process rather than treat the word robust as a universal repair.

Confidence for a mean is different from prediction

For independent observations from a population whose mean is the target, estimated standard error of a sample mean is s/sqrt(n). Under the usual independent normal-sampling model with unknown variance, a t critical value uses n−1 degrees of freedom. A large-sample normal approximation instead uses its own justification. Do not silently switch procedures while retaining the same coverage claim.

An interval for a population mean does not describe where an individual future invoice will lie. Individual prediction includes additional outcome variation, not only uncertainty in the estimated mean. A mean interval can narrow as n grows while invoices remain highly dispersed. Dependence also changes the evidence: sixty-four invoices belonging to eight strongly related customers do not supply the same information as sixty-four independent customers. Neither treating all rows as independent nor substituting eight for n without a variance model is justified automatically.

Finally distinguish statistical uncertainty from a decision rule. An interval spanning effects above and below a profitability threshold can support investigation or a bounded learning action, but a test against zero does not determine that choice. Define the cost of false optimism, false pessimism and delay. Keep the actual resource and authority constraints visible. No learner test submission is required to read or use these explanations.

Worked example: A small-sample mean interval with declared assumptions

Six independent observations from a stipulated normal population have sample mean 12 days and sample standard deviation 3 days. Estimated SE is3/sqrt(6)≈1.224745. NIST's table gives the approximate two-sided 95% t critical 2.571 at5 degrees of freedom. The interval is 12±2.571×1.224745, about 8.8512 to 15.1488 days. It is a mean interval under the stated model, not a claim that 95%of individual invoices lie there or a causal evaluation of a policy. If independence or the sampled population is wrong, the arithmetic does not establish the nominal coverage.

Worked example: Precision does not recover an investment cost

A hypothetical campaign-response estimate is0.02 additional retained purchases per eligible prospect. For 1,000 prospects that is 20 expected additional purchases. At $60 contribution each, the point estimate produces $1,200 before a $1,500 campaign cost, giving −$300. Even if a separate well-justified test rejects a zero response, the cost-recovery threshold is 25 additional purchases, or0.025 per prospect. The statistical null and the economic threshold are different. A favorable observed association also needs a credible causal design before being treated as intervention response.

Progressive optional practice

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

Specify

A report averages only paid invoices and calls the result average settlement time for every issued invoice. What is missing?

Compare the model reasoning

Define the target issued population and account for unresolved invoices, censoring and measurement dates. The paid-only mean describes a selected set, not automatically all issued invoices.

Changed conditions

Unresolved invoices are eventually observed with valid follow-up dates.

Compare the revised analysis

Update the observation window and method to use the actual follow-up; do not combine incomplete and complete durations without explaining the target and censoring treatment.

Calculate

For the stipulated independent normal sample n=6, mean 12, s=3,use t=2.571. What interval is being formed?

Compare the model reasoning

SE≈1.224745 and approximate interval 8.8512–15.1488 for the population mean under the stated design. It is not an individual prediction band.

Changed conditions

The six observations are repeated invoices from one customer.

Compare the revised analysis

The independence-based formula is unsupported. Need the actual within-customer process and more independent information; neither the original interval nor an arbitrary replacement sample size is justified.

Transfer

An interval for the response includes zero and substantial positive effects. Can the report conclude no useful effect?

Compare the model reasoning

No. The range can include meaningful gains and losses. Compare decision thresholds, design, power and consequences; failure to exclude zero is not proof of equivalence.

Changed conditions

A preplanned equivalence design rules out all effects large enough to change the decision within its stated margin.

Compare the revised analysis

That is a different, properly defined claim. State its margin, procedure, population and assumptions rather than relabel a nonsignificant zero test as equivalence.

Current development backlog and remaining course work · Course content review

Source readings and scope

Introductory Business Statistics 2e — 8.2 A Confidence Interval When the Population Standard Deviation Is Unknown and Small Sample Case — Optional preserved methodological provenance. Complete current on-site studios and preserved full original applications supply all required teaching. Data and estimates are synthetic; they do not describe actual customers or learner records. Statistical relationships do not establish causal, legal or professional approval. Florida is the state-law default; federal rules remain federal and historical other-state examples are comparative. No source affiliation or independent review of this course is claimed.

Introductory Business Statistics 2e — 9.1 Null and Alternative Hypotheses — Optional preserved methodological provenance. Complete current on-site studios and preserved full original applications supply all required teaching. Data and estimates are synthetic; they do not describe actual customers or learner records. Statistical relationships do not establish causal, legal or professional approval. Florida is the state-law default; federal rules remain federal and historical other-state examples are comparative. No source affiliation or independent review of this course is claimed.

Introductory Business Statistics 2e — 9.2 Outcomes and the Type I and Type II Errors — Optional preserved methodological provenance. Complete current on-site studios and preserved full original applications supply all required teaching. Data and estimates are synthetic; they do not describe actual customers or learner records. Statistical relationships do not establish causal, legal or professional approval. Florida is the state-law default; federal rules remain federal and historical other-state examples are comparative. No source affiliation or independent review of this course is claimed.

NIST — Critical Values of the Student’s t Distribution — Optional preserved methodological provenance. Complete current on-site studios and preserved full original applications supply all required teaching. Data and estimates are synthetic; they do not describe actual customers or learner records. Statistical relationships do not establish causal, legal or professional approval. Florida is the state-law default; federal rules remain federal and historical other-state examples are comparative. No source affiliation or independent review of this course is claimed.

MIT OCW — Statistical Thinking and Data Analysis — Optional preserved methodological provenance. Complete current on-site studios and preserved full original applications supply all required teaching. Data and estimates are synthetic; they do not describe actual customers or learner records. Statistical relationships do not establish causal, legal or professional approval. Florida is the state-law default; federal rules remain federal and historical other-state examples are comparative. No source affiliation or independent review of this course is claimed.

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