A polygraph machine detects lies 65% of the time. But it incorrectly flags true statement as a lie 15% of time.
a. Assume a test subject will lie 10% of the time. Determine the probability that the random statement by 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?