What is the three-term contingency?

What is the three-term contingency as it applies to behavior analysis? Dr. Pennington explains.