Probability of independent and dependent events