I want to calculate the overlap of two binomial distributions A and B (e.g.
- A with 100 trials and a probability of success with 0.7
- B with 100 trials and a probability of success with 0.6.)
I think I can empirically get the value (see 2. picture) by simulating values and calculating the "Common Language Effect Size" (how many points of B are bigger than A). Since the overlap only depends on the probability of success and the number of trials, it feels like there should be a direct solution without simulating it first.
Is there a direct way to get to this value in R?
