A polygraph machine detects lies 65% of time. But it incorrectly flags a true statement as a lie 15% of the time.
a. Assume a test subject will lie 10% of the time. Determine the probability that a random statement by the subject will be flagged as a lie by the machine?
b. If another subject creates a statement that the machine flags as a lie, determine the probability that it really was a lie?