A lie detector returns a positive result when a person is lying in 90% of all cases. Unfortunately, it also results a positive result when a person is telling the truth in 20% of all cases. Statistically, it is estimated that 10% of all test subjects lie. A randomly chosen test subject takes a test and obtains a negative result. What is the probability that the subject told the truth?
So this was a 2 part question in which I have taken $A=$ Positive Result and $B=$ Subject is Lying: I've then calculated $P(B)=0.1,$ $P(A|B^c)=0.2,$ $P(A|B)=0.9,$ $P(B^c)= 0.9,$ and $P(B|A)=1/3.$ I was thinking of using Bayes' formula and using the law of total probability to figure out $P(B^c|A^c)$ but I am struggling with this. If anyone can point me in the right direction it would be appreciated.
Hint \begin{equation} \begin{array}{c|c|c}&\text{positive}&\text{negative}\\ \hline \text{non liars}&0.18&0.72\\ \hline \text{liars}&0.09&0.01 \end{array} \end{equation}