Skip to main content

ordinal_aps_interval

Function ordinal_aps_interval 

Source
pub fn ordinal_aps_interval(probs: &[f64], qhat: f64) -> (usize, usize)
Expand description

Ordinal APS interval (Lu, Angelopoulos, Pomerantz 2022): start at the modal level and grow a contiguous interval, always extending toward the adjacent side with the larger probability, until the enclosed mass reaches qhat.