The Lawfare Academy

Lawfare Group → Knowledge Institute → Lawfare Academy

← Back to program

← Business Analytics: Optimization and Simulation

Unit 3

Sensitivity and shadow values

Learning objectives

  • Explain sensitivity and shadow values in your own words.
  • Apply the principle to the worked business case.
  • Evaluate the answer and identify an assumption that could change it.

Sensitivity and shadow values

A shadow price estimates the marginal objective value of relaxing a constraint locally under the model. It is valid over a range and can change when the binding structure changes. Do not pay unlimited amounts based on a local value.

Worked example

An extra crew hour is valuable only while it relaxes a binding labor constraint.

Current on-site learning

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. Written business-analytics preparation establishes no actual legal opinion, technical clearance, licensing approval, funding authorization or observed professional competence.

Work through the reasoning

Draw a timeline, label the cash-flow claimant, and distinguish operating assumptions from financing. For this unit, connect the explanation of sensitivity and shadow values to the worked example before answering the practice question.

Check the limits

Check units, signs, discounting periods, risk assumptions, and the opportunity cost of capital. If the source model and the practical example use different assumptions, state the difference rather than applying the formula or rule mechanically.

Apply it independently

What limits the interpretation? Write an answer before opening the model response. Show the calculation or explain the causal or logical steps. Change one material assumption and say whether your conclusion changes. This practice is optional; you can read every part of the course without submitting work.

Extended text lesson

Continue with Derive a resource value function before buying a capacity package for the full worked case, source readings and optional progressive practice.

Complete current conceptual preparation

Forecast the resource system before valuing an expansion

This original bridge and the complete original Academy method below supply onsite Business Analytics preparation. The complete method was actually read during this review. Its Cypress, Beacon and HarborWorks cases remain independent of Tideglass and Cedar. Historical source dates, qualification boundaries and all models are retained. No external reading, real learner records or submitted exercise is needed. References to prior units describe the source studio's original context, not an additional required course.

Forecasting is a structured conditional claim

A forecast estimates an outcome given information available at a stated date. A target sets a desired result; a plan specifies actions; a scenario derives consequences of stipulated conditions. These are useful together but cannot substitute for one another. Forecasting matters because staffing, materials, financing and customer promises often commit resources before demand is known. It has limits because behavior, measurement, technology and the operating environment can change.

Start with a decision horizon and measurement grain. A weekly order forecast is not automatically an annual collected-cash forecast. Reconcile units, prices, cancellations, fulfillment, returns and payment dates. Separate a demand estimate from a sales constraint: the business may receive demand it cannot serve. State whether the forecast describes desired purchases, accepted orders, delivered output, billed revenue or collected receipts.

Choose a method that fits the evidence. A documented judgment forecast can incorporate a known contract change before a time series contains it. A seasonal model needs relevant cycles. A driver model needs a plausible mechanism, correctly timed predictors and evidence about stability. Do not select a sophisticated estimator merely because it has more parameters. Compare a simple last-value or seasonal baseline and retain dated out-of-sample errors, not just the best in-sample fit.

Carry the forecast through the statements

An income statement records revenue and expenses under its accounting rules. A balance sheet records assets, obligations and equity at a date. A cash-flow reconciliation explains changes in cash. Cash customers pay this month can settle last month's receivable; materials purchased now may remain inventory rather than become this month's expense. Depreciation reduces reported earnings while the equipment payment occurred on a different date. Borrowing raises cash and debt rather than operating revenue. Owner distributions reduce cash and equity rather than ordinary operating income.

An operating forecast therefore needs linked opening balances, revenue/cost assumptions, asset requirements and financing schedules. A percentage-of-sales estimate for receivables, inventory or payables can be a transparent approximation, but collection days, inventory targets, purchasing schedules and discrete capacity expansions can produce different requirements. Check the whole path as well as the endpoint: positive year-end cash can conceal a payroll shortfall months earlier.

The financing gap is an output to investigate. Do not treat it as a new debt facility unless the actual facility exists, is drawable on the relevant date and covers the required amount. Incorporate incremental interest and fees consistently when financing changes. A model can balance because it records an unfunded deficit; a zero accounting check does not establish feasibility. The included HarborWorks worksheet demonstrates that distinction with complete formulas and model reasoning.

Use sensitivity as a disciplined comparison

The retained Tideglass value function supplies a finite-purchase lesson: a local multiplier applies only over its valid resource range and domain. Forecast sensitivity concerns a related but different boundary: a conditional estimate can change when sales, collection dates or costs change. Keep a reference forecast fixed, change one labeled assumption for sensitivity, and change coherent groups for scenarios. If demand and collections worsen together for a common reason, independent optimistic combinations can conceal funding risk.

A robust decision states its uncertainty set and criterion before choosing the result. Worst-case optimization protects against the specified set, not every conceivable event. An excessively broad set can reject every useful action, while a narrow favorable set can manufacture reassurance. A chance constraint requires a joint probability model and a defined event; it is not the same as a deterministic buffer. When constraints apply in every state, enforce them before averaging. A constraint on mean cash does not imply that each payment date or scenario is funded.

Report the strongest feasible rival, including no expansion when available. Distinguish an omitted cost requiring correction from a genuinely later changed quote. Preserve both forecast vintages and explain what evidence would trigger reconsideration. Resource multipliers, improved forecast errors and balanced statements do not themselves establish managerial authority or independent human competence.

Complete included Academy method

The following full source studio supplies sustained sales estimation, validation, connected statement and worksheet reasoning, plus recovery and cash-path applications. It is included without alteration; its continuity material is an additional illustration of dated resource acceptance and does not redefine Tideglass's decision.

Test whether a recovery plan restores usable operations and funded cash

A continuity plan starts with an objective and dependencies, not a backup slogan. Identify essential outputs, people, facilities, suppliers, systems, records, decision authority and tolerable disruption. A business-impact assessment connects their absence to consequences over time. Recovery priorities need an operational acceptance test and an owner. Incident response contains and investigates an event; restoration rebuilds an asset or service; business continuity maintains or resumes required outputs. These activities interact but are not interchangeable.

The original Cypress failure at 13:00, valid recovery point at 10:00 and usable service at 20:00 gives a seven-hour interruption and three-hour data gap. Compare with the supplied eight-hour recovery and four-hour data targets only after validating the restored record and output. An engineer arriving at 14:00 does not reset the failure clock; a machine booting is not necessarily accepted service. A corrupt backup cannot establish that its nominal timestamp is a usable recovery point. Reconcile transactions generated during interruption and avoid both losing them and replaying them twice.

Exercise the plan and retain its limits

A tabletop can reveal authority gaps but does not prove the restoration procedure actually runs. A technical restore can prove recovery of a tested fixture without proving production capacity, transaction completeness or downstream service. A controlled exercise needs a safe synthetic record, entry/exit criteria, a timeline, expected reconciliations, exceptions and a documented correction/retest. Do not involve real learner records in classroom verification. Record what was observed and what remains untested.

For an independent Beacon exercise, an outage begins at 09:00, the latest validated data point is 07:30, and operational acceptance is 14:15. Interruption is 5.25 hours and data gap 1.5 hours. Stipulated targets of five and two hours mean the recovery-time target fails by .25 hour while the recovery-point target passes by .5 hour. Changed fact: the 07:30 copy is corrupt and the latest validated copy is 06:00. Data gap becomes three hours and fails by one hour. A later file's name or an earlier machine-start timestamp cannot repair either conclusion.

Connect the forecast to the recovery cash horizon

The complete original Academy forecasting and worksheet studio below develops sales estimation, validation, operating assumptions, pro forma statements, financing and growth, plus manual spreadsheet methods. Its HarborWorks and time-series cases are independent of Cypress and Beacon. Preserve their stated exclusions, histories and complete optional solutions. The source consultation dates remain historical; the content is supplied here in full. References to prior course units describe its original context; the definitions and diagnostics needed in this Risk course are supplied in the current units, and no outside visit is needed.

Embedded original Academy method: full forecasting, connected statements and spreadsheet methods

A financial forecast connects a supported business view to statements and dated cash. A target says what management wants; a forecast estimates outcomes under stated conditions; a scenario asks what follows if conditions change. The preserved HarborWorks chapter already reconciles its 720 sales base and delayed-collection funding stress. This original studio supplies sales-estimation, validation and spreadsheet methods behind that model. Every input is hypothetical, and no forecast is an actual lender commitment or Florida tax rule.

Choose a sales model for a reason

Separate price, units, mix, customer groups, seasonality and reporting perimeter. A prior-period percentage can be a starting assumption, not a law. An acquisition can raise reported sales without raising the legacy business's demand. An apparent trend from currency translation or changed fiscal length needs a bridge. Internal capacity and signed orders can constrain what a market-demand estimate actually permits the company to deliver.

For a separate three-year history 100,121,133.1, annual growth rates are 21 percent and 10 percent. Arithmetic mean growth 15.5 percent differs from compound annual growth√(133.1/100)−1≈15.369 percent. Compounding the arithmetic mean does not exactly reconstruct the endpoints. A high-growth starting recovery year may not be a sustainable base. Keep observation period and rationale visible rather than pick the horizon that maximizes the forecast.

For a different six-period series 10,12,14,13,15,17, a three-period moving-average forecast for the seventh is(13+15+17)/3=15. It lags an upward trend. A simple exponential update Fnext=α×actual+(1−α)×current forecast, withα=.4, currentforecast 14 andactual 17, gives 15.2. The smoothing weight is a model choice; it does not create demand evidence. Trend and seasonal models require enough relevant cycles and validation. If a documented seasonal index 1.2 andbaselinelevel 20 are supplied, a multiplicative forecast 24 follows; estimating or changing that index requires its own record.

Regression can connect activity or macro/customer drivers with sales, but a fitted association must respect timing and the unit 4 diagnostics. A predictor known only after the forecast date cannot be used as if available then. A sales model that predicts 170 units while verified capacity is 150 requires an operational response or an unmet-demand scenario; silently calling 170 delivered sales breaks the resource plan.

Validate without leaking future information

Compare forecasts with held-out periods not used to select or fit the model. For actual 10,12,14 and corresponding pre-existing forecasts 11,11,15, errors actual-minus-forecast are−1,+1,−1. MAE is 1, mean error−1/3 andRMSE 1. Negative mean error under this convention means forecasts were high on average. Percentage-error measures can be unstable or undefined with actual zero, and log errors answer another question. Report the definition and business costs of under/overforecasting, not only the best-looking metric.

A rolling-origin check advances the forecast date through time, each time using only then-available data. Randomly mixing future periods into training can create leakage in a time-series task. Small samples, structural breaks and acquisition/price changes limit inference. A narrow statistical interval does not include every model failure or financing risk automatically. Preserve the original plan and dated forecast vintages so later evaluation does not unknowingly use revised observations unavailable at the decision date.

Translate sales into an operating system

Classify which costs vary with sales, which depend on capacity thresholds and which are separately scheduled. Receivables can follow customer terms; inventory can follow replenishment/service policy; payables arise from purchases and supplier terms. Depreciation, cash capital expenditure, principal, interest, tax and owner distributions need distinct rows. A percentage-of-sales proxy can be useful while reliable scheduling data are absent, but describe its range and replace it when actual timing is material.

HarborWorks' supplied next-year model starts at cash 25, AR 90, inventory 100, netequipment 165, AP 65, debt 120 and equity 195. Sales 720, COGS 432, othercashoperating 180, depreciation 22, interest 12 and stipulated tax 18 give operating income 86 and net income 56. Capital 50 anddistribution 10 lead to netequipment 193 and equity 241. Ending AR 108, inventory 120 andAP 78 give operatingcash 56+22−18−20+13=53. Before new funding, cash 25+53−50−10=18; reserve 30 requires 12. These are actual linked exercise assumptions, not an independently established demand or tax estimate.

A complete worksheet can expose rather than conceal the plug

One reproducible spreadsheet layout can put all outputs in columnB with these row labels:2 sales;3 COGS;4 othercash operating;5 depreciation;6 interest;7 stipulatedtax;8 operatingincome;9 netincome;10 endingAR;11 endinginventory;12 endingAP;13 capital;14 distribution;15 endingnetequipment;16 endingequity;17 operatingcash;18 unfunded ending cash;19 minimumcash;20 requirednewfunding;21 availablefacility;22 actualdraw;23 endingcash;24 endingdebt;25 assets;26 liabilitiesand equity;27 balancecheck;28 reserveshortfall. Enter the clearly labeled supplied inputs and use linked formulas rather than copy independent totals.

For the base file, B 8=B 2−B 3−B 4−B 5; B 9=B 8−B 6−B 7; B 15=165+B 13−B 5; B 16=195+B 9−B 14; B 17=B 9+B 5−(B 10−90)−(B 11−100)+(B 12−65); B 18=25+B 17−B 13−B 14; B 20=MAX(0, B 19−B 18); B 22=MIN(B 20, B 21); B 23=B 18+B 22; B 24=120+B 22; B 25=B 23+B 10+B 11+B 15; B 26=B 12+B 24+B 16; B 27=B 25−B 26; B 28=MAX(0, B 19−B 23). In an actual workbook, use separate named opening-balance inputs instead of unexplained literals once the model is established. Formula syntax uses the conventional comma separator and may depend on locale.

With B 21=40 facility capacity, the base draws 12 and ends cash 30/debt 132/assets 451. In the delayed scenario B 10=180, the required funding 84 but actual allowable draw 40 gives endingcash−14, debt 160 and assets 479, matchingAP 78+debt 160+equity 241=479. The balance check is zero while reserve shortfall 44 and negative cash signal an infeasible payment plan. A balanced model therefore need not be executable. A negative cash result is an unmet-funding diagnostic here, not a claim a real bank automatically permits an overdraft.

Annual new borrowing is deliberately assumed at year end with no added current-year interest. If funding must be drawn earlier, interest, tax assumptions and cash can become circular. Solve with an explicit dated debt schedule or a documented iterative/analytic method; do not enable a hidden circular calculation simply to force equality. Principal repayment, fees, credit losses and facility conditions require additional rows when present.

Stress coherent conditions and define response triggers

A sensitivity changes one input; a scenario changes a supported group, for example weaker demand, slower collections and a tighter facility. Probabilities need evidence and are not created by averaging three guessed scenarios. Growth can create value while absorbing cash, and apparent profitable growth can fail under a working-capital limit. Define the relevant claimant's future cash and required reinvestment before making a value claim.

Test whether distributions can be canceled, investment staged, terms renegotiated or additional equity obtained, including actual costs and dates. In the isolated delayed file, canceling the ten distribution lowers required financing 84 to 74 and raises equity 241 to 251; a forty facility still leaves 34 reserve gap. It helps but does not solve the whole failure. A real decision needs authority, tradeoffs, monitoring and a reversal condition, not a desired balancing number.

Optional practice 1: forecast accuracy is not one selected fit

Use held-out actual 10,12,14 but forecasts 9,13,14. Compute mean error, MAE andRMSE. Compare with the earlier forecast set and state what a tiny sample cannot establish.

Complete forecast-error model

Errors are 1,−1,0. Meanerror 0, MAE 2/3 andRMSE√(2/3)≈.8165, better on these absolute/squared metrics than the earlier 1/1. Zero bias does not mean zero errors or stable future performance. Three observations do not establish a generally superior model, especially if the revised forecasts were selected after seeing them. Use dated independent or rolling-origin evidence.

Optional practice 2: a reserve change is not operating improvement

In HarborWorks' base annual file, required minimum cash becomes 40 instead of 30. Assume financing capacity remains 40 and allotherfacts unchanged. Calculate draw, cash, debt and the balance sheet. Did income change?

Complete reserve model

Unfunded cash remains 18. Required draw 22 fits the 40 capacity, endingcash 40 and debt 142. Assets 40+108+120+193=461, matchingAP 78+debt 142+equity 241=461. Income stays 56; the additional cash balance is financed, not earned. Actual current-year interest would need revision if the extra borrowing occurred earlier than the stipulated year-end draw.

Optional integrated forecast review:20 points

Select and validate a sales method, then reconstruct the linked forecast and failed facility scenario. Award four points each for evidence/date/perimeter, valid estimation/error measures, complete statement roll-forwards, actual funding/reserve constraints and feasible response/model limits.

Complete integrated model

Sales histories, moving averages and regressions are conditional models whose validation must avoid future leakage. HarborWorks base income 56 and operating cash 53 require 12 newfunding for reserve 30. Delayed AR 180 requires 84, but actual 40 capacity yieldscash−14 andreservegap 44 even with a zero balance check. Canceling distribution 10 reduces the gap to 34 under the isolated assumptions. Preserve targets, forecast vintages and separate reported/adjusted cases; neither a spreadsheet plug nor a better in-sample fit establishes available financing or independent human review.

Optional source summary

OpenStax's sales-forecasting section explains historical starting points, seasonality and percentage-of-sales assumptions with their limits. The original forecast methods, error file and complete worksheet formulas above provide the required preparation on site. Forecasting sales, consulted October 29,2026. Outside reading and spreadsheet submission are optional.

A runway is a conditional forecast, not a survival guarantee

Cypress's existing 30,000 cash, 2,000 daily receipts, 3,000 daily outflows and 10,000 internal floor give 1,000 daily net burn and 20 days to the floor. Stopping receipts changes burn to 3,000 and time to the floor to 20,000/3,000, or 6.6667 days; time to zero is ten days. The floor is an internal stipulated policy, not Florida law. A continuous daily-rate interpolation assumes flows are spread evenly; actual discrete payment dates need the dated cash schedule. A new credit line, insurer reimbursement or deferred payment belongs only when its conditions and timing support inclusion.

An independent Beacon business starts with 24,000 cash and an internal floor of 6,000. Normal receipts of 2,000 and payments of 3,000 per day give 18 days to the floor. In a five-day disruption receipts stop while payments remain 3,000 daily; cash falls to 9,000. An extra emergency payment of 5,000 at the end of day five reduces it to 4,000, so 2,000 additional available funds are needed to preserve the floor. A proposed facility arriving on day six does not fill the day-five gap. If an authorized 2,000 bridge is drawn before that payment, ending cash is 6,000 and debt 2,000. After normal flows resume, continuing net burn requires another response; meeting one date is not proof of lasting viability.

Optional continuity investigation: 20 points

Guided model: correct the recovery clock

Beacon's 09:00 failure to 14:15 accepted service is 5.25 hours. Its validated 07:30 data point is 1.5 hours behind the failure. Against targets five/two, recovery time fails by .25 and data age passes by .5. Changed fact: the only valid copy is 06:00. Data age is three and now fails by one. Retain the failed evidence and investigate corrective options; do not substitute the engineer's arrival for the start time or a corrupt timestamp for a validated record.

Independent model: a later facility does not fund a prior emergency

Opening 24,000 minus five days at 3,000 leaves 9,000 before the extra 5,000 payment and 4,000 afterward. The floor gap is 2,000. A drawable bridge supplied on day five can preserve 6,000; one available only day six cannot do so without a separate available response. Changed fact: receipts of 1,000 daily continue during the disruption. Net burn is 2,000 daily, so after five days and the extra payment cash is 9,000, above the floor by 3,000. This is a changed cash assumption, not evidence that the original gap was imaginary.

Score 0–4 each for dependency/output boundaries; validated recovery-time and data-age measurements; coherent sales/statement/worksheet methods; complete dated cash and available funding; and observed evidence, revision and limits. Maximum 20 using the earlier performance anchors.

Complete integrated recovery and forecast model

Preserve Cypress's seven-hour/three-hour recovery and its 20-day versus 20/3-day floor calculations under their own assumptions. For Beacon distinguish failed recovery-time and conditional data-age results, then reconcile cash 24,000 to 9,000 to 4,000 and the 2,000 day-five funding gap. Use the embedded HarborWorks worksheet to show why a zero balance-sheet check can coexist with required funding 84, actual capacity 40, cash minus14 and reserve gap 44. Record actual restoration and forecast evidence, assumptions, authority and a response trigger before describing a plan as feasible. No production restoration, particular spreadsheet execution or human learner test has occurred merely because these written models reconcile.

Optional primary provenance: NIST SP 800-34 Revision 1 is a federal-information-system contingency-planning guide published May 2010 and updated November 11, 2010. Its publication page describes evaluating recovery requirements and priorities and the relationship with other contingency plans and organizational resilience. This bounded abstract/metadata summary was read October 30, 2026; it is not a claim of testing every procedure or an automatic obligation imposed on Cypress. NIST publication page. All required teaching and complete models are on site.

Apply the idea

An extra crew hour is valuable only while it relaxes a binding labor constraint.

What limits the interpretation? Explain your reasoning, then identify one changed fact that could alter the conclusion.

Read the worked reasoning

The allowable range and model assumptions. Marginal values are local to a specified solution structure. In an independent response, state the given facts, identify the governing relationship, work through the calculation or comparison, and distinguish the conclusion from assumptions that still need evidence.

Check understanding

What limits the interpretation?

  1. Only the number of rows
    Feedback

    This alternative overlooks the relevant mechanism. Marginal values are local to a specified solution structure.

  2. The allowable range and model assumptions
    Feedback

    Marginal values are local to a specified solution structure.

  3. Nothing, the value applies forever
    Feedback

    This alternative does not follow from the stated facts. Marginal values are local to a specified solution structure.

Further reading

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. Written business-analytics preparation establishes no actual legal opinion, technical clearance, licensing approval, funding authorization or observed professional competence.

My learning →