Sub topic 1
How consequences shape behavior: the law of effect
Prerequisites
This chapter assumes you know that psychologists define behavior as observable actions, and that you have seen classical (Pavlovian) conditioning at a high level. The optional code needs Python 3.
The law of effect
Edward Thorndike proposed the law of effect in 1898. He observed that behavior followed by a satisfying outcome becomes more likely to recur, and behavior followed by an unpleasant outcome becomes less likely. B. F. Skinner later called this process operant conditioning. The key word is operant: the organism operates on its environment, and the environment responds.
The three-term contingency
A behavior analyst describes any learning episode with three parts:
- Antecedent (A): the situation or signal that comes before the behavior.
- Behavior (B): the observable action.
- Consequence (C): what happens immediately after the behavior.
The consequence determines whether the behavior becomes more or less frequent in similar antecedent conditions.
Reinforcement versus punishment: the four consequence types
Two questions classify any consequence. First, was a stimulus added or removed? Second, did the behavior increase or decrease?
| Stimulus change | Behavior increases | Behavior decreases |
|---|---|---|
| Stimulus added | Positive reinforcement | Positive punishment |
| Stimulus removed | Negative reinforcement | Negative punishment |
def classify(stimulus_change, behavior_effect):
table = {
("added", "increases"): "positive reinforcement",
("removed", "increases"): "negative reinforcement",
("added", "decreases"): "positive punishment",
("removed", "decreases"): "negative punishment",
}
return table[(stimulus_change, behavior_effect)]
print(classify("removed", "increases")) # negative reinforcementPositive reinforcement
Positive reinforcement adds a stimulus after a behavior, and the behavior becomes more frequent. A student raises a hand, the teacher calls on her, and she raises her hand more often. "Positive" means something was added. It does not mean the outcome is pleasant to everyone.
Negative reinforcement: escape and avoidance
Negative reinforcement removes an aversive stimulus after a behavior, and the behavior becomes more frequent. Two forms exist:
- Escape: the behavior ends a stimulus already present, such as taking aspirin to stop a headache.
- Avoidance: the behavior prevents a stimulus from starting, such as taking an umbrella to avoid rain.
Negative reinforcement is not punishment. It increases behavior, and it removes something unpleasant.
Exercise
A rat presses a lever, and a loud buzzer stops. Pressing the lever becomes more frequent. Which consequence type is this?
Show answer
Negative reinforcement. A stimulus (the buzzer) was removed, and the behavior (lever pressing) increased.