Sorry, I just have a question. In the problem with pearls I can calculate
P(pearl/blue) = P(pearl AND blue) / P(blue) = 0.11 * 0.04 / (0.11 * 0.04 + 0.89 * 0.08) = 0.058
or with log-odds
P(pearl/blue) = 2^(log2(11/89) + log2(1/2)) = 2^(-4.0163018123) = 0.061
Where does the discrepancy come from?
UPD: I looked up the solution and realized that 2^(-4.016) are odds so probability is 1 / (2^4.01 + 1) = 0.058
Honestly this whole section is confusing
Sorry, I just have a question. In the problem with pearls I can calculate
P(pearl/blue) = P(pearl AND blue) / P(blue) = 0.11 * 0.04 / (0.11 * 0.04 + 0.89 * 0.08) = 0.058
or with log-odds
P(pearl/blue) = 2^(log2(11/89) + log2(1/2)) = 2^(-4.0163018123) = 0.061
Where does the discrepancy come from?
UPD: I looked up the solution and realized that 2^(-4.016) are odds so probability is 1 / (2^4.01 + 1) = 0.058
Honestly this whole section is confusing