Berkman-Syme Social Network Index
Berkman-Syme Social Network Index
Measuring: How socially integrated or isolated a person is.
Number of Items: 4
| Item | Question Wording | TILDA Variable |
|---|---|---|
| 1 | The respondent is married/cohabiting? | CS006 |
| 2 | The respondent has at least 2 close friends or relatives? | CN002, CN003, CN004 |
| 3 | The respondent attends religious services at least once per month? | DM021 |
| 4 | The respondent has membership in clubs, community groups or charitable organisations? | CN001 |
Scoring Method:
0 = No.
1 = Yes.
A composite score is generated and ranges from 0-4.
There are 4 categorisations for this scale; o Most isolated (score of 0-1) o Moderately Isolated (score of 2) o Moderately integrated (score of 3) o Most integrated (score of 4)
Citation: Berkman, L. F., & Syme, S. L. (1979). Social networks, host resistance, and mortality: a nine-year follow-up study of Alameda County residents. American journal of Epidemiology, 109(2), 186-204
Example TILDA Papers:
- Domènech-Abella, J., Mundó, J., Haro, J. M., & Rubio-Valera, M. (2019). Anxiety, depression, loneliness and social network in the elderly: Longitudinal associations from The Irish Longitudinal Study on Ageing (TILDA). Journal of affective disorders, 246, 82–88. https://doi.org/10.1016/j.jad.2018.12.043
- Ward, M., May, P., Normand, C., Kenny, R. A., & Nolan, A. (2021). Mortality risk associated with combinations of loneliness and social isolation. Findings from The Irish Longitudinal Study on Ageing (TILDA). Age and ageing, 50(4), 1329-1335.
- McCrory, C., Finucane, C., O’Hare, C., Frewen, J., Nolan, H., Layte, R., … & Kenny, R. A. (2016). Social disadvantage and social isolation are associated with a higher resting heart rate: evidence from the Irish Longitudinal Study on Ageing. Journals of Gerontology Series B: Psychological Sciences and Social Sciences, 71(3), 463-473.
Code
*** Social Participation
recode cn001 (1=1) (5=0) , gen(socParticip)
label variable socParticip "Social participation"
notes socParticip : Whether or not participates in social groups
notes socParticip : Code to generate - recode cn001 (1=1) (5=0) , gen(socParticip)
label define socParticip 1 "Yes" 0 "No" 98 "Don't Know" 99 "Refused",modify
label value socParticip socParticip
*** Attend religious services
*label not applied - SS (v2)
recode dm021 (1/3=0) (4/6=1), gen(Church)
label variable Church "Attends religious services"
notes Church : Whether or not participant attend religious services at least once per month
notes Church : Stat code to generate - recode dm021 (1/3=0) (4/6=1), gen(Church)
label define Church 0 "No" 1 "Yes" 98 "Don't Know" 99 "Refused",modify
label value Church Church
*** Membership of organisations other than Church
*This is idenitical to socParticip - keeping in for consistency, and as it is used to calculated SNI
*label not applied - SS (v2)
*changed to (5=0) - MF (v2)
recode cn001 (1=1) (5=0) , gen(Clubs)
label variable Clubs "Membership in organisation not Church"
notes Clubs : Whether or not R belongs to any clubs/groups
notes Clubs : Code to generate - recode cn001 (1=1) (5=0) , gen(Clubs)
label define Clubs 0 "No" 1 "Yes" 98 "Don't Know" 99 "Refused",modify
label value Clubs Clubs
*** Close relatives or friends
*label not applied - SS (v2)
gen relFriends = 0
replace relFriends = relFriends + cn002 if cn002 > 0
replace relFriends = relFriends + cn003 if cn003 > 0
replace relFriends = relFriends + cn004 if cn004 > 0
replace relFriends = . if cn002<0 & cn003<0 & cn004<0
label variable relFriends "Count of close relatives or friends"
recode relFriends (0/1=0) (2/max=1) , gen(closeTies)
label variable closeTies "Has at least 2 close friends or relatives"
label define closeTies 0 "No" 1 "Yes",modify
label value closeTies closeTies
*** Social network total
gen socnet = 0
replace socnet = socnet + 1 if Church == 1
replace socnet = socnet + 1 if cs006 == 1 | cs006==2
replace socnet = socnet + 1 if Clubs == 1
replace socnet = socnet + 1 if closeTies == 1
label variable socnet "Social Connectedness Score"*---------------------------------------------------------------.
* Social Participation.
*---------------------------------------------------------------.
RECODE cn001 (1=1) (5=0) (ELSE=SYSMIS)
INTO socParticip.
VARIABLE LABELS socParticip
"Social participation".
VALUE LABELS socParticip
1 "Yes"
0 "No"
98 "Don't Know"
99 "Refused".
VARIABLE LEVEL socParticip (NOMINAL).
* Whether or not participates in social groups.
* Original Stata: recode cn001 (1=1) (5=0), gen(socParticip).
*---------------------------------------------------------------.
* Attend Religious Services.
*---------------------------------------------------------------.
RECODE dm021 (1 THRU 3=0) (4 THRU 6=1)
(ELSE=SYSMIS) INTO Church.
VARIABLE LABELS Church
"Attends religious services".
VALUE LABELS Church
0 "No"
1 "Yes"
98 "Don't Know"
99 "Refused".
VARIABLE LEVEL Church (NOMINAL).
* Whether participant attends religious services
* at least once per month.
* Original Stata: recode dm021 (1/3=0) (4/6=1), gen(Church).
*---------------------------------------------------------------.
* Membership of Organisations Other Than Church.
*---------------------------------------------------------------.
* Identical to socParticip, retained for consistency.
RECODE cn001 (1=1) (5=0) (ELSE=SYSMIS)
INTO Clubs.
VARIABLE LABELS Clubs
"Membership in organisation not Church".
VALUE LABELS Clubs
0 "No"
1 "Yes"
98 "Don't Know"
99 "Refused".
VARIABLE LEVEL Clubs (NOMINAL).
* Whether respondent belongs to any clubs/groups.
* Original Stata: recode cn001 (1=1) (5=0), gen(Clubs).
*---------------------------------------------------------------.
* Close Relatives or Friends.
*---------------------------------------------------------------.
COMPUTE relFriends = 0.
IF (cn002 > 0 AND NOT MISSING(cn002))
relFriends = relFriends + cn002.
IF (cn003 > 0 AND NOT MISSING(cn003))
relFriends = relFriends + cn003.
IF (cn004 > 0 AND NOT MISSING(cn004))
relFriends = relFriends + cn004.
IF (cn002 < 0 AND cn003 < 0 AND cn004 < 0)
relFriends = $SYSMIS.
VARIABLE LABELS relFriends
"Count of close relatives or friends".
VARIABLE LEVEL relFriends (SCALE).
*---------------------------------------------------------------.
* At Least Two Close Friends or Relatives.
*---------------------------------------------------------------.
RECODE relFriends (0 THRU 1=0) (2 THRU HI=1)
(ELSE=SYSMIS) INTO closeTies.
VARIABLE LABELS closeTies
"Has at least 2 close friends or relatives".
VALUE LABELS closeTies
0 "No"
1 "Yes".
VARIABLE LEVEL closeTies (NOMINAL).
*---------------------------------------------------------------.
* Social Network Total.
*---------------------------------------------------------------.
COMPUTE socnet = 0.
IF (Church = 1) socnet = socnet + 1.
IF (cs006 = 1 OR cs006 = 2)
socnet = socnet + 1.
IF (Clubs = 1) socnet = socnet + 1.
IF (closeTies = 1) socnet = socnet + 1.
VARIABLE LABELS socnet
"Social Connectedness Score".
VARIABLE LEVEL socnet (SCALE).
EXECUTE.
*---------------------------------------------------------------.
* Optional: Check Score Distributions.
*---------------------------------------------------------------.
FREQUENCIES VARIABLES=
socParticip Church Clubs closeTies socnet
/ORDER=ANALYSIS.
DESCRIPTIVES VARIABLES=relFriends socnet
/STATISTICS=MEAN STDDEV MIN MAX.
2. R code
This version uses base R and works with a data frame containing the TILDA variables. It preserves the Stata logic without requiring additional packages.
####################################################################
# Scale ID: SNI
# Scale Name: Social Network Index
# TILDA Variables: socParticip, Church, Clubs, relFriends,
# closeTies, socnet
# Dataset: TILDA Wave 1-6
# Author:
# Institution: The Irish Longitudinal Study on Ageing (TILDA)
#
# Description:
# Generates the Social Network Index (SNI), a social
# connectedness score ranging from 0 to 4.
#
# Version: 1.0
# Date: 2026-09-01
# Language: R
####################################################################
# Dataset assumed to be named 'tilda'
#-------------------------------------------------------------------
# Social Participation
#-------------------------------------------------------------------
tilda$socParticip <- ifelse(
tilda$cn001 == 1, 1,
ifelse(tilda$cn001 == 5, 0, NA_real_)
)
attr(tilda$socParticip, "label") <- "Social participation"
attr(tilda$socParticip, "labels") <- c(
"Yes" = 1,
"No" = 0,
"Don't Know" = 98,
"Refused" = 99
)
#-------------------------------------------------------------------
# Attend Religious Services
#-------------------------------------------------------------------
tilda$Church <- ifelse(
tilda$dm021 %in% 1:3, 0,
ifelse(tilda$dm021 %in% 4:6, 1, NA_real_)
)
attr(tilda$Church, "label") <-
"Attends religious services"
attr(tilda$Church, "labels") <- c(
"No" = 0,
"Yes" = 1,
"Don't Know" = 98,
"Refused" = 99
)
#-------------------------------------------------------------------
# Membership of Organisations Other Than Church
#-------------------------------------------------------------------
# Identical to socParticip, retained for consistency.
tilda$Clubs <- ifelse(
tilda$cn001 == 1, 1,
ifelse(tilda$cn001 == 5, 0, NA_real_)
)
attr(tilda$Clubs, "label") <-
"Membership in organisation not Church"
attr(tilda$Clubs, "labels") <- c(
"No" = 0,
"Yes" = 1,
"Don't Know" = 98,
"Refused" = 99
)
#-------------------------------------------------------------------
# Close Relatives or Friends
#-------------------------------------------------------------------
# Start at zero and add positive values only.
tilda$relFriends <- rep(0, nrow(tilda))
tilda$relFriends <- tilda$relFriends +
ifelse(!is.na(tilda$cn002) & tilda$cn002 > 0,
tilda$cn002, 0)
tilda$relFriends <- tilda$relFriends +
ifelse(!is.na(tilda$cn003) & tilda$cn003 > 0,
tilda$cn003, 0)
tilda$relFriends <- tilda$relFriends +
ifelse(!is.na(tilda$cn004) & tilda$cn004 > 0,
tilda$cn004, 0)
# Set to missing if all three inputs are negative.
all_negative <- !is.na(tilda$cn002) &
!is.na(tilda$cn003) &
!is.na(tilda$cn004) &
tilda$cn002 < 0 &
tilda$cn003 < 0 &
tilda$cn004 < 0
tilda$relFriends[all_negative] <- NA_real_
attr(tilda$relFriends, "label") <-
"Count of close relatives or friends"
#-------------------------------------------------------------------
# At Least Two Close Friends or Relatives
#-------------------------------------------------------------------
tilda$closeTies <- ifelse(
is.na(tilda$relFriends), NA_real_,
ifelse(tilda$relFriends >= 2, 1, 0)
)
attr(tilda$closeTies, "label") <-
"Has at least 2 close friends or relatives"
attr(tilda$closeTies, "labels") <- c(
"No" = 0,
"Yes" = 1
)
#-------------------------------------------------------------------
# Social Network Total
#-------------------------------------------------------------------
# Each component contributes 1 point when the condition is met.
# Missing component values do not contribute points.
tilda$socnet <-
as.integer(!is.na(tilda$Church) & tilda$Church == 1) +
as.integer(!is.na(tilda$cs006) &
tilda$cs006 %in% c(1, 2)) +
as.integer(!is.na(tilda$Clubs) & tilda$Clubs == 1) +
as.integer(!is.na(tilda$closeTies) &
tilda$closeTies == 1)
attr(tilda$socnet, "label") <-
"Social Connectedness Score"
*---------------------------------------------------------------.
* Social Participation.
*---------------------------------------------------------------.
RECODE cn001 (1=1) (5=0) (ELSE=SYSMIS)
INTO socParticip.
VARIABLE LABELS socParticip
"Social participation".
VALUE LABELS socParticip
1 "Yes"
0 "No"
98 "Don't Know"
99 "Refused".
VARIABLE LEVEL socParticip (NOMINAL).
* Whether or not participates in social groups.
* Original Stata: recode cn001 (1=1) (5=0), gen(socParticip).
*---------------------------------------------------------------.
* Attend Religious Services.
*---------------------------------------------------------------.
RECODE dm021 (1 THRU 3=0) (4 THRU 6=1)
(ELSE=SYSMIS) INTO Church.
VARIABLE LABELS Church
"Attends religious services".
VALUE LABELS Church
0 "No"
1 "Yes"
98 "Don't Know"
99 "Refused".
VARIABLE LEVEL Church (NOMINAL).
* Whether participant attends religious services
* at least once per month.
* Original Stata: recode dm021 (1/3=0) (4/6=1), gen(Church).
*---------------------------------------------------------------.
* Membership of Organisations Other Than Church.
*---------------------------------------------------------------.
* Identical to socParticip, retained for consistency.
RECODE cn001 (1=1) (5=0) (ELSE=SYSMIS)
INTO Clubs.
VARIABLE LABELS Clubs
"Membership in organisation not Church".
VALUE LABELS Clubs
0 "No"
1 "Yes"
98 "Don't Know"
99 "Refused".
VARIABLE LEVEL Clubs (NOMINAL).
* Whether respondent belongs to any clubs/groups.
* Original Stata: recode cn001 (1=1) (5=0), gen(Clubs).
*---------------------------------------------------------------.
* Close Relatives or Friends.
*---------------------------------------------------------------.
COMPUTE relFriends = 0.
IF (cn002 > 0 AND NOT MISSING(cn002))
relFriends = relFriends + cn002.
IF (cn003 > 0 AND NOT MISSING(cn003))
relFriends = relFriends + cn003.
IF (cn004 > 0 AND NOT MISSING(cn004))
relFriends = relFriends + cn004.
IF (cn002 < 0 AND cn003 < 0 AND cn004 < 0)
relFriends = $SYSMIS.
VARIABLE LABELS relFriends
"Count of close relatives or friends".
VARIABLE LEVEL relFriends (SCALE).
*---------------------------------------------------------------.
* At Least Two Close Friends or Relatives.
*---------------------------------------------------------------.
RECODE relFriends (0 THRU 1=0) (2 THRU HI=1)
(ELSE=SYSMIS) INTO closeTies.
VARIABLE LABELS closeTies
"Has at least 2 close friends or relatives".
VALUE LABELS closeTies
0 "No"
1 "Yes".
VARIABLE LEVEL closeTies (NOMINAL).
*---------------------------------------------------------------.
* Social Network Total.
*---------------------------------------------------------------.
COMPUTE socnet = 0.
IF (Church = 1) socnet = socnet + 1.
IF (cs006 = 1 OR cs006 = 2)
socnet = socnet + 1.
IF (Clubs = 1) socnet = socnet + 1.
IF (closeTies = 1) socnet = socnet + 1.
VARIABLE LABELS socnet
"Social Connectedness Score".
VARIABLE LEVEL socnet (SCALE).
EXECUTE.