Genetic and environmental influences on data missingness in developmental cognitive neuroscience.
The 5 matches
- [1] § Methods › Associations between missingness and other traits ↔ prepdata_missingBT.R, lines 141–186 · score 0.79 · gestational age, parental education, parental age, family income, sex
- [2] § Methods › Twin analysis ↔ bt-missing_univariate.R, lines 255–336 · score 0.68 · fitting nested model, AE model, ACE model, covariance, CI
- [3] § Methods › Twin analysis ↔ univariate liability threshold model.R, lines 206–265 · score 0.65 · AE model, nested model, ACE model, thresholds, CI, fitting
- [4] § Methods › Twin analysis ↔ univariate liability threshold model.R, lines 1–39 · score 0.59 · liability threshold model, univariate liability threshold, variable, Twin
- [5] § Results › Experiment-level missingness ↔ univariate liability threshold model.R, lines 41–79 · score 0.55 · univariate liability threshold, Twin correlations, zero, model, DZ, MZ
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
R · 297 lines · 7.3 KB · no license · 3 matches
- #==========
- # univariate twin analysis
- # used to test liability threshold models for experiment-level missing
- #
- # author: Giorgia Bussu
- # project: BT missing data
- # version: June 2024
- #==========
- rm(list=ls())
- require(OpenMx)
- source('C:/Users/myfolder/twin_modelling/tutorial/miFunctions.R')
- ###############################################################################################################
- ### prepare data:
- ### import and check data
- data <- read.csv(file='twin_bin_sensitivity_data.csv',header=T,
- sep=',')
- names(data);dim(data)
- ### select variable for analysis:
- Vars <- 'fomo_bin'
- nv <- 1
- ntv <- nv*2
- nth <- 1
- (selVars <- paste(Vars,c(rep(1,nv),rep(2,nv)),sep=''))
- ### select subsets for analysis:
- mz <- subset(data,zygosity=='MZ',selVars)
- dz <- subset(data,zygosity=='DZ',selVars)
- # convert the variable to a factor:
- mz <- mxFactor(x=mz[,selVars],levels=c(0:nth))
- dz <- mxFactor(x=dz[,selVars],levels=c(0:nth))
- ##### assumptions testing and twin correlations #####
- ### fit a fully saturated model
- # matrix for the mean, which is fixed to 0:
- expMean <- mxMatrix(type='Zero',nrow=1,ncol=ntv,name='ExpMean')
- # matrices for the thresholds:
- expThreshMZ <- mxMatrix(type='Full',nrow=1,ncol=ntv,free=T,values=1,
- labels=labFull('th_mz',1,ntv),
- name='ExpThreshMZ')
- expThreshDZ <- mxMatrix(type='Full',nrow=1,ncol=ntv,free=T,values=1,
- labels=labFull('th_dz',1,ntv),
- name='ExpThreshDZ')
- # twin correlations:
- expCorMZ <- mxMatrix(type='Stand',nrow=ntv,ncol=ntv,free=T,values=.5,
- label='cor_mz',lbound=-.9999,ubound=.9999,
- name='ExpCorMZ')
- expCorDZ <- mxMatrix(type='Stand',nrow=ntv,ncol=ntv,free=T,values=.5,
- label='cor_dz',lbound=-.9999,ubound=.9999,
- name='ExpCorDZ')
- # specify observed data:
- dataMZ <- mxData(mz,type='raw')
- dataDZ <- mxData(dz,type='raw')
- # specify objectives:
- objMZ <- mxExpectationNormal(covariance='ExpCorMZ',
- means='ExpMean',dimnames=selVars,
- thresholds='ExpThreshMZ')
- objDZ <- mxExpectationNormal(covariance='ExpCorDZ',
- means='ExpMean',dimnames=selVars,
- thresholds='ExpThreshDZ')
- # specify estimation method:
- funcML <- mxFitFunctionML()
- # specify the data groups:
- modelMZ <- mxModel('MZ',expMean,expThreshMZ,expCorMZ,dataMZ,objMZ,
- funcML)
- modelDZ <- mxModel('DZ',expMean,expThreshDZ,expCorDZ,dataDZ,objDZ,
- funcML)
- # combine data groups:
- multi <- mxFitFunctionMultigroup(c('MZ','DZ'))
- # confidence intervals:
- ci <- mxCI(c('MZ.ExpCorMZ','DZ.ExpCorDZ'))
- # combine all model objects:
- SatModel <- mxModel('Sat',modelMZ,modelDZ,ci,multi)
- # fit the model:
- SatFit <- mxTryHardOrdinal(SatModel,intervals=T)
- summary(SatFit)
- ### test assumptions
- # assumption 1: equal thresholds within twin pairs:
- SatModel2 <- mxModel(SatFit,name='Sat2')
- SatModel2 <- omxSetParameters(SatModel2,labels=labFull('th_mz',nth,ntv),
- free=T,values=1,newlabel='th_mz')
- SatModel2 <- omxSetParameters(SatModel2,labels=labFull('th_dz',nth,ntv),
- free=T,values=1,newlabel='th_dz')
- SatFit2 <- mxTryHardOrdinal(SatModel2,intervals=T)
- summary(SatFit2)
- # assumption 2:
- SatModel3 <- mxModel(SatFit2,name='Sat3')
- SatModel3 <- omxSetParameters(SatModel3,labels=c('th_mz','th_dz'),free=T,
- values=1,newlabel='th')
- SatFit3 <- mxTryHardOrdinal(SatModel3,intervals=T)
- summary(SatFit3)
- # compare the fit of the models:
- mxCompare(SatFit,c(SatFit2,SatFit3))
- # significance correlations
- # assumption 2:
- SatModel_corr <- mxModel(SatFit3,name='SatCorr')
- SatModel_corr <- omxSetParameters(SatModel_corr,labels=c('cor_dz'),free=F,
- values=0)
- SatFit_corr <- mxTryHardOrdinal(SatModel_corr,intervals=T)
- summary(SatFit_corr)
- mxCompare(SatFit3,SatFit_corr)
- ##### ACE model #####
- ### full ACE model
- # path coefficients:
- pathA <- mxMatrix(type='Full',nrow=nv,ncol=nv,free=T,values=1,label='a_1_1',
- name='a')
- pathC <- mxMatrix(type='Full',nrow=nv,ncol=nv,free=T,values=1,label='c_1_1',
- name='c')
- pathE <- mxMatrix(type='Full',nrow=nv,ncol=nv,free=T,values=1,label='e_1_1',
- name='e')
- # calculate variance components:
- varA <- mxAlgebra(a^2,name='A')
- varC <- mxAlgebra(c^2,name='C')
- varE <- mxAlgebra(e^2,name='E')
- # calculate the total variance:
- varP <- mxAlgebra(A+C+E,name='V')
- # constrain the total variance to equal 1:
- matU <- mxMatrix(type='Unit',nrow=nv,ncol=nv,name='U')
- varConst <- mxConstraint(V==U,name='VarConst')
- # mean:
- expMean <- mxMatrix(type='Zero',nrow=1,ncol=ntv,name='ExpMean')
- # threshold:
- expThresh <- mxMatrix(type='Full',nrow=nth,ncol=ntv,free=T,values=1,label='th',
- name='ExpThresh')
- # variance/covariance:
- expCovMZ <- mxAlgebra(rbind(cbind(V,A+C),
- cbind(A+C,V)),name='ExpCovMZ')
- expCovDZ <- mxAlgebra(rbind(cbind(V,0.5%x%A+C),
- cbind(0.5%x%A+C,V)),name='ExpCovDZ')
- # convert the variance components to proportions:
- estVC <- mxAlgebra(cbind(A/V,C/V,E/V),name='EstVC')
- # observed data:
- dataMZ <- mxData(mz,type='raw')
- dataDZ <- mxData(dz,type='raw')
- # objectives:
- objMZ <- mxExpectationNormal(covariance='ExpCovMZ',means='ExpMean',dimnames=selVars,
- thresholds='ExpThresh')
- objDZ <- mxExpectationNormal(covariance='ExpCovDZ',means='ExpMean',dimnames=selVars,
- thresholds='ExpThresh')
- funcML <- mxFitFunctionML()
- # specify data groups:
- pars <- list(pathA,pathC,pathE,varA,varC,varE,varP,matU,expMean,expThresh)
- modelMZ <- mxModel('MZ',pars,varConst,expCovMZ,estVC,dataMZ,objMZ,funcML)
- modelDZ <- mxModel('DZ',pars,varConst,expCovDZ,estVC,dataDZ,objDZ,funcML)
- # combine data groups:
- multi <- mxFitFunctionMultigroup(c('MZ','DZ'))
- # confidence intervals:
- ci <- mxCI(c('MZ.EstVC'))
- # combine all model objects:
- ModelACE <- mxModel('ACE',modelMZ,modelDZ,multi,ci)
- # fit the model:
- FitACE <- mxTryHardOrdinal(ModelACE,intervals=T)
- summary(FitACE)
- # compare fit to the saturated model:
- mxCompare(SatFit,FitACE)
- ### nested models:
- # AE model:
- ModelAE <- mxModel(FitACE,name='AE')
- ModelAE <- omxSetParameters(ModelAE,label='c_1_1',free=F,values=0)
- FitAE <- mxTryHardOrdinal(ModelAE,intervals=T)
- aefit<-summary(FitAE)
- # CE model:
- ModelCE <- mxModel(FitACE,name='CE')
- ModelCE <- omxSetParameters(ModelCE,label='a_1_1',free=F,values=0)
- FitCE <- mxTryHardOrdinal(ModelCE,intervals=T)
- cefit<-summary(FitCE)
- # E model:
- ModelE <- mxModel(FitACE,name='E')
- ModelE <- omxSetParameters(ModelE,labels=c('a_1_1','c_1_1'),free=F,values=0)
- FitE <- mxTryHardOrdinal(ModelE,intervals=T)
- summary(FitE)
- # compare fit with the ACE model:
- mxCompare(FitACE,c(FitAE,FitCE,FitE))
- # AC for p purposes
- ModelAC <- mxModel(FitACE,name='AC')
- ModelAC <- omxSetParameters(ModelAC,label='e_1_1',free=F,values=0)
- FitAC <- mxTryHardOrdinal(ModelAC,intervals=T)
- summary(FitAC)
univariate liability threshold model.R at commit ad713aa, no license · at the source
Overview
- Development and Neurodiversity Lab, Department of Psychology, Uppsala University, Uppsala, Sweden
- Center of Neurodevelopmental Disorders (KIND), Centre for Psychiatry Research, Department of Women’s and Children’s Health, Karolinska Institutet & Stockholm Health Care Services, Region Stockholm, Stockholm, Sweden
Abstract
Missing data are common in social and clinical sciences and understanding the causes and patterns of missing data is important for selecting analysis approach and for the interpretation of the remaining data. Yet, knowledge about the factors influencing data loss is limited. Here, we assessed the contribution of genes and environments to data missingness across three experiments of infant brain and behavioural development. The sample consisted of 594 infant twins (330 monozygotic, 152 female, 178 male infants; 264 dizygotic, 132 female, 132 male infants) who were assessed with electroencephalography (EEG), pupillometry, and gaze tracking technologies at 5 months of age. Substantial familial factors (additive genetics and/
Reproduced under the paper's license (CC BY), from the paper cited above.
Repositories
Its files are read in the Code ↔ Paper reader above, with 5 matches between paragraphs and lines of code.
OSF rqwvc
Availability: 1 check, the latest on 29 September 2026: the link answers (HTTP 200)
- 29 September 2026: the link answers (HTTP 200)
Zenodo 19333394
Availability: 1 check, the latest on 29 September 2026: the link answers (HTTP 200)
- 29 September 2026: the link answers (HTTP 200)
6 files
- bt-missing_multivariate.
R , R, 562 lines - bt-missing_univariate.R, R, 336 lines
- prepdata_missingBT.R, R, 377 lines
- quest_GEEcheck.R, R, 93 lines
- univariate liability threshold model.R, R, 297 lines
- README.md, Text, 6 lines
brainhabit/bt_missingdata
ad713aa6f528e3b9a01871e817ceb39b355f1d84, 17 October 2024Availability: 1 check, the latest on 29 September 2026: the link answers
- 29 September 2026: the link answers
6 files
- bt-missing_multivariate.
R , R, 562 lines - bt-missing_univariate.R, R, 336 lines, 1 match
- prepdata_missingBT.R, R, 377 lines, 1 match
- quest_GEEcheck.R, R, 93 lines
- univariate liability threshold model.R, R, 297 lines, 3 matches
- README.md, Text, 6 lines
Code availability
The analytic code necessary to attempt to replicate the findings presented here is publicly available at 10.5281/
Reproduced under the paper's license (CC BY), from the paper cited above.
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:
- 3 repositories of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
- 10 scripts, each with its path and the digest of its content;
- 5 matches between paragraphs of the paper and lines of the code (method lexical-v1);
- 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
Data availability
The study used behavioural data and derivates of genetic testing. The data contain pseudonymized personal information as defined by GDPR (EU law) and cannot be openly shared. Access is available through a controlled access procedure for researchers who: (a) demonstrate a legitimate scientific purpose aligned with the original participant consent and ethics approval; (b) obtain approval from their institutional ethics board; (c) have the capacity to ensure GDPR‑compliant secure data handling; and (d) sign a Data Sharing Agreement specifying conditions for use, storage, and destruction of the data. To request access, contact the corresponding author (TFY). The numerical data underlying Fig. 1 are available here: 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, 29 September 2026: the first record
Recorded: type, language, journal, volume, issue, pages, dates, 5 authors, 3 keywords, 3 funders, 35 references.
Cite
This paper
Bussu, G., Portugal, A. M., Viktorsson, C., Hardiansyah, I., & Falck-Ytter, T. (2026). Genetic and environmental influences on data missingness in developmental cognitive neuroscience. Communications psychology, 4(1), 70. https://
BibTeX
@article{bussu2026geneti
author = {Bussu, G and Portugal, A M and Viktorsson, C and Hardiansyah, I and Falck-Ytter, T},
title = {{Genetic and environmental influences on data missingness in developmental cognitive neuroscience}},
journal = {Communications psychology},
year = {2026},
month = apr,
volume = {4},
number = {1},
pages = {70},
publisher = {Nature Publishing Group},
issn = {2731-9121},
doi = {10.1038/
url = {https://
pmid = {42020721},
pmcid = {PMC13102918}
}
RIS
TY - JOUR
AU - Bussu, G
AU - Portugal, A M
AU - Viktorsson, C
AU - Hardiansyah, I
AU - Falck-Ytter, T
TI - Genetic and environmental influences on data missingness in developmental cognitive neuroscience
T2 - Communications psychology
J2 - Commun Psychol
PY - 2026
DA - 2026/
VL - 4
IS - 1
SP - 70
SN - 2731-9121
PB - Nature Publishing Group
DO - 10.1038/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1038/
"type": "article-journal",
"title": "Genetic and environmental influences on data missingness in developmental cognitive neuroscience",
"container-title": "Communications psychology",
"author": [
{
"family": "Bussu",
"given": "G"
},
{
"family": "Portugal",
"given": "A M"
},
{
"family": "Viktorsson",
"given": "C"
},
{
"family": "Hardiansyah",
"given": "I"
},
{
"family": "Falck-Ytter",
"given": "T"
}
],
"container-title-short":
"volume": "4",
"issue": "1",
"page": "70",
"DOI": "10.1038/
"PMID": "42020721",
"PMCID": "PMC13102918",
"ISSN": "2731-9121",
"publisher": "Nature Publishing Group",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
4,
22
]
]
}
}
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.1097/pr9.0000000000001437 [code]
- Electroencephalography during acute painful procedures in neonates: a scoping review.Journal: Pain reportsIn common: ggplot2, tidyverse, developmental, 2 references
- [2] doi:10.1038/s41562-026-02486-5 [code]
- Genome-wide association studies of infant and toddler temperament in European and multi-ancestry populations.Journal: Nature human behaviourIn common: psych, ggplot2, tidyverse, developmental, 1 reference
- [3] doi:10.1038/s43856-026-01510-z [code]
- Mapping genetic convergence across brain structure, mental health, and cardiometabolic disease.Journal: Communications medicineIn common: psych, ggplot2, tidyverse, developmental, 1 reference
- [4] doi:10.1212/wnl.0000000000218164 [code]
- Race and Ethnicity, Hypertension, and Neuroimaging Markers of Brain Aging: A Causal Mediation Analysis in the HABS-HD Study.Journal: NeurologyIn common: psych, ggplot2, tidyverse, 1 reference
- [5] doi:10.1038/s41467-026-73428-y [code]
- Regional heterogeneity in phenotypic and genetic associations between bone and brain in humans.Journal: Nature communicationsIn common: psych, ggplot2, tidyverse, 1 reference
- [6] doi:10.1038/s41467-026-71738-9 [code]
- Genetic landscape of adult executive function reveals a cell-type-specific developmental origin.Journal: Nature communicationsIn common: psych, ggplot2, tidyverse, 1 reference
- [7] doi:10.1016/j.nicl.2026.104053 [code]
- Childhood white matter organization predicts adolescent internalizing problems among youth with and without ADHD.Journal: NeuroImage. ClinicalIn common: psych, ggplot2, tidyverse, developmental
- [8] doi:10.1117/1.nph.13.3.035001 [code]
- Understanding variability in full-term newborns' fNIRS data: the impact of birth weight and gestational age on infants' speech perception abilities.Journal: NeurophotonicsIn common: psych, ggplot2, tidyverse, developmental
- [9] doi:10.1093/cercor/bhag077 [code]
- The longitudinal development of intrinsic timescales in infancy and their relation to alpha brain rhythm.Journal: Cerebral cortex (New York, N.Y. : 1991)In common: psych, ggplot2, tidyverse, developmental
- [10] doi:10.1002/jcv2.70135 [code]
- Alterations in resting-state functional connectivity relate to psychopathology trajectories during emerging adolescence.Journal: JCPP advancesIn common: psych, ggplot2, tidyverse, developmental
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: 3 repositories of the authors' code, each at its verified commit and with its license, 10 scripts, and 5 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:1ff8ae7dad2ee7cc…
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.
