AI helped with this
I used Claude Code to implement the statistical models I designed, build the network matching algorithm, and present these results on this website. I didn't use Claude to design research questions, interpret results, or write copy. Because AI is very bad at knowing what's important and is even worse at writing compelling prose.
Data sources
Pew Personal Networks Survey (2008): N=2,512 adults, each naming up to 10 people they discuss important matters with. Provides alter gender, race, relationship type, and contact frequency. Hampton, Keith N., Lauren Sessions Goulet, Lee Rainie, and Kristen Purcell. "Social Networking Sites and Our Lives." Pew Research Center, Washington, D.C. (June 2011).
General Social Survey (1985): "Important matters" module with age, gender, and kin relationship for each alter. Used to extract age homophily priors and empirical decline rates. Smith, Tom W., Davern, Michael, Freese, Jeremy, and Morgan, Stephen L., General Social Surveys, 1972-2022. NORC ed. Chicago: NORC. The GSS is a project of NORC at the University of Chicago, with principal funding from the National Science Foundation. Network module: Burt, Ronald S. (1984), "Network Items and the General Social Survey," Social Networks 6(4): 293-339; Marsden, Peter V. (1987), "Core Discussion Networks of Americans," American Sociological Review 52(1): 122-131.
Pew Research Center bears no responsibility for the analyses or interpretations of the data presented here. The opinions expressed herein, including any implications for policy, are those of the author and not of Pew Research Center.
Network construction
Six-pass kin-first matching algorithm (Pew_network_homophily.R). Spouse pairs matched first with GSS-derived age weights, then kin reciprocal (parent-child, sibling), kin one-way, friend reciprocal (gender + race + age band), and friend one-way with cascade fallback. N=1,500 persons, 3,992 directed edges, 0 unmatched slots.
Age homophily priors extracted from GSS 1985 non-kin, non-spouse pairs only (n=2,488). Kin ties (n=1,351) excluded to prevent parent-child age gaps from contaminating friend priors. Laplace-smoothed across 5 age bands.
Damage model
Per-cell decline rates (alters/year) computed from GSS 1985 to Pew 2008, both capped at 5 alters. Young men lose connections fastest (0.025/yr); older women lost none (clamped to 0). Kin protection ratios from empirical survival data — kin ties are 1.3x to 2.3x more durable than non-kin, depending on the group.
Three damage patterns tested: uniform linear (null model), empirical linear (per-cell rates), and empirical accelerated (x1.57, matching Pew-to-TESS acceleration). Time horizon: 41 years (1985-2026).
Reconstruction model
Adjacent-possible (friend-of-friend) introductions. Each step: a focal person picks a broker from their existing contacts, the broker introduces them to one of the broker's contacts. Fails if the target is already known or at max alters (10). No random tie formation — all new connections go through existing network structure.
Kin inflow: young isolates receive parent connections at a rate matching cohort turnover (~2.1/step). This is activation-independent.
What "bridge recovery" means
Mean cross-group distance in the network (average shortest path between all pairs of the 6 age-by-gender groups). Bridge recovery is the percentage of damage to this metric that gets healed during reconstruction. Higher means more cross-group connections restored — not just more friends, but more connections between different groups.
The visualization
Six meta-nodes (3 ages x 2 genders). Node size proportional to sqrt(mean degree). Edge thickness and opacity use squared density ratios — strong connections pop, weak ones fade. Force simulation with log-scaled attraction. Single representative replicate; density matrices are stable at N=1,500 with 200+ people per cell.
Reproducibility
Pipeline: extract_age_homophily.R → Pew_network_homophily.R → Pew_investment_sweep.R → Pew_viz_data.R. All scripts available on request.