Sub topic 6
Worked example: the Satisfaction With Life Scale
This chapter assumes you know what a Likert item is and why a questionnaire needs to be reliable and valid. It also assumes you can read short Python functions and have the basic scoring ideas (sums, reverse items) from the earlier scoring chapter. The Satisfaction With Life Scale (SWLS) is a good first scale to score by hand. It has five items, no reverse-keyed items, and one published set of score bands.
What the SWLS measures
Ed Diener and colleagues published the SWLS in 1985. It measures global life satisfaction, which is your own overall judgment of how your life is going compared with the standards you set for it. It is the cognitive side of subjective well-being. It does not ask how you feel right now, and it does not ask about specific areas such as work or health.
This is a design choice. Asking for a global judgment lets you decide which areas of life count. Two people with very different lives can both score 28 if each judges their life against their own standards.
The scale is free to use for research and personal use, and it has been translated into many languages.
The five items
You rate each statement from 1 to 7:
| Response | Value |
|---|---|
| Strongly disagree | 1 |
| Disagree | 2 |
| Slightly disagree | 3 |
| Neither agree nor disagree | 4 |
| Slightly agree | 5 |
| Agree | 6 |
| Strongly agree | 7 |
The statements:
- In most ways my life is close to my ideal.
- The conditions of my life are excellent.
- I am satisfied with my life.
- So far I have gotten the important things I want in life.
- If I could live my life over, I would change almost nothing.
Every item is worded in the same direction, so a higher number always means more satisfaction. You never call reverse_score for the SWLS. If you see a version of the scale with a flipped item, it is a modified form, and you should check its source before scoring it.
Scoring step by step
The score is the sum of the five responses, so it runs from 5 (all 1s) to 35 (all 7s). Some research reports use the mean, which is the sum divided by 5. Choose one and state which you used, because 23 and 4.6 describe the same answers.
Here is the scoring function with its validation step. The check matters. A silent typo such as 8 would otherwise push a total out of range without any error.
def score_swls(items):
"""Score the 5-item Satisfaction With Life Scale (each item 1-7)."""
if len(items) != 5 or any(not 1 <= x <= 7 for x in items):
raise ValueError("SWLS needs 5 responses, each from 1 to 7")
total = sum(items)
if total >= 31:
band = "extremely satisfied"
elif total >= 26:
band = "satisfied"
elif total >= 21:
band = "slightly satisfied"
elif total == 20:
band = "neutral"
elif total >= 15:
band = "slightly dissatisfied"
elif total >= 10:
band = "dissatisfied"
else:
band = "extremely dissatisfied"
return total, band
print(score_swls([5, 6, 5, 4, 3]))The output is (23, 'slightly satisfied'). The response 5, 6, 5, 4, 3 sums to 23, which falls in the 21 to 25 band.
The published bands
| Total | Descriptive label |
|---|---|
| 31 to 35 | Extremely satisfied |
| 26 to 30 | Satisfied |
| 21 to 25 | Slightly satisfied |
| 20 | Neutral |
| 15 to 19 | Slightly dissatisfied |
| 10 to 14 | Dissatisfied |
| 5 to 9 | Extremely dissatisfied |
The score of 20 is the only exact neutral point. It is the midpoint of the 5 to 35 range, where the average answer is 4 ("neither agree nor disagree"). Notice that the "slightly satisfied" band covers 21 to 25. Most people in many Western samples land in the 20s, so "slightly satisfied" is a common result and not a poor one.
Handling missing answers
The scoring function above rejects incomplete data. This is the safest default for personal use. If you must handle a skipped item, the usual practice in research is to report the result as unscored, not to fill in a guess. The sum of four items runs from 4 to 28, so it cannot be compared with the bands. The mean of the four answered items can be compared with the mean-based version of the bands, but it is less reliable than the full scale. Treat it as a rough figure.
Why the scale counts as validated
The original paper reported the following figures, and later studies in many countries have found broadly similar ones:
- Internal consistency. Cronbach's alpha was about .87, so the five items hang together as one construct.
- Test-retest reliability. The correlation between scores two months apart was about .82. That is high for a judgment but not perfect, and the gap is why single scores should not be over-read.
- Convergent validity. Scores correlate with other measures of well-being, and with ratings from people who know the respondent well.
- Discriminant validity. Scores are related to, but distinct from, positive and negative affect. Satisfaction is not the same as mood.
You can compute internal consistency yourself when you have responses from several people. Alpha compares the sum of the item variances with the variance of the total scores.
from statistics import variance
def cronbach_alpha(rows):
"""rows: list of respondents, each a list of item scores."""
k = len(rows[0])
item_vars = [variance([r[i] for r in rows]) for i in range(k)]
total_var = variance([sum(r) for r in rows])
return (k / (k - 1)) * (1 - sum(item_vars) / total_var)
data = [[5, 6, 5, 4, 3], [2, 3, 2, 2, 3], [6, 6, 7, 6, 5], [4, 4, 3, 4, 4]]
print(round(cronbach_alpha(data), 2))The output is 0.95. Four respondents are far too few to say anything about the scale. The example shows the mechanics only. With one person's answers, alpha cannot be computed at all, because it needs variation across people.
Interpreting your own result
A score tells you where your answers fall in a published scheme. It does not tell you why, and it does not tell you what to do.
Use the following checks before drawing a conclusion:
- Look at the pattern, not only the total. A total of 23 can come from five 5s and a 3, or from two 7s and three 3s. Item 5 ("change almost nothing") reflects regret and hindsight. Item 4 reflects achievement of what you wanted. A low item among high ones is more informative than the sum.
- Compare with a population, not just the label. In many samples the mean is in the low-to-mid 20s, and it varies by country, age and sample type. A label such as "slightly satisfied" is a convention. It is not a medical category.
- Consider the day. Global judgments are sensitive to what comes to mind. Answering after an argument, a good meal or a sunny walk can move the total by a few points. The response-biases chapter covers this in more detail.
- Respect the ceiling. If you score 33 or 34, a rise has little room to show, and a modest drop may be noise.
- Respect cultural differences. Norms and the meaning of "ideal" differ between cultures. Do not compare your score directly with a published mean from a very different population.
Is a change meaningful?
Because test-retest reliability is below 1, some difference between two administrations is expected even if nothing changed. A standard way to estimate it uses the standard error of measurement (SEM) and the reliable change threshold:
- SEM = SD × √(1 − reliability)
- Threshold = 1.96 × √2 × SEM
Take the illustrative figures SD = 6.5 and reliability = .82. The SEM is about 2.8 points, and the threshold is about 7.6 points. On those assumptions, a change of 3 or 4 points between two sittings is well within noise. These figures are not your personal values, so treat the result as an order of magnitude. The idea is to avoid celebrating or worrying about a small shift. A later chapter on tracking gives the full treatment.
Common errors
- Adding a sixth item or changing the labels. Any change to wording or response options breaks comparability with the published bands.
- Using a 0 to 6 or 1 to 5 response format. Totals then fall outside the 5 to 35 range and the bands no longer apply.
- Reading the total as a percentage. 28 out of 35 is not 80% "happy". The scale has a floor of 5, not 0.
- Comparing scores across different time frames. The SWLS asks about your life as a whole. Rewording it to "this week" turns it into a different instrument.
- Treating the band as a verdict. The bands are descriptive labels set by the authors.
Exercise
A respondent answers the five SWLS items with 6, 5, 7, 6 and 4. Compute the total and the band. Then say which item has the lowest response and what that item asks about.
Show answer
The total is 6 + 5 + 7 + 6 + 4 = 28, which falls in the 26 to 30 band, "satisfied". The lowest response is the fifth item, 4 ("neither agree nor disagree"), which asks whether the person would change almost nothing if they could live their life over. That points to some ambivalence about the past, even though the overall result is positive.
Exercise
Someone takes the SWLS in January and scores 22. In March they score 25. They say their life satisfaction has "clearly improved". Using the illustrative threshold of about 7.6 points from this chapter, is the claim supported? What would you suggest instead?
Show answer
No. A 3-point change is well below the roughly 7.6-point threshold, so it is within the range expected from measurement noise and day-to-day context. A better approach is to take the scale several times under similar conditions, look at the trend across sittings, and compare any change with the threshold before drawing a conclusion. The person can also check which items moved.
Exercise
Why does the score_swls function raise an error for a list of four responses instead of returning a total?
Show answer
A four-item sum runs from 4 to 28 and cannot be compared with the published bands, which assume five items and a 5 to 35 range. Returning a total would produce a number that looks valid but is wrongly labeled. Raising an error forces the user to fix the data.