discrete
expected value of a discrete distribution
incomeclosed_formimplemented
Formula reference: E[X] = sum p_i*x_i
Inputs
| Name | Type | Req | Description |
|---|---|---|---|
| outcomes | array | ✓ | Outcome values aligned with probabilities. |
| probabilities | array | ✓ | Cumulative success probability per period in [0,1], aligned with cash_flows. |
Standards
Risks & limits
- Deterministic model: the result is a point value with no modelled distribution; input error and model error are not quantified here.
Call it
Try in playground →REST
curl -s -X POST https://fair-value.ascent-partners.com/v1/calculate/calculate_expected_value \
-H 'content-type: application/json' \
-d '{"method":"discrete"}'MCP
// MCP tools/call
{ "name": "calculate_expected_value",
"arguments": { "method": "discrete" } }