Early-life blood pressure and midlife brain and cognitive health: tests in two birth cohorts.
Paper
Loaded from Europe PMC by your browser, not stored by OSCR: doi.org · Europe PMC
The paper is loaded when this pane is shown.
The authors' code
Stata · 215 lines · 7.5 KB · no license
- *****************************************************************************************************************************************************************
- **************************************************************BCS70 Blood Pressure and Cognition Analyses********************************************************
- **************************************************************************Mugoba et al 2026**********************************************************************
- *****************************************************************************************************************************************************************
- *****************************************************************************STATA SET-UP************************************************************************
- **Standard settings**
- version 17
- clear all
- macro drop _all
- set more off
- set maxvar 10000
- *********************************************************************DATASET MERGING AND PREPARATION*************************************************************
- cd "Y:\Dunedin Paper\Datasets"
- use "bcs_age46_main.dta", clear
- log using "Final Analysis", replace
- *************************EARLY-LIFE FACTORS********************************
- //Age and Sex//
- replace BD10AGEINT = . if BD10AGEINT < 0
- rename BD10AGEINT age
- replace B10CMSEX = . if B10CMSEX < 0
- rename B10CMSEX sex
- rename BCSID bcsid
- merge 1:1 bcsid using "bcs2000.dta", keepusing(ethnic)
- replace ethnic = . if ethnic > 97
- recode ethnic (1/3 = 0) (4/16 = 1)
- label define ethnic 0 "White" 1 "Non-White", modify
- label values ethnic ethnic
- rename bcsid BCSID
- drop if _merge == 2
- drop _merge
- //Birthweight//
- merge 1:1 BCSID using "bcs70_1975_developmental_history.dta", keepusing(VAR5542)
- drop _merge
- replace VAR5542 = . if VAR5542 < 0
- rename VAR5542 BW
- //Childhood Socioeconomic Status//
- merge 1:1 BCSID using "bcs2derived.dta", keepusing(BD2SOC)
- drop _merge
- replace BD2SOC = . if BD2SOC < 0
- rename BD2SOC SES
- drop if SES == 0
- //Household Overcrowding//
- rename BCSID bcsid
- merge 1:1 bcsid using "f699b.dta", keepusing(e228b)
- drop _merge
- replace e228b = . if e228b < 0
- rename e228b Overcrowding
- //Age 10 Cognition//
- merge 1:1 bcsid using "EarlyChildhoodCognition.dta", keepusing(harm_gc1_10 harm_gf_10 harm_gq_10 harm_gc2_10 cog_g_10) //created using do file called Preparing Childhood Cognitive Scores//
- drop if _merge == 2
- drop _merge
- rename bcsid BCSID
- //Highest Education Level//
- merge 1:1 BCSID using "bcs6derived.dta", keepusing(HIACA00)
- drop _merge
- replace HIACA00 = . if HIACA00 < 0
- rename HIACA00 Highest_Ed
- recode Highest_Ed (0 = 10) (1/2 = 11) (3/5 = 12) (6 = 13) (7/8 = 14)
- label define Highest_Ed 10 "No education" 11 "Below Ordinary Secondary Education" 12 "Ordinary Secondary Qualifications" 13 "Advanced Level Qualifications" 14 "Postgraduate or Above", modify
- label values Highest_Ed Highest_Ed
- *************************MID-LIFE FACTORS********************************
- //BMI//
- replace BD10MBMI = . if BD10MBMI < 0
- rename BD10MBMI Adult_BMI
- //Smoking//
- replace B10SMOKIG = . if B10SMOKIG < 0
- rename B10SMOKIG Smoking_Status
- //Malaise//
- replace BD10MAL = . if BD10MAL < 0
- rename BD10MAL Malaise
- //Physical Activity//
- merge 1:1 BCSID using "bcs_age46_activpal_avg", keepusing(B10AAMVPAH)
- drop _merge
- replace B10AAMVPAH = . if B10AAMVPAH < 0
- rename B10AAMVPAH Activity
- //Adult SES//
- replace B10NSSECAN = . if B10NSSECAN < 0
- recode B10NSSECAN (1.1 1.2 2 = 1) (3 4 = 2) (5/9 = 3)
- rename B10NSSECAN Adult_SES
- label define Adult_SES 1 "Managers" 2 "Intermediate" 3 "Lower/Technical"
- label values Adult_SES Adult_SES
- ****************************EXPOSURES***********************************
- //Age 10 Blood Pressure//
- rename BCSID bcsid
- merge 1:1 bcsid using "sn3723", keepusing(meb20_1 meb20_2)
- drop _merge
- replace meb20_1 = . if meb20_1 < 0
- replace meb20_2 = . if meb20_2 < 0
- rename meb20_1 Ten_Systolic
- rename meb20_2 Ten_Diastolic
- //Age 16 Blood Pressure//
- merge 1:1 bcsid using "bcs7016x.dta", keepusing(rd5_1 rd5_2)
- drop _merge
- replace rd5_1 = . if rd5_1 < 0
- replace rd5_2 = . if rd5_2 < 0
- rename rd5_1 Sixteen_Systolic
- rename rd5_2 Sixteen_Diastolic
- //Age 46 Blood Pressure//
- replace B10BPSYSR2 = . if B10BPSYSR2 < 0
- rename B10BPSYSR2 Second_Adult_Systolic
- replace B10BPSYSR3 = . if B10BPSYSR3 < 0
- rename B10BPSYSR3 Third_Adult_Systolic
- replace B10BPDIAR2 = . if B10BPDIAR2 < 0
- rename B10BPDIAR2 Second_Adult_Diastolic
- replace B10BPDIAR3 = . if B10BPDIAR3 < 0
- rename B10BPDIAR3 Third_Adult_Diastolic
- gen Adult_Systolic = (Second_Adult_Systolic + Third_Adult_Systolic)/2
- gen Adult_Diastolic = (Second_Adult_Diastolic + Third_Adult_Diastolic)/2
- ****************************OUTCOMES***********************************
- //Immediate and Delayed Recall//
- replace B10CFLISN = . if B10CFLISN < 0
- rename B10CFLISN Imm_Recall
- replace B10CFLISD = . if B10CFLISD < 0
- rename B10CFLISD Delay_Recall
- //Processing Speed//
- replace B10CFRC = . if B10CFRC < 0
- rename B10CFRC Speed_Score
- //Verbal Fluency//
- replace B10CFANI = . if B10CFANI < 0
- rename B10CFANI Verbal_Fluency
- //Overall Cognition//
- pca Imm_Recall Delay_Recall Verbal_Fluency Speed_Score
- predict final_cog, score
- drop if final_cog ==.
- //Z-Score Variables of Interest//
- zscore Ten_Systolic Ten_Diastolic Sixteen_Systolic Sixteen_Diastolic Adult_Systolic Adult_Diastolic Imm_Recall Delay_Recall Speed_Score Verbal_Fluency
- save "cleaned dataset.dta", replace
- ***********************************************************************DESCRIPTIVES****************************************************************
- use "cleaned dataset.dta", clear
- sum age BW Overcrowding cog_g_10 Adult_BMI Malaise Activity Ten_Systolic Ten_Diastolic Sixteen_Systolic Sixteen_Diastolic Adult_Systolic Adult_Diastolic final_cog Imm_Recall Delay_Recall Verbal_Fluency Speed_Score tab1 sex SES Highest_Ed Smoking_Status Adult_SES
- *************************************************************************IMPUTE********************************************************************
- mi set wide
- mi register regular age sex z_Imm_Recall z_Delay_Recall z_Speed_Score z_Verbal_Fluency final_cog Smoking_Status
- mi register imputed z_Ten_Systolic z_Ten_Diastolic z_Sixteen_Systolic z_Sixteen_Diastolic z_Adult_Systolic z_Adult_Diastolic ethnic BW SES Overcrowding cog_g_10 Highest_Ed Activity Adult_SES Malaise Adult_BMI
- mi impute chained (regress) z_Ten_Systolic z_Ten_Diastolic z_Sixteen_Systolic z_Sixteen_Diastolic z_Adult_Systolic z_Adult_Diastolic BW cog_g_10 Overcrowding Activity Malaise Adult_BMI (logit) ethnic (ologit) Adult_SES SES Highest_Ed = age sex z_Imm_Recall z_Delay_Recall z_Speed_Score z_Verbal_Fluency final_cog Smoking_Status, add(50) rseed(54321) dots
- **********************************************************************PERFORM ANALYSES*************************************************************
- vl create exposures = (z_Ten_Systolic z_Ten_Diastolic z_Sixteen_Systolic z_Sixteen_Diastolic z_Adult_Systolic z_Adult_Diastolic)
- vl create outcomes = (final_cog z_Imm_Recall z_Delay_Recall z_Verbal_Fluency z_Speed_Score)
- foreach outcome of varlist $outcomes {
- foreach exposure of varlist $exposures {
- mi estimate: regress `outcome' `exposure' age i.sex i.ethnic
- mi estimate: regress `outcome' `exposure' age i.sex i.ethnic cog_g_10 i.SES Overcrowding
- mi estimate: regress `outcome' `exposure' age i.sex i.ethnic cog_g_10 SES Overcrowding i.Highest_Ed Adult_BMI i.Smoking_Status i.Adult_SES Activity Malaise
- }
- }
- log close
BCS70 Cognitive Analyses.do at commit 7c73e0c, no license · at the source
Overview
- Department of Population Science and Experimental Medicine, Institute of Cardiovascular Science, University College London, London WC1E 7HB, UK
- Departments of Psychology and Neuroscience, and Psychiatry and Behavioral Sciences, Duke University, Durham, NC 27708, USA
- Dunedin Multidisciplinary Health and Development Research Unit, University of Otago, Dunedin 9016, New Zealand
- MRC Social, Genetic, and Developmental Psychiatry Centre, Institute of Psychology, Psychiatry, and Neuroscience, King’s College London, London SE5 8AF, UK
Abstract
Elevated blood pressure (BP) in midlife is a well-established risk factor for impaired brain health and cognitive ability in old age. We hypothesized that exposure to elevated BP within the first five decades of life may contribute to this risk through impacts on brain health and/
Reproduced under the paper's license (CC BY), from the paper cited above.
Repository
Its files are read in the Code ↔ Paper reader above.
scottchiesa/early-life-bp-cog-brain
7c73e0cdcf92bfddd937ae971a067debf66fd748, 20 April 2026Availability: 1 check, the latest on 28 September 2026: the link answers
- 28 September 2026: the link answers
3 files
- BCS70 Cognitive Analyses.do, Stata, 215 lines
- ChiesaBP_Jan2026.sas, SAS, 918 lines
- README.md, Text, 21 lines
The paper's code and data availability statement is in the Data section.
Tracing map
Proposed by the machine: these links were found in the paper and verified at the source, without human review. The map will receive a Zenodo DOI once one of the paper's authors has validated it with their ORCID.
What the map holds:
- 1 repository of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
- 2 scripts, each with its path and the digest of its content;
- no match between paragraphs and code yet;
- neither the text of the paper nor the code itself.
Its JSON (tracing-map.json) is deposited on Zenodo with its DOI once the map is validated.
Data
Datasets cited
- dunedinstudy.otago.ac.nz
, at dunedinstudy.otago.ac.nz; found in “Data availability” - ukdataservice.ac.uk, at ukdataservice.ac.uk; found in “Data availability”
Data availability
Details on accessing data from The Dunedin Study can be found in the Policy Statement and Code of Practice document available at https://
Reproduced under the paper's license (CC BY), from the paper cited above.
Versions
The history of this record: each version stored by the harvester or made by a correction of its authors or of the maintainers of its code, and what changed in its facts. The texts of the paper (its abstract, its availability statements) are not part of it; versions that changed only those are not listed.
Version 1, 28 September 2026: the first record
Recorded: type, language, journal, volume, issue, pages, dates, 9 authors, 5 keywords, 9 funders, 40 references.
Cite
This paper
Mugoba, M., Houts, R. M., Knodt, A. R., Theodore, R. F., Poulton, R., Hariri, A. R., Caspi, A., Moffitt, T. E., & Chiesa, S. T. (2026). Early-life blood pressure and midlife brain and cognitive health: tests in two birth cohorts. Brain communications, 8(3), fcag172. https://
BibTeX
@article{mugoba2026early
author = {Mugoba, Mayibongwe and Houts, Renate M and Knodt, Annchen R and Theodore, Reremoana F and Poulton, Richie and Hariri, Ahmad R and Caspi, Avshalom and Moffitt, Terrie E and Chiesa, Scott T},
title = {{Early-life blood pressure and midlife brain and cognitive health: tests in two birth cohorts}},
journal = {Brain communications},
year = {2026},
month = may,
volume = {8},
number = {3},
pages = {fcag172},
publisher = {Oxford University Press},
issn = {2632-1297},
doi = {10.1093/
url = {https://
pmid = {42221574},
pmcid = {PMC13218384}
}
RIS
TY - JOUR
AU - Mugoba, Mayibongwe
AU - Houts, Renate M
AU - Knodt, Annchen R
AU - Theodore, Reremoana F
AU - Poulton, Richie
AU - Hariri, Ahmad R
AU - Caspi, Avshalom
AU - Moffitt, Terrie E
AU - Chiesa, Scott T
TI - Early-life blood pressure and midlife brain and cognitive health: tests in two birth cohorts
T2 - Brain communications
J2 - Brain Commun
PY - 2026
DA - 2026/
VL - 8
IS - 3
SP - fcag172
SN - 2632-1297
PB - Oxford University Press
DO - 10.1093/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1093/
"type": "article-journal",
"title": "Early-life blood pressure and midlife brain and cognitive health: tests in two birth cohorts",
"container-title": "Brain communications",
"author": [
{
"family": "Mugoba",
"given": "Mayibongwe"
},
{
"family": "Houts",
"given": "Renate M"
},
{
"family": "Knodt",
"given": "Annchen R"
},
{
"family": "Theodore",
"given": "Reremoana F"
},
{
"family": "Poulton",
"given": "Richie"
},
{
"family": "Hariri",
"given": "Ahmad R"
},
{
"family": "Caspi",
"given": "Avshalom"
},
{
"family": "Moffitt",
"given": "Terrie E"
},
{
"family": "Chiesa",
"given": "Scott T"
}
],
"container-title-short":
"volume": "8",
"issue": "3",
"page": "fcag172",
"DOI": "10.1093/
"PMID": "42221574",
"PMCID": "PMC13218384",
"ISSN": "2632-1297",
"publisher": "Oxford University Press",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
5,
13
]
]
}
}
The tracing map gets a citation of its own once an author has validated it and it has a DOI.
Similar papers
The papers with a page that share the most with this one: the tools found in their code, their categories, datasets, cited references and authors, the rarest counting most.
- [1] doi:10.3390/ijms27114756
- Multi-Omics Integration and Causal Inference Identify HSD17B1 as a Potential Nobiletin Target Linking Neurosteroid Metabolism to Alzheimer's Disease.Journal: International journal of molecular sciencesIn common: 4 references
- [2] doi:10.1002/14651858.cd016297
- Amyloid-beta-targeting monoclonal antibodies for people with mild cognitive impairment or mild dementia due to Alzheimer's disease.Journal: The Cochrane database of systematic reviewsIn common: 4 references
- [3] doi:10.1186/s13195-026-02074-9
- Metabolic parameter variability, brain structure, perfusion, and cognition: a population-based study.Journal: Alzheimer's research & therapyIn common: 3 references
- [4] doi:10.1002/alz.71711 [code]
- Exploring longitudinal relationships among Alzheimer's disease biomarkers.Journal: Alzheimer's & dementia : the journal of the Alzheimer's AssociationIn common: 3 references
- [5] doi:10.1002/hbm.70508 [code]
- Cyclic 2.5D Perceptual Loss for Cross-Modal 3D Medical Image Synthesis: T1w MRI to Tau PET.Journal: Human brain mappingIn common: 3 references
- [6] doi:10.3389/fnut.2026.1837406 [code]
- MIND diet moderates the associations between cerebrovascular and neurodegenerative disease burden and cognition.Journal: Frontiers in nutritionIn common: 3 references
- [7] doi:10.1002/hbm.70627 [code]
- Investigating the Contribution of Molecular-Enriched Functional Connectivity to Brain-Age Analysis.Journal: Human brain mappingIn common: 2 references
- [8] doi:10.64898/2026.05.06.26352540 [code]
- Generating synthetic tau-PET scans in Alzheimer’s disease from MRI, blood biomarkers and demographics with deep learningJournal: medRxiv (preprint)In common: 2 references
- [9] doi:10.3389/fnagi.2026.1931183 [code]
- A validated workflow for paired total and small RNA sequencing from low-input submandibular gland biopsy specimens in &
lt;i& gt;de novo& lt;/ i& gt; Parkinson's disease patients. Journal: Frontiers in aging neuroscienceIn common: 2 references - [10] doi:10.1016/j.isci.2026.117250
- Comparative effectiveness of multiple interventions for Alzheimer's disease on ABC syndromes and QoL: A Bayesian network meta-analysis.Journal: iScienceIn common: 2 references
Contribute
The authors of this paper can claim it, correct its record and validate its tracing map, and the maintainers of its code (its owner, or a public member of its organization) correct what it says of their repository; anyone signed in can ask for its removal. Every request goes to OSCR's own machine, which answers it; your account page follows them.
Sign in with ORCID to claim this paper as one of its authors, correct its record or validate its tracing map: when the paper's metadata lists your ORCID iD, you are recognized at once. Maintainers of its code: sign in with GitHub, then claim the repository on your account page.
Claim this paper
Correct its record
Say what each link of this record is, remove the ones that are not the paper's, add the ones that are missing. The correction becomes a new version of the record, in its Versions section.
Validate its tracing map
You validate the map as this page shows it: 1 repository of the authors' code, each at its verified commit and with its license, 2 scripts, and 0 matches between paragraphs and code (see the Code and Map sections). It then receives a DOI on Zenodo, with you (your ORCID iD) and OSCR as its creators; the code itself is not deposited.
The map's fingerprint: sha256:a064b488ab6c19f5…
Add the badge to its README
The badge links the code to this page. Copy one of these into the README of the paper's code: only you decide where it goes, and nothing is changed for you.
Markdown
[, paste the snippet at the top, then “Commit changes…” and, to review it first, “Create a new branch and start a pull request”. You open the pull request; OSCR asks for no permission.
Request its removal
To ask OSCR to remove this record, the copies of its authors' scripts or its tracing map, use the removal request page: signed in, you say who you are, what to remove and why, then review and confirm the request. Published rules decide every request (how).
Discussion, reproductions, activity
Discussion: questions and error reports about this paper and its code, from signed-in readers and its authors. It opens with sign-in.
Reproductions: reports from readers who ran the authors' code: what they reproduced, with which environment, commit and data. It opens with sign-in.
Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.
