OSCR

The Influence of Shared Attention and Friendship on Emotional Processing: A Behavioral and EEG Hyperscanning Study.

Code ↔ Paper

The paper beside its authors' code: matches between them have not been computed for this paper yet.

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 · 42 lines · 1.2 KB · no license

  1. library(lme4) # 线性混合效应模型
  2. library(lmerTest) # 提供p值
  3. library(dplyr) # 数据处理
  4. library(readxl) # 读取Excel文件
  5. library(emmeans)
  6. library(afex)
  7. setwd("C:/Users/59314/Own/2025-2026/di3xueqi/New_data/0_behavior")
  8. data <- read_excel("all_data.xlsx")
  9. str(data)
  10. model_reduce <- lmer(Q1 ~ 1 +(1|SUB),
  11. data = data,
  12. control = lmerControl(optimizer = "bobyqa"))
  13. model_full <- lmer(Q1 ~ 1 + RELA * JA * CON * POS * NAG + (1|SUB),
  14. data = data,
  15. control = lmerControl(optimizer = "bobyqa"))
  16. model_Q1 <- lmer(Q1 ~ 1 + JA*CON+JA*POS*NAG+RELA*NAG + (1|SUB),
  17. data = data,
  18. control = lmerControl(optimizer = "bobyqa"))
  19. model_Q2 <- lmer(Q2 ~ 1 + RELA * POS * NAG + (1|JA) + (1|CON) + (1|SUB),
  20. data = data,
  21. control = lmerControl(optimizer = "bobyqa"))
  22. print(summary(model_Q1), digits = 5)
  23. print(summary(model_Q2), digits = 5)
  24. anova(model_full, model_Q1)
  25. mixed(Q2 ~ 1 + RELA * JA * CON * POS * NAG + (1|SUB) + (1|groupid) + (1|ios),
  26. data = data,
  27. control = lmerControl(optimizer = "bobyqa"),
  28. method = 'LRT')

LME.R, no license · at the source

Overview

Authors: Siyu Chen1, Meng Yang1, Chuyan Xu1, Conghui Liu1
  1. Department of Psychology, Renmin University of China, Beijing 100086, China; (S.C.); (M.Y.); (C.X.)
Institutions: Renmin University of China (China)
Journal: Brain sciences, volume 16, issue 8, article 809
Dates: received 18 June 2026; accepted 24 July 2026; published online 30 July 2026
Type: Research article · Language: English
License: CC BY
Identifiers: DOI 10.3390/brainsci16080809 · PMID 42651120 · PMCID PMC13511084 · OpenAlex W7171799889
Open access: gold, a free copy (OpenAlex)
Status: code verified
Categories: EEG (modality), cognitive (subfield)
Methods: Spectral & time-frequency, Statistics, Smoothing, state filtering, decompositions, Connectivity, Preprocessing, Physiology & signal measures
Keywords: shared attention, friendship, emotional processing, EEG hyperscanning
Topic: Action Observation and Synchronization (Social Psychology, Psychology), according to OpenAlex
Funding: Renmin University of China (RXB013)
Citations: not cited yet (Europe PMC); 50 references in the paper

Abstract

Highlights: What are the main findings? Shared attention induced a positivity bias in emotional processing, an effect that was stronger in friend dyads than in stranger dyads. EEG hyperscanning revealed that shared attention increased beta and theta band inter-brain synchrony in the prefrontal cortex for friends, whereas for strangers a significant interaction indicated a diverging pattern.

What are the implications of the main findings? The presence of a friend enhances the emotional benefits of shared experiences, supporting friendship as a resource for social emotion regulation. Band-specific prefrontal neural synchrony may serve as a neural marker for how social closeness facilitates positive emotional sharing.

Abstract: Background: Shared attention facilitates interpersonal emotional sharing, yet the neural mechanisms modulated by interpersonal relationships, emotional valence, and visual consistency remain unclear. Methods: This study recruited 39 dyads (22 friend dyads, 17 stranger dyads) who viewed neutral, positive, and negative images under shared or non-shared attention while image consistency between partners was manipulated. Emotional ratings and electroencephalography (EEG) inter-brain synchrony were recorded. Results: Behaviorally, shared attention shifted emotional processing toward positivity, especially in friend dyads. EEG hyperscanning revealed that shared attention was associated with increased beta and theta band inter-brain synchrony in the prefrontal cortex for friends, but decreased synchrony for strangers, and alpha band synchrony decreased with shared attention when viewing consistent images. Conclusions: These findings reveal band-specific neural mechanisms through which shared attention modulates emotion across friendship, offering new insights into emotional regulation in social interactions.

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

Repository

Its files are read in the Code ↔ Paper reader above.

OSF nug57

License: none: the authors keep all their rights
State: the link answers, verified on 27 September 2026
Evidence: files inventoried
Size: 81 files
Software Heritage: not checked
Found in: “Data Availability Statement”
Not found: README, license file, CITATION.cff, environment file, tests, continuous integration, documentation
Tools: EEGLAB (4 files), afex (2 files), emmeans (2 files), lme4 (2 files), lmerTest (2 files), tidyverse (2 files), ICLabel (1 file), Signal Processing Toolbox (1 file)
Availability: 1 check, the latest on 27 September 2026: the link answers (HTTP 200)
  • 27 September 2026: the link answers (HTTP 200)
6 files

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;
  • 6 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

No dataset and no data link were found in the paper.

Data Availability Statement

The original data, scripts and statistical model code presented in the study are openly available in https://doi.org/10.17605/OSF.IO/NUG57.

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, 27 September 2026: the first record

Recorded: type, language, journal, volume, issue, pages, dates, 4 authors, 4 keywords, 1 funder, 48 references.

Cite

This paper

Chen, S., Yang, M., Xu, C., & Liu, C. (2026). The Influence of Shared Attention and Friendship on Emotional Processing: A Behavioral and EEG Hyperscanning Study. Brain sciences, 16(8), 809. https://doi.org/10.3390/brainsci16080809

BibTeX

@article{chen2026influence,
author = {Chen, Siyu and Yang, Meng and Xu, Chuyan and Liu, Conghui},
title = {{The Influence of Shared Attention and Friendship on Emotional Processing: A Behavioral and EEG Hyperscanning Study}},
journal = {Brain sciences},
year = {2026},
month = jul,
volume = {16},
number = {8},
pages = {809},
publisher = {Multidisciplinary Digital Publishing Institute (MDPI)},
issn = {2076-3425},
doi = {10.3390/brainsci16080809},
url = {https://doi.org/10.3390/brainsci16080809},
pmid = {42651120},
pmcid = {PMC13511084}
}

RIS

TY - JOUR
AU - Chen, Siyu
AU - Yang, Meng
AU - Xu, Chuyan
AU - Liu, Conghui
TI - The Influence of Shared Attention and Friendship on Emotional Processing: A Behavioral and EEG Hyperscanning Study
T2 - Brain sciences
J2 - Brain Sci
PY - 2026
DA - 2026/07/30
VL - 16
IS - 8
SP - 809
SN - 2076-3425
PB - Multidisciplinary Digital Publishing Institute (MDPI)
DO - 10.3390/brainsci16080809
UR - https://doi.org/10.3390/brainsci16080809
LA - en
ER -

CSL-JSON

{
"id": "10.3390/brainsci16080809",
"type": "article-journal",
"title": "The Influence of Shared Attention and Friendship on Emotional Processing: A Behavioral and EEG Hyperscanning Study",
"container-title": "Brain sciences",
"author": [
{
"family": "Chen",
"given": "Siyu"
},
{
"family": "Yang",
"given": "Meng"
},
{
"family": "Xu",
"given": "Chuyan"
},
{
"family": "Liu",
"given": "Conghui"
}
],
"container-title-short": "Brain Sci",
"volume": "16",
"issue": "8",
"page": "809",
"DOI": "10.3390/brainsci16080809",
"PMID": "42651120",
"PMCID": "PMC13511084",
"ISSN": "2076-3425",
"publisher": "Multidisciplinary Digital Publishing Institute (MDPI)",
"URL": "https://doi.org/10.3390/brainsci16080809",
"language": "en",
"issued": {
"date-parts": [
[
2026,
7,
30
]
]
}
}

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.1371/journal.pone.0353990 [code]
Positive mood enhances accessibility of unrelated concepts in the first language but not in the foreign language.
Journal: PloS one
In common: afex, ICLabel, EEGLAB, 4 other tools, EEG, cognitive, 3 references
[2] doi:10.1016/j.neuroimage.2026.122115 [code]
Midfrontal theta power relates to response speeding following frustrative nonreward.
Journal: NeuroImage
In common: ICLabel, EEGLAB, emmeans, 4 other tools, EEG, cognitive, 1 reference
[3] doi:10.1371/journal.pbio.3003899 [code]
Social interactions between people of same and different generations shape longitudinal changes in interpersonal neural synchrony, loneliness, and social connection.
Journal: PLoS biology
In common: emmeans, tidyverse, 6 references
[4] doi:10.1371/journal.pbio.3003979 [code]
Impaired midfrontal‑motor theta phase synchronization characterizes maladaptive motivational behavior in people with obsessive‑compulsive disorder.
Journal: PLoS biology
In common: afex, EEGLAB, emmeans, 3 other tools, EEG, 2 references
[5] doi:10.1111/nyas.70314 [code]
Neural Oscillatory Dynamics in Joint Action: Dissociable Roles of Entrainment and Beta Modulation in Self-Other Integration.
Journal: Annals of the New York Academy of Sciences
In common: lme4, Signal Processing Toolbox, tidyverse, EEG, cognitive, 4 references
[6] doi:10.1523/eneuro.0069-26.2026 [code]
Electrophysiological Indices of Hierarchical Speech Processing Differentially Reflect the Comprehension of Speech in Noise.
Journal: eNeuro
In common: ICLabel, EEGLAB, emmeans, 1 other tool, EEG, cognitive, 2 references
[7] doi:10.1111/psyp.70265 [code]
Neurocognitive Dynamics of Translating Information From a Spatial Map Into Action.
Journal: Psychophysiology
In common: EEGLAB, emmeans, lmerTest, 3 other tools, EEG, cognitive, 1 reference
[8] doi:10.7554/elife.107088 [code]
Development of auditory and spontaneous movement responses to music over the first postnatal year.
Journal: eLife
In common: ICLabel, EEGLAB, emmeans, 3 other tools, EEG
[9] doi:10.1038/s41467-026-75799-8 [code]
Behaviourally driven closed-loop beta-tACS enhances beta activity and motor behaviour.
Journal: Nature communications
In common: afex, EEGLAB, emmeans, 3 other tools
[10] doi:10.1162/imag.a.1258 [code]
Non-specific increase in alpha power during a neurofeedback session targeting its downregulation.
Journal: Imaging neuroscience (Cambridge, Mass.)
In common: afex, ICLabel, EEGLAB, 2 other tools, EEG

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.

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.