OSCR

Modulations of the P3b effect as a function of bilingual language experience.

Code ↔ Paper

18 matches between paragraphs of the paper and lines of its authors' code, computed by the harvester (lexical-v1). Click a colored paragraph or line to see its counterpart.

14 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 18 matches · 11 of them tie a paragraph to a whole file without given lines: weak matches, whose lines are not tinted
  1. [1] § Method › EEG/ERP processing and analyses ↔ EEG Processing Scripts/BILINGUALISM_P3b_03_1_badchandetectpreICA.m, lines 1 to 101 · score 0.85 · extreme artifacts, bad channels, pre ICA, artifact rejection, buffer, longer · block oscr:b:ESM2NY5BXRFQW-J · Report a mismatch
  2. [2] § Method › Cluster-based permutation test ↔ R Analyses Scripts/Main Analyses Scripts/Modulation_of_the_P3b_MLR_Analysis.R, the whole file · a weak match · score 0.81 · centroparietal cluster, quadratic term, regression model, parental education, P3b amplitude, predict · block oscr:b:SHYJTJX67ZKA6-Y · Report a mismatch
  3. [3] § Method › Electroencephalogram (EEG) recording ↔ EEG Processing Scripts/BILINGUALISM_P3b_07_epoch.m, lines 1 to 33 · score 0.81 · GmbH, StimTrak, Brain Products, Germany, Gilching, delay · block oscr:b:J3WNGRAGFAVSG-3 · Report a mismatch
  4. [4] § Method › Measures ↔ R Analyses Scripts/Exploratory Analyses Scripts/Modulations_of_the_P3b_Exploratory_MLR_with_Other_Factor_Scores.R, the whole file · a weak match · score 0.79 · English proficiency factor, factor score, Exploratory, Composite Score, S4, P3b amplitude · block oscr:b:WT2SEXSY35GG5-M · Report a mismatch
  5. [5] § Method › Cluster-based permutation test ↔ R Analyses Scripts/Main Analyses Scripts/Modulations_of_the_P3b_Cluster_Comparisons.R, the whole file · a weak match · score 0.79 · multiple regression model, bilingual composite score, parental education, S6, P3b amplitude, cluster · block oscr:b:EFH9XMHYCCYFR-Y · Report a mismatch
  6. [6] § Method › EEG/ERP processing and analyses ↔ EEG Processing Scripts/BILINGUALISM_P3b_03_2_preICA.m, the whole file · a weak match · score 0.77 · extreme artifacts, pre ICA, exceeding, buffer, longer, reject · block oscr:b:WNC5K34P97ZY5-K · Report a mismatch
  7. [7] § Method › EEG/ERP processing and analyses ↔ EEG Processing Scripts/BILINGUALISM_P3b_06_b_postICA.m, the whole file · a weak match · score 0.69 · bipolar eye channels, ICLabel, ICA weights, components, Artifact, EEG · block oscr:b:0PV18V91KWVCP-7 · Report a mismatch
  8. [8] § Method › EEG/ERP data quality ↔ EEG Processing Scripts/BILINGUALISM_P3b_8_4_bSME.m, lines 1 to 12 · score 0.68 · bootstrapped standardized measurement, standardized measurement error, bSME, EEG · block oscr:b:N86JHDNXPBZYP-H · Report a mismatch
  9. [9] § Method › EEG/ERP processing and analyses ↔ EEG Processing Scripts/BILINGUALISM_P3b_04_runICA.m, the whole file · a weak match · score 0.68 · bipolar HEOG, scalp channels, VEOG channels, ERP CORE, ICA, pre · block oscr:b:YN2H77BY5MTC7-I · Report a mismatch
  10. [10] § Method › Data analysis ↔ R Analyses Scripts/Main Analyses Scripts/Modulations_of_the_P3b_Cluster_Comparisons.R, the whole file · a weak match · score 0.67 · bilingual composite score, multiple regression, P3b amplitude, cluster, quadratic, models · block oscr:b:EFH9XMHYCCYFR-Y · Report a mismatch
  11. [11] § Method › Measures ↔ R Analyses Scripts/Exploratory Analyses Scripts/Modulations_of_the_P3b_Exploratory_MLR_with_Other_Factor_Scores.R, the whole file · a weak match · score 0.67 · English Proficiency, Factor Score, composite scores, Home, Social, parents · block oscr:b:WT2SEXSY35GG5-M · Report a mismatch
  12. [12] § Method › EEG/ERP processing and analyses ↔ EEG Processing Scripts/BILINGUALISM_P3b_02_preprocess_script.m, lines 1 to 57 · score 0.66 · Bipolar eye channels, 0.1–40 Hz, filter, mastoids, 0.1 Hz, EEGLAB · block oscr:b:D137PVDTC9J8R-R · Report a mismatch
  13. [13] § Method › EEG/ERP processing and analyses ↔ EEG Processing Scripts/BILINGUALISM_P3b_08_2_autoAR.m, lines 129 to 151 · score 0.66 · artifact rejection, ICA corrected, uncorrected, ERP CORE, VEOG, peak · block oscr:b:ZC219A6CASV6A-T · Report a mismatch
  14. [14] § Method › EEG/ERP processing and analyses ↔ EEG Processing Scripts/BILINGUALISM_P3b_07_epoch.m, lines 1 to 33 · score 0.61 · baseline correction, stimulus event, delays, ERP CORE, epoching, 200 ms · block oscr:b:J3WNGRAGFAVSG-3 · Report a mismatch
  15. [15] § Method › EEG/ERP processing and analyses ↔ EEG Processing Scripts/BILINGUALISM_P3b_05_ICLabel.m, the whole file · a weak match · score 0.60 · ICLabel, ICA weights, classified, brain, components, eye · block oscr:b:PCKSYHMC6HPRM-V · Report a mismatch
  16. [16] § Method › Data analysis ↔ R Analyses Scripts/Main Analyses Scripts/Modulation_of_the_P3b_MLR_Analysis.R, the whole file · a weak match · score 0.53 · P3b amplitude, centroparietal, socioeconomic, quadratic, models, RT · block oscr:b:SHYJTJX67ZKA6-Y · Report a mismatch
  17. [17] § Method › Participants ↔ R Analyses Scripts/Exploratory Analyses Scripts/Modulations_of_the_P3b_Behavioral_MLR.R, the whole file · a weak match · score 0.52 · Composite Factor Score, subset, accuracy, SES, childhood, parents · block oscr:b:0VVT7CK5QJGAD-L · Report a mismatch
  18. [18] § Method › ERP time-window mean amplitude measures ↔ EEG Processing Scripts/BILINGUALISM_P3b_8_4_bSME.m, lines 85 to 89 · score 0.52 · 300–600 ms, amplitude scores, waves, 300 ms · block oscr:b:2BTXD28R4SJCW-0 · 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 · 51 lines · 1.9 KB · no license · 2 matches

  1. ##Modulations of the P3b: Multiple Linear Regression Script##
  2. #-----------------------------------------------------------------------
  3. #Author: Rodas De León, N. E.
  4. #Date: January 2026
  5. #Description:
  6. # This script processes the Modulations of the P3b dataset by
  7. # applying exclusion criteria (visual inspection, demographic,
  8. # and behavioral), and running multiple linear regression models
  9. #predicting RT Effect (Rare RT - Frequent RT) and P3b amplitude (Cluster 6)
  10. # from composite factor score (linear and
  11. # quadratic terms) and socioeconomic status (parental education).
  12. library(tidyverse)
  13. library(lm.beta)
  14. finaldataset <- "Modulations_of_the_P3b_Dataset.csv" #load the dataset
  15. df <- read.csv(finaldataset)
  16. df <- subset(df, Visual_Inspection == 0 & DemoExclude == 0 & Behavior_exclude == 0) #apply exclusion criteria
  17. #center and scale the predictors
  18. comp_z <- scale(df$Composite_Factor_Score, scale = TRUE, center = TRUE)
  19. ses_z <- scale(df$HighestParentEduYears, scale = TRUE, center = TRUE)
  20. # Running Model 1:RT Effect ~ Deg of Bilingualism + SES -----------------------------------
  21. RT_effect <- lm(RT_Effect ~ comp_z + I(comp_z^2) + ses_z, data = df)
  22. summary(RT_effect)
  23. lm.beta(RT_effect)
  24. confint(RT_effect)
  25. # Running Model 2:P3b Amplitude over Centroparietal Cluster ~ Deg of Bilingualism + SES -----------------------------------
  26. #note Cluster 6 includes Pz, P3, P4, CP1, CP2, CP6
  27. P3b_amp_Cluster6 <- lm(P3b_Amp_Cluster_6 ~ comp_z + I(comp_z^2) + ses_z, data = df)
  28. summary(P3b_amp_Cluster6)
  29. lm.beta(P3b_amp_Cluster6)
  30. confint(P3b_amp_Cluster6)
  31. #Linear models ----------------------------
  32. RT_effect_linear <- lm(RT_Effect ~ comp_z + ses_z, data = df)
  33. summary(RT_effect_linear)
  34. lm.beta(RT_effect_linear)
  35. confint(RT_effect_linear)
  36. P3b_amp_Cluster6_linear <- lm(P3b_Amp_Cluster_6 ~ comp_z + ses_z, data = df)
  37. summary(P3b_amp_Cluster6_linear)
  38. lm.beta(P3b_amp_Cluster6_linear)
  39. confint(P3b_amp_Cluster6_linear)

Modulation_of_the_P3b_MLR_Analysis.R, no license · at the source

Overview

Authors: Nancy E. Rodas De León1,2, Heather Bortfeld1,3,2, Kristina C. Backer3,2
ORCID iDs: Heather Bortfeld
  1. Department of Psychological Sciences, University of California, Merced, 5200 North Lake Road, Merced, CA 95343 USA
  2. Health Sciences Research Institute, University of California, Merced,Merced, CA 95343 USA
  3. Department of Cognitive and Information Sciences, University of California, Merced,5200 North Lake Road, Merced, CA 95343 USA
Institutions: University of California, Merced (United States)
Journal: Scientific reports, volume 16, issue 1, article 23937
Dates: received 2 November 2025; accepted 2 April 2026; published online 25 May 2026
Type: Research article · Language: English
License: CC BY
Identifiers: DOI 10.1038/s41598-026-47785-z · PMID 42185369 · PMCID PMC13434803 · OpenAlex W7162291944
Open access: gold, a free copy (OpenAlex)
Status: code verified (how the code is found and verified)
Categories: EEG (modality), human (organism), cognitive (subfield)
Methods: Spectral & time-frequency, Connectivity, Statistics, Smoothing, state filtering, decompositions, Preprocessing, Evoked potentials, fMRI & imaging, Physiology & signal measures
Keywords: Degree of bilingual engagement, P3b, Attention allocation, Electrophysiology, Young adults, Neuroscience, Psychology
MeSH: Event-Related Potentials, P300*, Multilingualism*, Adult, Attention, Electroencephalography, Female, Humans, Male, Reaction Time, Young Adult (* major topic)
Topic: Neurobiology of Language and Bilingualism (Cognitive Neuroscience, Neuroscience), according to OpenAlex
Funding: Carlston Cunningham Family
Citations: not cited yet (Europe PMC); 106 references in the paper

Abstract

Recent theoretical accounts propose that variability in bilingual language experience can drive neuroplastic modifications in attentional systems. In the present study, we empirically evaluated this proposition by examining whether continuous variation in bilingual language experience predicts neural activity associated with the allocation of attention to salient environmental stimuli. To this end, we recorded electroencephalography (EEG) and response time data from young adults with diverse language backgrounds as they completed an active visual oddball paradigm known to elicit the P3b component. Language experience was quantified using composite factor scores derived from the Language and Social Background Questionnaire, which served as an index of participants’ cumulative bilingual language engagement. Because childhood family socioeconomic status (SES) is known to influence neural development and adult cognitive functioning, we also controlled for childhood family SES. Although neither bilingualism nor childhood family SES was associated with behavioral performance, greater bilingual language experience was positively associated with the magnitude of the P3b effect. These findings indicate that, even after accounting for childhood family SES, lifelong bilingual language engagement may shape the neural mechanisms supporting attention allocation during dynamic stimulus tracking.

Reproduced under the paper's license (CC BY), from the paper cited above.

Repository

Its files are read in the Code ↔ Paper reader above, with 18 matches between paragraphs and lines of code.

OSF 3aczu

License: none: the authors keep all their rights
State: the link answers, verified on 28 September 2026
Evidence: files inventoried
Languages: MATLAB (17), R (4)
Size: 107 files, 21 scripts
Software Heritage: not checked
Found in: the text, “EEG/ERP processing and analyses”
Not found: README, license file, CITATION.cff, environment file, tests, continuous integration, documentation
Tools: EEGLAB (16 files), ERPLAB (9 files), tidyverse (4 files), Statistics and Machine Learning Toolbox (2 files), ICLabel (1 file)
Availability: 1 check, the latest on 28 September 2026: the link answers (HTTP 200)
  • 28 September 2026: the link answers (HTTP 200)
21 files
At the source: osf.io/3aczu/overview

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;
  • 21 scripts, each with its path and the digest of its content;
  • 18 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

The dataset supporting the conclusions of this article is available in the Open Science Framework repository,https://osf.io/3aczu/overview.

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, 3 authors, 7 keywords, 10 MeSH terms, 1 funder, 96 references.

Cite

This paper

Rodas De León, N. E., Bortfeld, H., & Backer, K. C. (2026). Modulations of the P3b effect as a function of bilingual language experience. Scientific reports, 16(1), 23937. https://doi.org/10.1038/s41598-026-47785-z

BibTeX

@article{rodasdeleon2026modulations,
author = {Rodas De León, Nancy E. and Bortfeld, Heather and Backer, Kristina C.},
title = {{Modulations of the P3b effect as a function of bilingual language experience}},
journal = {Scientific reports},
year = {2026},
month = may,
volume = {16},
number = {1},
pages = {23937},
publisher = {Nature Publishing Group},
issn = {2045-2322},
doi = {10.1038/s41598-026-47785-z},
url = {https://doi.org/10.1038/s41598-026-47785-z},
pmid = {42185369},
pmcid = {PMC13434803}
}

RIS

TY - JOUR
AU - Rodas De León, Nancy E.
AU - Bortfeld, Heather
AU - Backer, Kristina C.
TI - Modulations of the P3b effect as a function of bilingual language experience
T2 - Scientific reports
J2 - Sci Rep
PY - 2026
DA - 2026/05/25
VL - 16
IS - 1
SP - 23937
SN - 2045-2322
PB - Nature Publishing Group
DO - 10.1038/s41598-026-47785-z
UR - https://doi.org/10.1038/s41598-026-47785-z
LA - en
ER -

CSL-JSON

{
"id": "10.1038/s41598-026-47785-z",
"type": "article-journal",
"title": "Modulations of the P3b effect as a function of bilingual language experience",
"container-title": "Scientific reports",
"author": [
{
"family": "Rodas De León",
"given": "Nancy E."
},
{
"family": "Bortfeld",
"given": "Heather"
},
{
"family": "Backer",
"given": "Kristina C."
}
],
"container-title-short": "Sci Rep",
"volume": "16",
"issue": "1",
"page": "23937",
"DOI": "10.1038/s41598-026-47785-z",
"PMID": "42185369",
"PMCID": "PMC13434803",
"ISSN": "2045-2322",
"publisher": "Nature Publishing Group",
"URL": "https://doi.org/10.1038/s41598-026-47785-z",
"language": "en",
"issued": {
"date-parts": [
[
2026,
5,
25
]
]
}
}

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.3389/fpsyg.2023.1173486
The impact of bilingualism in within-language conflict resolution: an ERP study.
Journal: Frontiers in psychology
In common: EEG, cognitive, 15 references
[2] doi:10.1007/s00429-021-02436-z
The effects of bilingualism on hippocampal volume in ageing bilinguals.
Journal: Brain structure & function
In common: cognitive, 12 references
[3] doi:10.1038/s41597-025-05209-z [code]
Cognitive Electrophysiology in Socioeconomic Context in Adulthood.
Journal: Scientific data
In common: ERPLAB, ICLabel, EEGLAB, 1 other tool, EEG, 8 references
[4] doi:10.1371/journal.pone.0307406 [code]
Childhood family socioeconomic status is linked to adult brain electrophysiology.
Journal: PloS one
In common: ERPLAB, ICLabel, EEGLAB, 1 other tool, EEG, 8 references
[5] doi:10.1093/cercor/bhae029 [code]
Mapping individual aspects of bilingual experience to adaptations in brain structure.
Journal: Cerebral cortex (New York, N.Y. : 1991)
In common: tidyverse, cognitive, 8 references
[6] doi:10.1016/j.dcn.2023.101319 [code]
Component-specific developmental trajectories of ERP indices of cognitive control in early childhood.
Journal: Developmental cognitive neuroscience
In common: ERPLAB, ICLabel, EEGLAB, 2 other tools, EEG, 5 references
[7] doi:
Language usage shapes neural mechanisms of code-switching
Journal: Frontiers in psychology
In common: EEG, cognitive, 9 references
[8] doi:10.1162/nol_a_00058 [code]
The Domain-General Multiple Demand Network Is More Active in Early Balanced Bilinguals Than Monolinguals During Executive Processing.
Journal: Neurobiology of language (Cambridge, Mass.)
In common: tidyverse, cognitive, 7 references
[9] doi:10.1038/s41598-025-32091-x
Selective cognitive effects of multilingualism emerge in visuospatial working memory in later life.
Journal: Scientific reports
In common: cognitive, 7 references
[10] doi:10.1162/nol.a.255 [code]
Lexical Representations of the Native and Second Languages During L2 Word Reading in Chinese-English Bilinguals.
Journal: Neurobiology of language (Cambridge, Mass.)
In common: ERPLAB, ICLabel, EEGLAB, 1 other tool, EEG, cognitive, 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.

Add the badge to the code's README

OSCR: the badge of this paper

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 -->
[![OSCR](https://openscicode.org/badge/doi/10.1038/s41598-026-47785-z.svg)](https://openscicode.org/badge/doi/10.1038/s41598-026-47785-z)
<!-- oscr-badge:end -->
reStructuredText
.. oscr-badge:start

.. image:: https://openscicode.org/badge/doi/10.1038/s41598-026-47785-z.svg
   :target: https://openscicode.org/badge/doi/10.1038/s41598-026-47785-z
   :alt: OSCR

.. oscr-badge:end
HTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1038/s41598-026-47785-z"><img src="https://openscicode.org/badge/doi/10.1038/s41598-026-47785-z.svg" alt="OSCR"></a>
<!-- oscr-badge:end -->

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)

Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.