Suppose that from given statistics, it is known that meningitis causes stiff neck 50% of the time, that the proportion of persons having meningitis is \(\frac{1}{50000}\), and that the proportion of people having stiff neck is \(\frac{1}{20}\). Then the percentage of people who had meningitis and complain about stiff neck is :
0.02%
Use Bayes' theorem: \(P(M \mid S) = \frac{P(S \mid M) P(M)}{P(S)}\).
\(P(S \mid M) = 0.5,\ P(M) = \frac{1}{50000},\ P(S) = \frac{1}{20}\)
\(P(M \mid S) = \frac{0.5 \times \frac{1}{50000}}{\frac{1}{20}} = \frac{0.5 \times 20}{50000} = 0.0002\)
\(0.0002 \times 100 = 0.02\%\)
Check: \(P(M \mid S) P(S) = 0.0002 \times 0.05 = 0.00001\) and \(P(S \mid M) P(M) = 0.5 \times 0.00002 = 0.00001\), so both sides of Bayes' rule agree.
Hence, 0.02%.
Consider the conditional entropy and mutual information for the binary symmetric channel. The input source has alphabet \(X = \{0, 1\}\) and associated probabilities \(\left\{\frac{1}{2}, \frac{1}{2}\right\}\). The channel matrix is \(\begin{pmatrix} 1-p & p \\ p & 1-p \end{pmatrix}\) where p is the transition probability. Then the conditional entropy is given by :
A box contains 5 coins: 4 regular coins and 1 fake coin. When a regular coin is tossed, the probability 𝑃(ℎ𝑒𝑎𝑑) = 0.5 and for a fake coin, 𝑃(ℎ𝑒𝑎𝑑) = 1. You pick a coin at random and toss it twice, and get two heads. The probability that the coin you have chosen is the fake coin is _______. (rounded off to two decimal places)