Skip to main content

expected_value

Function expected_value 

Source
pub fn expected_value(probs: &[f64]) -> f64
Expand description

Probability-weighted value of an ordinal distribution over level indices: E = Σₖ k·pₖ (level values default to their indices per the jev-1 profile).

A convenience readout, not a trust object — the served contract is the calibrated distribution plus a conformal interval (S6b2).