Lawfare Academy

STAT202 · SUBJECT COURSE

Regression and Business Forecasting

A connected route through the full assigned readings, developed Academy chapters, solved unit problems, changed conditions and cumulative application.

Complete study routes → · Method studios → · Substantive readiness audit → · Independent review packet →

Preparation: STAT201; TECH101.. This route is open guidance, not a lock, attendance requirement or credit-hour claim. Full readings provide sustained explanation; short summaries and a completed navigation checklist do not replace them. All work and capstones are voluntary.

Open the existing course → · Read the developed course companion →

Current developed course text

Read the additional 6-chapter course text → · Current separate editorial status: Teaching expansion in progress.

Build understanding, then test it

Use a first pass through each unit's explanation and assigned chapters to reconstruct the mechanism in your own words. On a second pass work the case without looking at its answer, compare the reasoning and solve the changed condition. Keep an error record that states the mistaken assumption, the correction and why it changes the result. Revisit preparation when the method is unclear; speed is not the objective.

At the end, combine the units in the course case and defend a feasible alternative. The specialist studios below address identified method gaps. Outside textbooks and historical university materials are credited to their publishers and are not Academy-owned content, affiliation, endorsement or credit.

UNIT 1 · DEVELOP, WORK, TRANSFER

Regression as a conditional model

Read the integrated lesson → · Developed teaching and solved problems →

Apply the method without the answer open

A fitted model predicts job hours as 2+0.5R, where R is rooms serviced. The observed sample ranges from two to eight rooms. Neither rooms nor staffing was randomly assigned.

Predict a six-room job and distinguish that calculation from estimating the effect of hiring another worker.

Compare the worked reasoning

The fitted six-room prediction is five hours. The model contains no staffing intervention effect and does not by itself establish that changing rooms causes the fitted difference. It also cannot infer how an extra worker changes total labor, elapsed time or quality without further design and evidence.

Then change the situation: A manager predicts a forty-room job as twenty-two hours and treats it as a firm promise.

Compare the changed-condition reasoning

The arithmetic follows the line but extrapolates far beyond the two-to-eight-room support. Obtain relevant data and operating constraints before using it as a delivery commitment; include uncertainty and potential nonlinear setup or capacity effects.

Read the full assigned publisher sections (1)

These are actual assignments, not a reading-count score. Read the complete explanations, examples and relevant end-of-section practice. Broad sources may require the targeted method repair below.

UNIT 2 · DEVELOP, WORK, TRANSFER

Least squares and residuals

Read the integrated lesson → · Developed teaching and solved problems →

Apply the method without the answer open

Use x=(0,1,2), y=(1,2,5), with an intercept. Treat these as a small numerical illustration rather than a representative causal sample.

Compute slope, intercept, predictions and residuals, and verify the residual sum.

Compare the worked reasoning

xbar=1 and ybar=8/3. Sxy=4 and Sxx=2, so slope is two and intercept 2/3. Predictions are 2/3, 8/3 and 14/3; residuals are 1/3, −2/3 and 1/3 and sum to zero. The fitted line does not pass through every point because it minimizes total squared residual, not each residual separately.

Then change the situation: Replace all x values with one while keeping y unchanged.

Compare the changed-condition reasoning

Sxx=0, so a separate slope is not identified. Any intercept-slope combination giving fitted value 8/3 at x=1 can produce the same fit. Do not divide by zero or report a unique slope fabricated by a fallback rule.

Read the full assigned publisher sections (1)

These are actual assignments, not a reading-count score. Read the complete explanations, examples and relevant end-of-section practice. Broad sources may require the targeted method repair below.

UNIT 3 · DEVELOP, WORK, TRANSFER

Multiple predictors and confounding

Read the integrated lesson → · Developed teaching and solved problems →

Apply the method without the answer open

A model is yhat=20+4A−3P, where A is ad spend in thousands and P is price in dollars. A plan raises A by two and P by one. Data are observational.

Calculate the fitted joint change and explain the condition held fixed by each coefficient.

Compare the worked reasoning

The fitted joint change is 4×2−3×1=+5 outcome units. The ad coefficient describes the fitted A relation holding P and other included predictors fixed; the price coefficient holds A fixed. These conditional associations are not automatically causal effects of changing both controls. Check joint support and uncertainty.

Then change the situation: The dataset has P exactly equal to 2A for every record.

Compare the changed-condition reasoning

Perfect collinearity prevents separately identifying A and P coefficients in this specification. The fitted relationship along the observed combination may be estimable, but independent intervention effects cannot be recovered from that exact dependence alone.

Read the full assigned publisher sections (1)

These are actual assignments, not a reading-count score. Read the complete explanations, examples and relevant end-of-section practice. Broad sources may require the targeted method repair below.

UNIT 4 · DEVELOP, WORK, TRANSFER

Categorical variables and interactions

Read the integrated lesson → · Developed teaching and solved problems →

Apply the method without the answer open

A fitted model is yhat=8+1.5x+6D−0.5xD, with D zero or one. Evaluate x=4 and x=12.

Compute both group predictions and differences at each x and identify slopes.

Compare the worked reasoning

For D=0 slope is 1.5; D=1 slope is one and intercept fourteen. At x=4 predictions are fourteen and eighteen, difference four. At x=12 both predict twenty-six, difference zero. The coefficient six is the group difference only at x=0; it is not the difference everywhere.

Then change the situation: Group one is observed only at x above ten and group zero only below six.

Compare the changed-condition reasoning

The model's cross-group comparison at the same x relies on extrapolation and functional-form assumptions because support does not overlap. Report that limit and seek relevant data before treating the computed contrasts as reliable evidence of a real group effect.

Read the full assigned publisher sections (1)

These are actual assignments, not a reading-count score. Read the complete explanations, examples and relevant end-of-section practice. Broad sources may require the targeted method repair below.

UNIT 5 · DEVELOP, WORK, TRANSFER

Diagnostics and validation

Read the integrated lesson → · Developed teaching and solved problems →

Apply the method without the answer open

Model A has mean absolute error ten units on a new holdout and underpredicts the ten busiest days by thirty each. Model B has mean absolute error twelve but underpredicts those days by ten each. Shortage costs $20 per unit; other errors cost $1 per unit.

Explain why average absolute error alone cannot select the better operating model and compute busy-day shortage-cost difference.

Compare the worked reasoning

For those ten days, A shortage cost is 10×30×20=$6,000; B is $2,000, a $4,000 difference. Need the remaining error totals and a complete decision rule to choose overall. Lower average error does not automatically minimize asymmetric business loss.

Then change the situation: The busiest days were used to tune B after inspecting the holdout.

Compare the changed-condition reasoning

The claimed holdout comparison is no longer independent of that selection. Evaluate on fresh relevant data or use a suitable nested design, and disclose the exploratory step rather than keep the original validation label.

Read the full assigned publisher sections (1)

These are actual assignments, not a reading-count score. Read the complete explanations, examples and relevant end-of-section practice. Broad sources may require the targeted method repair below.

UNIT 6 · DEVELOP, WORK, TRANSFER

Time series and forecast uncertainty

Read the integrated lesson → · Developed teaching and solved problems →

Apply the method without the answer open

Monthly demand over the latest three months is ninety, 100 and 170, with the last month a known seasonal peak. The corresponding next-month demand in the prior year was ninety-five. No additional history is available.

Compare a three-month moving-average prediction with a seasonal-reference baseline and explain what cannot yet be inferred.

Compare the worked reasoning

Moving average is 120 units; the one-year seasonal reference is ninety-five. Neither sparse baseline is established as best. The peak can distort a naive average, while one prior seasonal observation is uncertain. Evaluate future errors when more comparable data become available and state the limited evidence rather than select whichever estimate supports the desired capacity plan.

Then change the situation: A model uses invoices finalized after the forecast month to improve the historical prediction.

Compare the changed-condition reasoning

That predictor is unavailable at the decision date and creates leakage. Rebuild the feature set using a real information cutoff, then revalidate in temporal order. Improved retrospective fit is not an executable forecasting gain.

Read the full assigned publisher sections (2)

These are actual assignments, not a reading-count score. Read the complete explanations, examples and relevant end-of-section practice. Broad sources may require the targeted method repair below.

Repair specialized method gaps

Targeted reading routes

MIT OpenCourseWare · Data, Models, and Decisions (2014)

MIT OpenCourseWare; Robert Freund, Cynthia Rudin and Juan Pablo Vielma Centeno. Graduate-level method development in uncertainty, regression, simulation and optimization. Use freely posted materials; linked textbooks or third-party cases may require separate access. No affiliation or credit transfer.

  1. Start with the syllabus and probability topics; list the decision, uncertainty and information timing.
  2. Work the simulation material and available problem sets; validate a small case analytically first.
  3. Use regression assignments to practice model interpretation and validation with the available data.
  4. Work linear-optimization formulation; identify variables, objective, constraints and units.
  5. Study discrete optimization and compare an integer plan with the continuous relaxation.
  6. Use a case-learning module to write an action recommendation with assumptions, sensitivity and limits.
Source check and limits

2026-10-24: Official course page retrieved; assignments and case-learning resources listed. No claim that the external course's assigned commercial textbook is free.

Integrate and explain

For x=(1,2,3) and y=(2,4,5), compute a simple OLS line. Then interpret a second model yhat=10+2x+5D+3xD at x=4. Neither dataset is a randomized experiment.

Compare the cumulative analysis and changed-fact response →

Judge whether your answer identifies the actual choice, applies the right mechanism, shows correct units and timing, reconciles evidence, compares a feasible alternative and states a reversal condition. A new problem with changed structure should prompt a new model, not only substitution into a memorized formula.

What remains unverified

The teaching and reading route are available. Full university-semester adequacy, independent subject approval and demonstrated learner proficiency have not been established. Reading counts, word counts and functioning pages cannot establish them.