How do I formalize this? And how do I calculate using the Bayes formula?
In the land of Pai, 3% of the population has a rare disease called Coditis. There is a test to test for Coditis: 18% of the population test positive on this test. The test is not that reliable: if someone that actually has Coditis gets tested, they only have a 60% chance of testing positive.
a) What is the chance of having Coditis if a citizen of Pai tests positive?
b) What is the chance of testing positive given that the citizen does not have Coditis?