Sub topic 7
From prediction to cause: confounding and reverse causation
This chapter assumes you know what a sample, a variable, and a correlation are. It also assumes you have read the earlier chapters on how social connection is measured and on the longitudinal and meta-analytic evidence. Here the question changes. We have seen that social connection predicts well-being and survival. Does that mean connection causes them?
Prediction and causation are different claims
A predictor is a variable that helps you guess an outcome. A cause is a variable that, if you changed it, would change the outcome. Every cause that is measured well predicts its effect. The reverse does not hold. A variable can predict an outcome without causing it.
Suppose a study finds that people with large social networks are less likely to die over the next ten years. That finding supports several different stories:
- Connection protects health (the causal claim people usually want).
- Poor health reduces connection (reverse causation).
- A third factor produces both good connection and good health (confounding).
- Some mix of these.
The data alone often cannot tell these stories apart. The study's design determines which ones it can rule out.
Confounding
A confounder is a third variable that influences both the supposed cause and the outcome. It creates an association between them even if neither affects the other.
Plausible confounders in this field include:
- Socioeconomic status. People with more money and education tend to have more stable social ties. They also tend to have better health care, safer jobs, and less chronic stress.
- Personality. Low neuroticism and high conscientiousness may lead to both richer relationships and healthier habits.
- Baseline health. Healthy people find it easier to keep up friendships and may also live longer for reasons unrelated to those friendships.
- Depression. It lowers the quality of relationships and also harms health. It is covered below because it can act as a confounder and as a consequence.
- Neighborhood and context. Safe, walkable places support both contact with others and physical activity.
Statistical adjustment
The usual remedy is to measure the confounders and include them as covariates in a regression model. The model then estimates the connection effect among people who are equal on those covariates. In the survival literature, you often see an unadjusted odds ratio or hazard ratio and then an adjusted one.
The odds ratio is a simple example. Using invented counts, we can compare survival among people with strong relationships and people with weak ones.
def odds_ratio(a, b, c, d):
"""2x2 table: a, b = exposed (survived, died); c, d = unexposed (survived, died)."""
return (a / b) / (c / d)
# Invented counts for illustration only, not real study data.
# Strong relationships: 150 survived, 50 died. Weak relationships: 120 survived, 80 died.
print(round(odds_ratio(150, 50, 120, 80), 2))The result is 2.0. The odds of surviving are twice as high in the strong-relationship group. That number is a raw association. It says nothing yet about why the groups differ.
Adjustment has three limits you should remember:
- Unmeasured confounders. You cannot adjust for what you did not measure.
- Measurement error. If a confounder is measured poorly (for example, income reported in broad bands), adjusting for it removes only part of its influence. This is called residual confounding.
- Overadjustment. If a covariate sits on the causal path between connection and health, adjusting for it removes part of the real effect. Suppose connection improves health partly by reducing depression. Controlling for depression then hides some of that benefit.
The third point shows why the choice of covariates is a causal decision. It cannot be settled by statistics alone.
Reverse causation
Reverse causation means the outcome influences the supposed cause. In this field, the main version is that illness, disability, or low mood reduces a person's social contact.
Examples:
- A person with early dementia withdraws from friends before diagnosis.
- Someone with chronic pain stops going out.
- A person in depression sees fewer people and rates the people around them as less supportive.
If a study measures connection and health at the same time, these cases look exactly like connection protecting health. The two variables are simply correlated.
Why longitudinal designs help, and where they fall short
Longitudinal studies measure connection first, then follow people for years. This establishes temporal order, which is a necessary condition for a cause: the cause must come before the effect. Researchers add safeguards:
- Excluding early deaths. They drop deaths in the first few years of follow-up, since those people were likely already ill when connection was measured.
- Adjusting for baseline health. They include measures of illness, disability, and symptoms at the first wave.
- Lagged analyses. They check whether connection at time 1 predicts health at time 2 after controlling for health at time 1.
These steps reduce the problem but do not remove it. Many diseases are present for years before diagnosis, and a baseline checkup may miss them. A subtle decline in energy can reduce someone's social life long before any medical record shows it. Temporal order in the measurements does not guarantee temporal order in the underlying process.
Bidirectional and feedback relationships
Real relationships between connection and health are often a loop. Loneliness can increase vigilance for social threats, which leads to withdrawal, which increases loneliness. Poor health can reduce activity, which reduces contact, which worsens health. Cross-lagged panel models test both directions at once. They estimate whether connection at time 1 predicts health at time 2, and whether health at time 1 predicts connection at time 2. Many such studies find both paths. A both-ways result does not mean connection has no causal effect. It means the simple one-direction story is incomplete.
Other threats to a causal reading
Confounding and reverse causation are the main two. A careful reader should also check for these:
| Threat | What it is | Example in this field |
|---|---|---|
| Selection bias | The people studied differ from the population in ways that matter | Volunteers in a long-running cohort may be healthier and more social than those who decline |
| Attrition | People drop out of follow-up unevenly | Isolated or ill participants may be the ones lost |
| Common-method bias | Both variables come from the same self-report | Low mood colors answers about loneliness and about health |
| Measurement of exposure at one time | Connection is assumed to be stable | One baseline score ignores later changes in relationships |
What kinds of design strengthen the case
No single design settles the question. Evidence gets stronger when several designs with different weaknesses point the same way.
| Design | How it helps | Main weakness |
|---|---|---|
| Cross-sectional survey | Cheap, large samples | Cannot show order in time |
| Prospective cohort | Connection measured before the outcome | Confounding and hidden early illness remain |
| Cohort with repeated measures | Tracks change in both variables, allows cross-lagged models | Needs strong assumptions and many waves |
| Sibling or twin comparison | Controls for shared family background and, for twins, some genes | Fewer studies, and sibling differences may still be confounded |
| Natural experiment | Uses an event that changes connection for reasons unrelated to health, such as a policy or relocation | Such events are rare and may affect health in other ways |
| Randomized trial | Random assignment balances confounders, measured or not | Interventions are short, may be weak, and cannot assign most real relationships |
A randomized trial is the strongest design for cause. Random assignment makes the groups comparable on every characteristic in expectation, including those no one measured. The difficulty is practical. You cannot randomly assign people a lifelong marriage or a childhood friend. Trials can only test interventions that add contact or support, and these usually produce modest changes over a short period. This is why the next-but-three chapter on interventions sits apart from the observational evidence.
Triangulation
Epidemiologists use the idea of triangulation. If a link holds in cohorts, in sibling comparisons, and in natural experiments, and if plausible mechanisms exist, a causal reading becomes more credible. Each design fails in a different way, so agreement across them is hard to explain by one shared flaw. The reading is still a judgment about probability, not a proof.
Another aid is a set of considerations often credited to Austin Bradford Hill. They include the strength of the association, consistency across studies, temporal order, a dose-response gradient (more connection, better outcome), and biological plausibility. Social connection meets several of these. Hill meant them as prompts for judgment, not a checklist that proves anything.
Measurement can mimic or hide cause
Scoring choices also affect conclusions. Self-report scales mix positively and negatively worded items, so a reader must reverse-score some items before summing. A scoring mistake can flip a scale's direction and make a protective factor look harmful.
def score_scale(responses, reverse_items, scale_max=4):
"""Sum a Likert scale (1..scale_max), reverse-scoring the listed item indexes."""
total = 0
for i, value in enumerate(responses):
if not 1 <= value <= scale_max:
raise ValueError(f"item {i} out of range: {value}")
total += (scale_max + 1 - value) if i in reverse_items else value
return total
# Five items on a 1-4 scale; items 1 and 3 are worded positively and reverse-scored.
print(score_scale([2, 4, 1, 3, 2], reverse_items={1, 3}))This prints 9: the reversed items contribute 1 and 2, and the others contribute 2, 1, and 2. If you forgot to reverse items 1 and 3, the total would be 12 instead. Errors like this are small, but they show how much depends on the measurement step before any causal question arises.
A checklist for reading a study
Use these questions on any paper that claims connection affects well-being:
- When was connection measured relative to the outcome?
- Did the authors exclude early events and adjust for baseline health?
- Which confounders were measured, and how well? Which are missing?
- Could any adjusted covariate be a mediator, so that adjusting hides part of the effect?
- Do both variables come from the same self-report?
- Who dropped out, and who never joined?
- Do other designs, such as twins or trials, agree?
- Does the paper's wording ("linked to," "predicts") match what the design supports?
Summary of the argument
The evidence that social connection predicts well-being is strong and consistent. Whether the relationship is causal is a separate question. Confounding and reverse causation are credible and partly unresolved. Triangulation across designs, dose-response patterns, and mechanisms makes a causal contribution plausible. It does not fix its size. The practical stance is to hold both ideas: connection is a reliable predictor, and its causal effect is probably real but smaller and less certain than raw associations suggest.
Exercise
A cohort study measures social network size in adults aged 70, then follows them for eight years. People with small networks die sooner, even after adjusting for age, sex, and income. Give one confounding explanation and one reverse-causation explanation that adjustment might fail to remove, and name one design that would help separate them.
Show answer
Confounding: a personality trait such as low conscientiousness, or an unmeasured childhood disadvantage, could lead to both fewer relationships and poorer health habits, and neither was adjusted for. Reverse causation: undiagnosed early dementia or heart disease at age 70 could already have shrunk the person's network, so small networks mark existing illness. A sibling or twin comparison would control for shared family background, and a cross-lagged model or a cohort with repeated measures starting earlier in life would help with direction. Excluding early deaths and adjusting for baseline cognition and health would reduce the reverse-causation problem.
Exercise
Using the odds_ratio function with counts a=90, b=30, c=60, d=40, what is the odds ratio, and why can't you say it measures the causal effect of relationships on survival?
Show answer
(90/30) / (60/40) = 3 / 1.5 = 2.0. The ratio compares the odds of survival in two groups as they happened to be. Without random assignment, the groups may differ in health, income, personality, or other confounders, and people who were already ill may have fewer relationships. The number describes association only.
Exercise
A researcher adjusts for depressive symptoms measured at the same time as loneliness and finds that loneliness no longer predicts later heart disease. Why might this conclusion be misleading?
Show answer
Depression may be a mediator, meaning loneliness could contribute to heart disease partly by causing depression. Adjusting for a mediator removes the part of the effect that travels through it, so the remaining association shrinks. Depression could also be a confounder or a consequence of early illness. Because it was measured at the same time as loneliness, the order of events is unclear, and the right treatment of the variable depends on the causal model, not on the statistics.