fvfair-value
calculate_expected_value

discrete

expected value of a discrete distribution

incomeclosed_formimplemented

Formula reference: E[X] = sum p_i*x_i

Inputs

NameTypeReqDescription
outcomesarray✓Outcome values aligned with probabilities.
probabilitiesarray✓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.
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" } }