Skip to content

UKHLS derived variables syntax

The syntax files creating the derived variables in Understanding Society can be found below. If you have any problems running these syntax files, or have any questions related to the syntax, please contact the user support team. 

File nameDescription
agegr_dvCreates agegr5_dv, agegr10_dv, agegr13_dv (Age groups)
big5_dvCreates big5a_dv, big5dv, big5e_dv, big5n_dv, big5o_dv (Big 5 personality variables)
bmi_dvCreates bmi_dv (Body Mass Index)
buno_dvCreates buno_dv (Benefit Unit Number of participant)
cgns_dvCreates cgns1a_dv, cgns1b_dv, cgns2a_dv, cgns2b_dv, cgns1sc6_dv, cgns1sc10_dv, cgns2sc6_dv, cgns2sc10_dv, cgivns1_dv (Cognitive ability: Number series)
cgnumab_dvCreates cgna_dv, cgivna1_dv (Cognitive ability: Numeric ability)
cgsrmem2_dvCreates cgsrmem2_dv (Cognitive development markers: memory)
cgsub7_dvCreates cgs7cs_dv, cgs7n_dv, cgs7ca_dv, cgivs71_dv, cgs7cs_dv, cgs7n_dv, cgs7ca_dv, cgivs71_dv (Cognitive ability: Substract 7)
cgvf_dvCreates cgvfdv, cgvfw_dv, cgivvf1_dv (Cognitive ability: Verbal fluency)
cgwrec_dv Creates cgwri1_dv, cgwri2_dv, cgwri3_dv, cgwri4_dv, cgwri_dv, cgivwri1_dv, cgwrd_dv, cgivwrd1_dv (Cognitive ability: Numeric ability – Immediate word recall)
chparstyle_dvCreates psdq1pno, psdqa1_dv, psdqb1_dv, psdqc1_dv, psdq2pno, psdqa2_dv, psdqb2_dv, psdqc2_dv (Parenting Style Scales)
chsdq_dvCreates chsdqcp_dv, chsdqes_dv, chsdqha_dv, chsdqpp_dv, chsdqps_dv, chsdqtd_dv (SDQ, child-level DV)
cohab_dvCreates cohab_dv (Does respondant live with cohabitee in household)
depchl_dvCreates depchl_dv, ndepchl_dv (Dependent children indicators)
es2000 (zip file)Creates jles2000, jbes2000 (Current and last job Employment Status 2000)
ghq_dv Creates scghq1_dv, scghq2_dv (Subjective wellbeing (GHQ))
grppnoCreates grfpno, grfpid, grmpno, grmpid, ngrp_dv (Pointers to grandparents)
harassment_dvCreates harassment_dv (Ever harassed)
hhsizeCreates hhsize (Household size)
hhtype_dvCreates hhtype_dv (Composition of household, LFS-version)
ieqmoecd_dvCreates ieqmoecd_dv (Modified OECD equivalence scale)
isco88 (zip file)Creates jbisco88, jlisco88, jbisco88_cc, jlisco88_cc (Current and last job ISCO88)
jbft_dvCreates jbft_dv (Full or part-time employee indicator)
jwbs_dv Creates jwbs1_dv, jwbs2_dv (Job-related Wellbeing Scale: Anxiety subscale)
livesp_dvCreates livesp_dv (Lives with spouse in hh)
marstat_dv Creates mastat_dv, marstat_dv (Marital status)
nbrcoh_dv Creates nbrcohdk_dv, nbrcoh_dv (Neighbourhood Social Cohesion)
c_nbrsnci_dvCreates nbrsnci_dv (Buckner’s Neighbourhood Cohesion Instrument)
nch02_dvCreates nch02_dv (Number of children aged 0-2 in household)
nch1215_dvCreates nch1215_dv (Number of children aged 12-15 in household)
nch34_dvCreates nch34_dv (Number of children aged 3-4 in household)
nch511_dvCreates nch511_dv (Number of children aged 5-11 in household)
ncouple_dvCreates ncouple_dv (Number of couples in the household)
nemp_dvCreates nemp_dv (Number in employment in household)
nkids_dvCreates nkids_dv (Number of children in household)
nonepar_dvCreates nonepar_dv (Number of lone parents in hh)
npens_dvCreates npens_dv (Number of people over pensionable age in household)
nsiblings_dvCreates nsiblings_dv (Number of R’s nat/step/adopt siblings in hh and number of R’s natural siblings)
nue_dvCreates w_nue_dv (Number not in paid employment in the hh)
nwage_dvCreates nwage_dv (Number working age in hh)
parstyle_dv Creates psdqdv, psdqb_dv, psdqdv (Parenting Style Scales)
pnpno Creates fnpid, fnpno, mnpid, mnpno, npn_dv, pn1pno, pn1pid, pn1sex, pn2pno, pn2pid, pn2sex (Pointers to biological parents)
pnspno Creates fnspid, fnspno, mnspid, mnspno, npns_dv, pns1pno, pns1pid, pns1sex, pns2pno, pns2pid, pns2sex (Pointers to nat/step/adopt parents)
racel_dvCreates racel_dv (Ethnic group incorp. all waves, codings, modes and bhps)
scdas_dv Creates scdassat_dv, scdascoh_dv (Dyadic Adjustment Scale: Subscales)
scdata_dvCreates scdata_dv (Self-completion module completed)
sf12pcs_dvCreates sf12pcs_dv and sf12mcs_dv (SF-12)
single_dvCreates single_dv (Single in hh)
sppno Creates sppid, sppno (Spouse’s person number: PNO)
swemwbs_dv Creates swemwbs_dv (Short Warwick-Edinburgh Mental Well-being Scale)
tenure_dv Creates tenure_dv (Housing tenure)
yprelig_dv Creates yprelig_dv (Religion: condensed GB-NI version)
ypsdq_dvCreates SDQ subscales and total score (Strengths and Difficulties Questionnaire)

Email newsletter

Sign up to our newsletter