Compound probability of independent events