Sub topic 3
Modeling adaptation with a few lines of code
This chapter assumes you can write basic Python (variables, lists, loops, and function definitions) and that you know the core idea of hedonic adaptation. The model here is a toy. It shows the mechanism in miniature and says nothing about how real people behave.
Modeling adaptation with a few lines of code
The working model
Adaptation-level theory holds that people judge a stimulus against an internal reference point, the adaptation level. On each step, the adaptation level moves a fraction rate of the way toward the current stimulus. Felt well-being equals a baseline, plus the stimulus, minus the adaptation level.
def simulate(events, rate=0.3, baseline=5.0):
level = 0.0
felt = []
for e in events:
level += rate * (e - level)
felt.append(round(baseline + e - level, 2))
return felt
print(simulate([3] * 6 + [0] * 4))The first six steps hold a lasting improvement of 3. The last four remove it. The program prints [7.1, 6.47, 6.03, 5.72, 5.5, 5.35, 3.15, 3.7, 4.09, 4.36]. The gain fades while the stimulus continues. When the stimulus is removed, felt well-being drops below the baseline of 5, then recovers as the adaptation level falls.
Common errors to avoid:
- Starting the level at 0, which makes the first few values reflect the start point rather than the model.
- Reading the toy output as evidence about human happiness.
- Setting
rateabove 1, which makes the level overshoot the stimulus.
Experiences versus things
A 2003 study by Van Boven and Gilovich found that people reported more happiness from experiences, such as trips and concerts, than from material purchases. One proposed reason is that experiences are more varied, more social, and more open to reflection, so they fade less quickly. The evidence is mostly self-report and correlational, so treat it as suggestive.
Slowing adaptation
Four practices can help keep positive changes from fading quickly.
| Strategy | What to do | Example |
|---|---|---|
| Variety | Change how you use or experience the good thing | Visit a different part of a favorite city |
| Savoring | Pay focused attention while the good thing happens | Notice the taste and texture of a meal |
| Gratitude | Name specific things you value about the change | Write three specific benefits each week |
| Pauses | Stop using the thing for a while so it stays novel | Skip a favorite show between seasons |
Putting it to use without overreaching
These practices reduce adaptation but do not remove it. Effects reported in the research are modest. Do not use adaptation as a reason to dismiss real losses or unmet needs, and do not expect a purchase or habit to produce lasting happiness.
Exercise
Exercise
In the simulation, the stimulus is 3 for six steps and the rate is raised from 0.3 to 0.6. Does felt well-being fall back to the baseline faster or slower, and why?
Show answer
Faster. With a larger rate, each step moves the adaptation level a bigger fraction of the way toward the stimulus, so the level catches up sooner and felt well-being approaches the baseline more quickly.