Physical-Digital and social-nonsocial extracurricular engagement: differential effects on brain development and psychological outcomes in children.
3 blocks of code here have a permanent identifier (oscr:b:…), listed with the matches below: citable for good, with a page of its own. Select a match and press Cite to copy it. What a block identifier is.
The 3 matches
- [1] § Methods › Statistical analyses ↔ code/01_lmm.R, lines 140 to 200 · score 0.71 · linear mixed, lme4, family income, LMMs, race, BMI · block
oscr:b:FQYEQNXX03ZRE-W· Report a mismatch - [2] § Methods › Statistical analyses ↔ code/03_clpm.R, lines 1 to 41 · score 0.62 · model fit, cross lagged, lavaan, temporal, CLPMs, covariates · block
oscr:b:98QH62593JZC9-C· Report a mismatch - [3] § Methods › Statistical analyses ↔ code/03_clpm.R, lines 43 to 117 · score 0.52 · cross lagged, predicting, lavaan, CLPMs, BMI, education · block
oscr:b:4J6HHS2T10KKT-8· Report a mismatch
Paper
Loaded from Europe PMC by your browser; OSCR does not store it: 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.1038/s41467-023-38972-x [code]
- Hierarchical fluctuation shapes a dynamic flow linked to states of consciousness.Journal: Nature communicationsIn common: pandas, 2 authors
- [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.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
- [4] doi:10.1038/s41398-024-03200-7 [code]
- Disorder-specific neurodynamic features in schizophrenia inferred by neurodynamic embedded contrastive variational autoencoder model.Journal: Translational psychiatryIn common: pandas, 2 authors
- [5] 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
- [6] doi:10.7554/elife.105537 [code]
- Relationship between cognitive abilities and mental health as represented by cognitive abilities at the neural and genetic levels of analysis.Journal: eLifeIn common: lavaan, lme4, tidyverse, structural MRI / diffusion, 5 references
- [7] doi:10.1016/j.dcn.2022.101172 [code]
- Reward sensitivity and internalizing symptoms during the transition to puberty: An examination of 9-and 10-year-olds in the ABCD Study.Journal: Developmental cognitive neuroscienceIn common: lme4, tidyverse, 6 references
- [8] doi:10.1186/s12916-024-03784-3 [code]
- Hierarchical individual variation and socioeconomic impact on personalized functional network topography in children.Journal: BMC medicineIn common: Pingouin, statsmodels, tidyverse, 1 other tool, 4 references
- [9] doi:10.1038/s41398-022-02301-5 [code]
- Neuroanatomical correlates of genetic risk for obesity in children.Journal: Translational psychiatryIn common: lavaan, lme4, tidyverse, 5 references
- [10] 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
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:b8e18dbf9ac4f8b0…
Add the badge to the code's README
If you are an author or a maintainer of this paper's code, you can add this badge. It says what OSCR knows of the paper (its code, its validated tracing map) and links the code to this page. Paste one of these snippets under the README's title. Keep the two marks around it, so that the badge can be replaced in place and is never added twice. OSCR changes nothing in your repository.
Markdown
<!-- oscr-badge:start -->
[](https://openscicode.org/badge/doi/10.1038/s41398-026-04045-y)
<!-- oscr-badge:end -->reStructuredText
.. oscr-badge:start
.. image:: https://openscicode.org/badge/doi/10.1038/s41398-026-04045-y.svg
:target: https://openscicode.org/badge/doi/10.1038/s41398-026-04045-y
:alt: OSCR
.. oscr-badge:endHTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1038/s41398-026-04045-y"><img src="https://openscicode.org/badge/doi/10.1038/s41398-026-04045-y.svg" alt="OSCR"></a>
<!-- oscr-badge:end -->On GitHub, open the README, choose Edit (the pencil), paste the snippet under the title, then "Commit changes".
If you choose to, you can have the badge kept up to date for you, with oscr badge --write from the command line or with the GitHub Action in your repository's workflows. Every other form and option (a card, AsciiDoc, LaTeX, shields.io) is on the badge page.
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: code errors and mismatches between the code and the paper about this paper and its code, from readers and its authors, beside the paper and its tracing map.
Report a mismatch between the code and the paper · Report a code error (signed in)
Reproductions: reports from readers who ran the authors' code and did not get the paper's result, what they ran, with which environment, commit and data.
Report a reproduction failure (signed in)
Versions of its code: the releases of its code tied to a version of this paper (the preprint, the accepted manuscript, the version of record…), each with the tracing map versioned with it.
Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.
