Skip to content
PromptedCRE

Scenario risk

Weigh a deal's scenarios by how likely you think each is, and see the expected return, its spread and which of two options pays better for the risk.

Value-add building expects 9.00% against 7.80%, but Stabilized building carries less risk per unit of return.

Value-add building expects 9.00% against 7.80%, but Stabilized building carries less risk per unit of return.

Higher expected return

9.00%

Value-add building · Stabilized building 7.80%

Lower risk per unit of return
Stabilized building
coefficient of variation 0.21 against 0.83
Dominates
Neither
as high a return, no more spread
Standard deviation, Stabilized building
1.60%
range 5.00% to 10.00%
Standard deviation, Value-add building
7.47%
range -6.00% to 18.00%
Drawn from
The worked example
Runs
In your browser
For your agent
calc_run with id scenario-risk

Inputs

Worked example. Type over any value on a dashed line.

First option

Your own scenarios and odds: the probabilities sum to 100%. Returns are a year's, and may be negative.

Scenario 1
%
%
Scenario 2
%
%
Scenario 3
%
%
Second option

Your own scenarios and odds: the probabilities sum to 100%. Returns are a year's, and may be negative.

Scenario 1
%
%
Scenario 2
%
%
Scenario 3
%
%
Scenario 4
%
%
Threshold

A return you set yourself, such as the least you would accept. Leave it blank to skip.

%

the chance of a return below it

The two options, side by side.

The standard deviation band describes spread, not odds

The two options' measures side by side
MeasureStabilized buildingValue-add building
Expected return7.80%9.00%
Standard deviation1.60%7.47%
Variance (decimal²)0.0002560.005580
Coefficient of variation0.20510.8300
Lowest return5.00%-6.00%
Highest return10.00%18.00%
Expected less one standard deviation6.20%1.53%
Expected plus one standard deviation9.40%16.47%
Chance below 7.00%20.00%40.00%
Scenarios34

Each scenario, weighted.

Stabilized building: 3 scenarios · Value-add building: 4 scenarios

Stabilized building

the last row sums the weighted columns

Stabilized building: scenarios, weights and deviations
ScenarioProbabilityReturnWeighted returnDeviationWeighted sq. deviationBelow 7.00%
Downside20.00%5.00%1.0000%-2.80%0.000157yes
Base case60.00%8.00%4.8000%0.20%0.000002no
Upside20.00%10.00%2.0000%2.20%0.000097no
All scenarios100.00%7.8000%0.00025620.00%

Value-add building

the last row sums the weighted columns

Value-add building: scenarios, weights and deviations
ScenarioProbabilityReturnWeighted returnDeviationWeighted sq. deviationBelow 7.00%
Lease-up fails15.00%-6.00%-0.9000%-15.00%0.003375yes
Slow lease-up25.00%6.00%1.5000%-3.00%0.000225yes
Plan40.00%12.00%4.8000%3.00%0.000360no
Strong lease-up20.00%18.00%3.6000%9.00%0.001620no
All scenarios100.00%9.0000%0.00558040.00%

Every formula it ran, in order.

Population variance; weights as given

  1. 1Stabilized building: probabilities0.2 + 0.6 + 0.2100%
  2. 2Stabilized building: expected returnsum of probability × return: 0.2 × 5.00% + 0.6 × 8.00% + 0.2 × 10.00%7.80%
  3. 3Stabilized building: variancesum of probability × (return − 7.80%)², in decimals: 0.2 × (-0.0280)² + 0.6 × (0.0020)² + 0.2 × (0.0220)²0.000256
  4. 4Stabilized building: standard deviation√0.0002561.60%
  5. 5Stabilized building: coefficient of variation1.60% ÷ 7.80%0.2051
  6. 6Stabilized building: rangelowest to highest return of the 3 scenarios5.00% to 10.00%
  7. 7Stabilized building: one-sigma band7.80% − 1.60% to 7.80% + 1.60%6.20% to 9.40%
  8. 8Stabilized building: chance below 7.00%sum of the probabilities of returns under 7.00%: 0.220.00%
  9. 9Value-add building: probabilities0.15 + 0.25 + 0.4 + 0.2100%
  10. 10Value-add building: expected returnsum of probability × return: 0.15 × -6.00% + 0.25 × 6.00% + 0.4 × 12.00% + 0.2 × 18.00%9.00%
  11. 11Value-add building: variancesum of probability × (return − 9.00%)², in decimals: 0.15 × (-0.1500)² + 0.25 × (-0.0300)² + 0.4 × (0.0300)² + 0.2 × (0.0900)²0.005580
  12. 12Value-add building: standard deviation√0.0055807.47%
  13. 13Value-add building: coefficient of variation7.47% ÷ 9.00%0.8300
  14. 14Value-add building: rangelowest to highest return of the 4 scenarios-6.00% to 18.00%
  15. 15Value-add building: one-sigma band9.00% − 7.47% to 9.00% + 7.47%1.53% to 16.47%
  16. 16Value-add building: chance below 7.00%sum of the probabilities of returns under 7.00%: 0.15 + 0.2540.00%
  17. 17Higher expected returnStabilized building 7.80% against Value-add building 9.00%Value-add building
  18. 18Lower risk per unit of returnthe lower coefficient of variation: 0.2051 against 0.8300Stabilized building
  19. 19Dominancean expected return at least the other's and a standard deviation at most the other's: 7.80% and 1.60% against 9.00% and 7.47%neither

Marked: the lines your last edit changed.

For your agent: calc_run returns these same 19 lines.

How it counts, and how it is checked.

Checked by an independent calculation

How it counts

  • Each option is a list of scenarios with a probability and a yearly return, both decimals; the probabilities must sum to 1 within 0.000001 and are used as given, not rescaled, and the scenarios and odds are the user's own, never a default set.
  • The expected return is the sum of each probability times its return; the variance is the population variance, the sum of each probability times the squared gap between its return and the expected return, and the standard deviation is its square root.
  • The coefficient of variation is the standard deviation over the expected return, the risk carried per unit of return, and is not defined (null) when the expected return is zero or less; the range runs from the lowest to the highest return, zero-probability scenarios included, and the one-sigma band is the expected return plus and minus one standard deviation, a description of spread, not a probability unless returns are normally distributed.
  • Given a threshold, the chance below it is the summed probability of the scenarios whose return is strictly less than the threshold.
  • With two options it names the one with the higher expected return and the one with the lower coefficient of variation, and says one dominates when its expected return is at least the other's and its standard deviation at most the other's, one of the two strictly; figures within 1e-12 count as equal, an expected return within 1e-12 of zero counts as zero, and every figure is computed unrounded and rounded only for display.

What the checks pin

  • The worked example is pinned to values computed independently in Python with the decimal module: each option's probability sum, expected return, variance (checked both as the weighted squared deviations and as the mean square less the squared mean), standard deviation, coefficient of variation, range, one-sigma band and chance below the threshold, and the comparison.
  • The tests pin that the weighted returns sum to the expected return, the weighted squared deviations sum to the variance, the expected return lies inside the range, adding a constant to every return moves the expected return by it and leaves the variance alone, and scaling every return scales the deviation and leaves the coefficient of variation alone.
  • Closed forms are pinned: two scenarios at even odds give a standard deviation of half the gap, and two at any odds a variance of p(1 − p) times the gap squared.
  • Edge cases are pinned: one scenario (zero spread), an expected return of zero or less, including one that is zero only on paper (coefficient not defined), a zero-probability scenario (in the range, no weight), a return exactly at the threshold (not below it), ties and dominance; probabilities that do not sum to 100%, two options with one name and bad fields are refused with a plain message.

Called by 4 steps in 1 playbook and 3 scenarios.

For your agent

It calls calc_run with id scenario-risk and the same inputs as the form above, and gets back the result, its working and the rule cards it rests on. The worked example is pinned in __tests__/calc-scenario-risk.test.ts, which run it through the same function this page and the tool call.

Where the catalog stands

96 written in full: 72 playbooks, 22 scenarios and 2 audits. An agent can do 64% of the 1169 written steps.

Federal + Texas · Counted