Physical-Digital and social-nonsocial extracurricular engagement: differential effects on brain development and psychological outcomes in children.
The 3 matches
- [1] § Methods › Statistical analyses ↔ code/01_lmm.R, lines 140–200 · score 0.71 · linear mixed, lme4, family income, LMMs, race, BMI
- [2] § Methods › Statistical analyses ↔ code/03_clpm.R, lines 1–41 · score 0.62 · model fit, cross lagged, lavaan, temporal, CLPMs, covariates
- [3] § Methods › Statistical analyses ↔ code/03_clpm.R, lines 43–117 · score 0.52 · cross lagged, predicting, lavaan, CLPMs, BMI, education
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 · 117 lines · 4.5 KB · no license · 2 matches
- # ======================================================================
- # Purpose:
- # This script performs cross-lagged panel modeling (CLPM) using lavaan
- # to follow up on significant activity–CBCL associations (Pfdr<0.05) identified via LMM.
- #
- # For each activity–CBCL pair found to be significant in LMM results,
- # this script loads corresponding input data and fits a CLPM model to
- # examine temporal directional effects between activity and CBCL scores
- # across two timepoints, adjusting for baseline covariates.
- #
- # Output includes:
- # - Standardized path estimates with Bonferroni/FDR-adjusted p-values
- # - Model fit indices
- # - Formatted HTML tables for reporting
- # ======================================================================
- # -----------------------------
- # Setup
- # -----------------------------
- library(lavaan)
- library(kableExtra)
- library(dplyr)
- # -----------------------------
- # Locate all input CLPM data
- # -----------------------------
- clpm_datapath_list <- list.files(
- path = "/Users/tianx/Documents/academic/Projects/ABCD_lifestyle/activity_cbcl_recheck/CLPM_physical28/results/clpm_results",
- pattern = "input_data.csv",
- recursive = TRUE,
- full.names = TRUE
- )
- # -----------------------------
- # Start loop
- # -----------------------------
- for (file_path in clpm_datapath_list) {
- cat("\n Processing:", file_path, "\n")
- tryCatch({
- # -----------------------------
- # Parse variable names from path
- # -----------------------------
- path_parts <- strsplit(file_path, "/")[[1]]
- x_var <- path_parts[length(path_parts) - 2]
- last_folder <- path_parts[length(path_parts) - 1]
- last_parts <- strsplit(last_folder, "-")[[1]]
- y_var <- last_parts[1]
- timepoint1 <- last_parts[2]
- timepoint2 <- last_parts[3]
- # -----------------------------
- # Read data and construct model
- # -----------------------------
- df_clpm_input <- read.csv(file_path)
- cv_list <- c("sex", "age", "family_income", "education", "zBMI", "puberty", "race", "site")
- cv_list_time1 <- paste0(cv_list, "_", timepoint1)
- cv_list_time2 <- paste0(cv_list, "_", timepoint2)
- model_desc <- paste0("
- # Cross-lagged paths
- ", x_var, "_", timepoint2, " ~ ", x_var, "_", timepoint1, " + ", y_var, "_", timepoint1, "
- ", y_var, "_", timepoint2, " ~ ", y_var, "_", timepoint1, " + ", x_var, "_", timepoint1, "
- # Covariances
- ", x_var, "_", timepoint1, " ~~ ", y_var, "_", timepoint1, "
- ", x_var, "_", timepoint2, " ~~ ", y_var, "_", timepoint2, "
- # Covariates for t1 variables
- ", x_var, "_", timepoint1, " ~ ", paste(cv_list_time1, collapse = " + "), "
- ", y_var, "_", timepoint1, " ~ ", paste(cv_list_time1, collapse = " + "), "
- # Covariates for t2 variables
- ", x_var, "_", timepoint2, " ~ ", paste(cv_list_time2, collapse = " + "), "
- ", y_var, "_", timepoint2, " ~ ", paste(cv_list_time2, collapse = " + "), "
- ")
- # -----------------------------
- # Run lavaan model
- # -----------------------------
- fit <- sem(model_desc, data = df_clpm_input, missing = "ML")
- fit_summary <- summary(fit, fit.measures = TRUE, standardized = TRUE)
- # -----------------------------
- # Save parameter results
- # -----------------------------
- path_results <- standardizedSolution(fit)
- path_results$p_adjusted_bonferroni <- p.adjust(path_results$pvalue, method = "bonferroni")
- path_results$p_adjusted_fdr <- p.adjust(path_results$pvalue, method = "fdr")
- write.csv(path_results, file.path(dirname(file_path), "lavaan_clpm_results.csv"), row.names = FALSE)
- fit_stats <- as.data.frame(fitMeasures(fit), stringsAsFactors = FALSE)
- write.csv(fit_stats, file.path(dirname(file_path), "lavaan_clpm_fit_eva.csv"), row.names = TRUE)
- # -----------------------------
- # Save HTML table for paths
- # -----------------------------
- path_results_display <- path_results %>%
- filter(op == "~") %>%
- select(lhs, rhs, est.std, pvalue, p_adjusted_bonferroni, p_adjusted_fdr)
- html_table <- path_results_display %>%
- kable(format = "html",
- col.names = c("Dependent", "Predictor", "Standardized β", "p-value",
- "Bonferroni-adjusted", "FDR-adjusted")) %>%
- kable_styling(bootstrap_options = c("striped", "hover", "condensed"), full_width = FALSE)
- save_kable(html_table, file = file.path(dirname(file_path), "path_results_display.html"))
- }, error = function(e) {
- message("Error in file: ", file_path)
- message(" → ", e$message)
- })
- }
03_clpm.R at commit 4eb54cb, no license · at the source
Overview
- State Key Laboratory of Cognitive Neuroscience and Learning, Beijing Normal University,Beijing, 100091 China
- Brainnetome Center and National Laboratory of Pattern Recognition, Institute of Automation, Chinese Academy of Sciences,Beijing, 100190 China
- State Key Laboratory of Cognitive Science and Mental Health, Institute of Biophysics, Chinese Academy of Sciences,Beijing, 100101 China
- IDG/McGovern Institute for Brain Research, Beijing Normal University,Beijing, 100091 China
- Chinese Institute for Brain Research,Beijing, 102206 China
Abstract
The abstract is not reproduced here: the paper's license (CC BY-NC-ND) does not allow it. Read it in the paper, at the publisher or on Europe PMC.
Repository
Its files are read in the Code ↔ Paper reader above, with 3 matches between paragraphs and lines of code.
linktianx/DualAxisEngagement
4eb54cbb61f2478850e688564c99b901cb019372, 24 April 2025Availability: 1 check, the latest on 29 September 2026: the link answers
- 29 September 2026: the link answers
5 files
- code/
01_lmm.R , R, 200 lines, 1 match - code/
02_diag_ttest.py , Python, 150 lines - code/
03_clpm.R , R, 117 lines, 2 matches - code/
04_med.R , R, 125 lines - README.md, Text, 26 lines
Code availability statement
The paper has a code availability statement. Its license (CC BY-NC-ND) does not allow reproducing it here; in short, from what the harvester recognized in it:
- it points to the authors' code: linktianx/
DualAxisEngagement
Read it in the paper: doi.org/10.1038/s41398-026-04045-y.
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;
- 4 scripts, each with its path and the digest of its content;
- 3 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
No dataset and no data link were found in the paper.
Data availability statement
The paper has a data availability statement. Its license (CC BY-NC-ND) does not allow reproducing it here; in short, from what the harvester recognized in it:
- no repository, dataset or request procedure was recognized in it
Read it in the paper: doi.org/10.1038/s41398-026-04045-y.
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, 10 authors, 3 keywords, 14 MeSH terms, 3 funders, 88 references.
Cite
This paper
Tian, X., Yang, R., Lou, J., Sun, Y., Wang, M., Wang, Q., Lei, W., Li, A., Zhang, Z., & Liu, B. (2026). Physical-Digital and social-nonsocial extracurricular engagement: differential effects on brain development and psychological outcomes in children. Translational psychiatry, 16(1), 285. https://
BibTeX
@article{tian2026physica
author = {Tian, Xiaohan and Yang, Ruoxin and Lou, Jing and Sun, Yuqing and Wang, Meng and Wang, Qi and Lei, Wenkun and Li, Ang and Zhang, Zhanjun and Liu, Bing},
title = {{Physical-Digital and social-nonsocial extracurricular engagement: differential effects on brain development and psychological outcomes in children}},
journal = {Translational psychiatry},
year = {2026},
month = apr,
volume = {16},
number = {1},
pages = {285},
publisher = {Nature Publishing Group},
issn = {2158-3188},
doi = {10.1038/
url = {https://
pmid = {41991511},
pmcid = {PMC13216275}
}
RIS
TY - JOUR
AU - Tian, Xiaohan
AU - Yang, Ruoxin
AU - Lou, Jing
AU - Sun, Yuqing
AU - Wang, Meng
AU - Wang, Qi
AU - Lei, Wenkun
AU - Li, Ang
AU - Zhang, Zhanjun
AU - Liu, Bing
TI - Physical-Digital and social-nonsocial extracurricular engagement: differential effects on brain development and psychological outcomes in children
T2 - Translational psychiatry
J2 - Transl Psychiatry
PY - 2026
DA - 2026/
VL - 16
IS - 1
SP - 285
SN - 2158-3188
PB - Nature Publishing Group
DO - 10.1038/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1038/
"type": "article-journal",
"title": "Physical-Digital and social-nonsocial extracurricular engagement: differential effects on brain development and psychological outcomes in children",
"container-title": "Translational psychiatry",
"author": [
{
"family": "Tian",
"given": "Xiaohan"
},
{
"family": "Yang",
"given": "Ruoxin"
},
{
"family": "Lou",
"given": "Jing"
},
{
"family": "Sun",
"given": "Yuqing"
},
{
"family": "Wang",
"given": "Meng"
},
{
"family": "Wang",
"given": "Qi"
},
{
"family": "Lei",
"given": "Wenkun"
},
{
"family": "Li",
"given": "Ang"
},
{
"family": "Zhang",
"given": "Zhanjun"
},
{
"family": "Liu",
"given": "Bing"
}
],
"container-title-short":
"volume": "16",
"issue": "1",
"page": "285",
"DOI": "10.1038/
"PMID": "41991511",
"PMCID": "PMC13216275",
"ISSN": "2158-3188",
"publisher": "Nature Publishing Group",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
4,
16
]
]
}
}
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.1093/cercor/bhag034 [code]
- Individual differences in adolescent cortical development are associated with neighborhood characteristics: Longitudinal findings from the ABCD study.Journal: Cerebral cortex (New York, N.Y. : 1991)In common: lavaan, tidyverse, structural MRI / diffusion, 6 references
- [2] doi:10.7554/elife.109461 [code]
- The effect of physical activity on brain structure and cognitive function in the population-based cohort of LIFE-Adult Study.Journal: eLifeIn common: lavaan, tidyverse, structural MRI / diffusion, 5 references
- [3] doi:10.1038/s41398-026-04081-8 [code]
- Functional system-specific brain aging across the Alzheimer's disease continuum.Journal: Translational psychiatryIn common: Pingouin, statsmodels, tidyverse, 1 other tool, structural MRI / diffusion, author Zhanjun Zhang
- [4] doi:10.1162/imag.a.1325 [code]
- Decoding everyday levels of musical training from subcortical white-matter architecture.Journal: Imaging neuroscience (Cambridge, Mass.)In common: lavaan, broom, statsmodels, 2 other tools, structural MRI / diffusion, 2 references
- [5] doi:10.1016/j.ynirp.2026.100366 [code]
- Lower resting-state functional connectivity between frontoparietal and sensory networks is associated with recent pain intensity in a community sample of youth.Journal: Neuroimage. ReportsIn common: broom, lme4, tidyverse, 4 references
- [6] doi:10.1162/imag.a.105 [code]
- Right posterior theta reflects human parahippocampal phase resetting by salient cues during goal-directed navigationJournal: n/aIn common: lavaan, Pingouin, lme4, 3 other tools, 1 reference
- [7] doi:10.1002/jcv2.70135 [code]
- Alterations in resting-state functional connectivity relate to psychopathology trajectories during emerging adolescence.Journal: JCPP advancesIn common: broom, lme4, tidyverse, 4 references
- [8] doi:10.1038/s41398-026-04143-x [code]
- Neighborhood opportunity, white matter, and cognition in a large pediatric neuroimaging study.Journal: Translational psychiatryIn common: statsmodels, tidyverse, pandas, structural MRI / diffusion, 4 references
- [9] doi:10.1038/s42003-026-10131-0 [code]
- Shared genetic architecture between the topology of brain white matter structural connectome and fluid intelligence.Journal: Communications biologyIn common: Pingouin, pandas, structural MRI / diffusion, author Bing Liu
- [10] doi:10.1038/s41467-026-73072-6 [code]
- Mapping the spatiotemporal continuum of structural connectivity development across the human connectome in youth.Journal: Nature communicationsIn common: lme4, statsmodels, tidyverse, 1 other tool, structural MRI / diffusion, 3 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, 4 scripts, and 3 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:ca7c0f3ef711b134…
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.
