The link between expectations and probability of an indicator function