Empathy for pain persists across live two-way video interactions and viewing of prerecorded videos.
The 5 matches
- [1] § Methods › Statistical analyses ↔ Analysis code/analysis_code.zip/GLMM_EDA_coupling.Rmd, lines 17–40 · score 0.65 · Linear mixed models, right skewed, glmer, log, family, gamma
- [2] § Methods › Statistical analyses ↔ Analysis code/analysis_code.zip/LMM_ECG_coupling.Rmd, lines 22–44 · score 0.56 · Linear mixed models, right skewed, lme4, family, gamma, IBI
- [3] § Results › Temporal presence does not influence affective empathy ↔ Analysis code/analysis_code.zip/LMM_behavior_affective_empathy.Rmd, lines 44–107 · score 0.54 · affective empathy, unpleasantness ratings, predict observers, video call, prerecording, interaction
- [4] § Results › Temporal presence does not modulate physiological coupling between observers and targets ↔ Analysis code/analysis_code.zip/GLMM_EDA_coupling.Rmd, lines 43–105 · score 0.54 · targets SCR, random slopes, predicting observers, video call, GLMM, coupling
- [5] § Results › Temporal presence does not modulate physiological coupling between observers and targets ↔ Analysis code/analysis_code.zip/LMM_ECG_coupling.Rmd, lines 47–111 · score 0.52 · targets IBI, random slopes, predicting observers, video call, coupling, prerecording
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 Markdown · 117 lines · 3.3 KB · no license · 2 matches
- ---
- title: "PiP23 - GLMM EDA coupling"
- author: "Jannik Heimann"
- date: "`r Sys.Date()`"
- output: pdf_document
- ---
- ```{r setup, include=FALSE}
- knitr::opts_chunk$set(echo = TRUE)
- library(lme4)
- library(ggplot2)
- library(MuMIn)
- ```
- ## Build generalized linear mixed models to predict observer EDA data with target EDA
- Fixed effects structure according to hypotheses!
- Family gamma function is used for positive, slightly right skewed data.
- ```{r model}
- DF <- read.csv('PiP23_EDA_GLMM_4000_7000ms_all.csv')
- # prepare simple effect coding
- DF$cond[DF$cond==2] <- -0.5 # OFF condition
- DF$cond[DF$cond==1] <- 0.5 # ON condition
- DF$EDA_targ = scale(DF$EDA_targ)
- M3 <- glmer(EDA_obs ~ 1 + cond * EDA_targ + (1 + cond * EDA_targ | obs), data = DF, family = Gamma(link = "log"), glmerControl(optimizer = "bobyqa", optCtrl = list(maxfun = 100000)))
- summary(M3)
- cat("\nR-squared marginal and conditional for the full model\n")
- print(r.squaredGLMM(M3))
- ```
- ## Plot Model 3
- ```{r Plot Model 3}
- DF1 <- DF
- DF1$EDA_obs <- DF1$EDA_obs + 1
- DF1 <- DF1[!is.na(DF1$EDA_obs), ]
- DF1 <- DF1[!is.na(DF1$EDA_targ), ]
- row.names(DF1) <- NULL
- DF1$EDA_obs <- log(DF1$EDA_obs)
- randef_EDA<- ranef(M3)
- ref_EDA<-randef_EDA$obs[,3]
- observers <- unique(DF1$obs)
- count<-1
- slopes_EDA<- NULL
- for (obser in observers){
- slope<- ref_EDA[count]
- data <- data.frame(DF1[DF1$obs == obser,])
- trials <- nrow(data)
- slope_all<- data.frame(rep(slope,trials))
- slopes_EDA<- rbind(slopes_EDA, slope_all)
- count <- count+1
- }
- colnames(slopes_EDA)<-c("slopes")
- DF1$slopes <- slopes_EDA$slopes
- DF1$EDA_obs_pred<- predict(M3, type ="response")
- DF1_off <- DF1[DF1$cond == -0.5,]
- DF1_on <- DF1[DF1$cond == 0.5,]
- DF1$cond<-as.numeric(DF1$cond)
- DF1$cond<-factor(DF1$cond, levels = c(0.5,-0.5), labels = c("video call","prerecording"))
- SCR <- ggplot(data = DF1, aes(EDA_targ, EDA_obs_pred, color = slopes, linetype = cond, group = interaction(slopes,cond,obs))) +
- stat_summary(fun = mean, geom ="line", aes(EDA_targ, EDA_obs_pred, color = slopes, linetype = cond), linewidth = 1.2) +
- geom_smooth(data = DF1_on, aes(EDA_targ, EDA_obs_pred), color = "black", inherit.aes = FALSE, method = "glm", alpha = 0, linewidth = 4) +
- geom_smooth(data = DF1_off, aes(EDA_targ, EDA_obs_pred), color = "black", inherit.aes = FALSE, method = "glm", alpha = 0, linewidth = 4, linetype = "dotted") +
- scale_color_gradient2(low = "darkorange3", high = "darkgreen", mid = "orange2", midpoint=0, name = "random slope\nof target SCR")+theme_classic() +
- theme_classic() +
- labs(x = "target SCR (z-std)", y = "predicted observers'\n SCR") +
- theme(
- axis.title.x = element_text(size = 13),
- axis.title.y = element_text(size = 13),
- legend.position = "bottom",legend.title = element_text(size = 12),
- legend.text = element_text(size = 12),axis.text.y = element_text(size =12),
- axis.text.x = element_text(size = 12)
- ) +
- guides(
- linetype = guide_legend(nrow = 2, byrow = TRUE)
- )
- print(SCR)
- ```
- # BIC to Bayes Factor
- ```{r BF}
- M3r <- glmer(EDA_obs ~ 1 + EDA_targ + (1 + cond * EDA_targ | obs), data = DF, family = Gamma(link = "log"), glmerControl(optimizer = "bobyqa", optCtrl = list(maxfun = 100000)))
- BF_SCR <- exp((BIC(refitML(M3))-BIC(refitML(M3r)))/(-2))
- print(BF_SCR)
- ```
GLMM_EDA_coupling.Rmd, no license · at the source
Overview
- Institute of Medical Psychology, Center of Brain, Behavior and Metabolism, University of Lübeck,Ratzeburger Allee 160, 23562 Lübeck, Germany
- Department of Neurology, University of Lübeck,Ratzeburger Allee 160, 23562 Lübeck, Germany
- Psychology Department, Hebrew University of Jerusalem,Mount Scopus, 91905 Jerusalem, Israel
Abstract
The impact of digitally mediated social interaction on understanding others and sharing their emotions has not been thoroughly investigated. We examined how live, video-mediated interaction, as opposed to watching a prerecorded video, affects behavioral, neural, and physiological aspects of empathy for pain. Thirty-five observers watched targets undergoing painful electric stimulation in an electroencephalogram study. We hypothesized that reduced temporal presence, the immediacy or delay with which information is transferred during social interactions, would result in diminished behavioral and electrophysiological empathic responses. However, observer’s behavioral empathic responses were not diminished with reduced temporal presence. On a neural level, midfrontal theta was sensitive to the other’s pain intensity, and we observed significant physiological coupling between participants. Conversely, Mu suppression was not modulated by pain intensity. Importantly, neural and physiological indices of empathy were independent of temporal presence. However, exploratory analyses indicated a latency effect of temporal presence on pain-related theta activity with an earlier theta increase in interactions with high temporal presence. The results suggest that the temporal presence of individuals may not be necessary for empathy towards another’s pain. Future studies may investigate more naturalistic social interactions and include motivational aspects of empathy. We discuss implications of these findings for debates on social presence and on second-person neuroscience.
Supplementary Information: The online version contains supplementary material available at 10.3758/
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 5 matches between paragraphs and lines of code.
OSF 3jdf4
Availability: 1 check, the latest on 29 September 2026: the link answers (HTTP 200)
- 29 September 2026: the link answers (HTTP 200)
8 files
- Analysis code/
analysis_code.zip/ , R, 67 linesBayes_factors_EEG.Rmd - Analysis code/
analysis_code.zip/ , R, 117 lines, 2 matchesGLMM_EDA_coupling.Rmd - Analysis code/
analysis_code.zip/ , R, 125 lines, 2 matchesLMM_ECG_coupling.Rmd - Analysis code/
analysis_code.zip/ , R, 82 linesLMM_EEG.Rmd - Analysis code/
analysis_code.zip/ , R, 261 linesLMM_behavior_OP.Rmd - Analysis code/
analysis_code.zip/ , R, 119 lines, 1 matchLMM_behavior_affective_e mpathy.Rmd - Analysis code/
analysis_code.zip/ , R, 130 linesLMM_behavior_empathic_ac curacy.Rmd - additional information/
EEG_trigger_information. , MATLAB, 25 linesm
Code availability
The analysis code can be found at https://
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:
- 1 repository of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
- 8 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
No dataset and no data link were found in the paper.
Availability of data and materials
The raw data and the final preprocessed data, which is prepared for statistical analysis, can be found at 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, 4 authors, 5 keywords, 12 MeSH terms, 2 funders, 137 references.
Cite
This paper
Heimann, J., Petereit, P., Perry, A., & Krämer, U. M. (2026). Empathy for pain persists across live two-way video interactions and viewing of prerecorded videos. Cognitive, affective & behavioral neuroscience, 26(4), 1795-1816. https://
BibTeX
@article{heimann2026empa
author = {Heimann, Jannik and Petereit, Pauline and Perry, Anat and Krämer, Ulrike M.},
title = {{Empathy for pain persists across live two-way video interactions and viewing of prerecorded videos}},
journal = {Cognitive, affective \& behavioral neuroscience},
year = {2026},
month = apr,
volume = {26},
number = {4},
pages = {1795--1816},
publisher = {Springer Science+Business Media},
issn = {1530-7026},
doi = {10.3758/
url = {https://
pmid = {41986865},
pmcid = {PMC13385010}
}
RIS
TY - JOUR
AU - Heimann, Jannik
AU - Petereit, Pauline
AU - Perry, Anat
AU - Krämer, Ulrike M.
TI - Empathy for pain persists across live two-way video interactions and viewing of prerecorded videos
T2 - Cognitive, affective & behavioral neuroscience
J2 - Cogn Affect Behav Neurosci
PY - 2026
DA - 2026/
VL - 26
IS - 4
SP - 1795
EP - 1816
SN - 1530-7026
PB - Springer Science+Business Media
DO - 10.3758/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.3758/
"type": "article-journal",
"title": "Empathy for pain persists across live two-way video interactions and viewing of prerecorded videos",
"container-title": "Cognitive, affective & behavioral neuroscience",
"author": [
{
"family": "Heimann",
"given": "Jannik"
},
{
"family": "Petereit",
"given": "Pauline"
},
{
"family": "Perry",
"given": "Anat"
},
{
"family": "Krämer",
"given": "Ulrike M."
}
],
"container-title-short":
"volume": "26",
"issue": "4",
"page": "1795-1816",
"DOI": "10.3758/
"PMID": "41986865",
"PMCID": "PMC13385010",
"ISSN": "1530-7026",
"publisher": "Springer Science+Business Media",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
4,
15
]
]
}
}
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.1111/infa.70114 [code]
- Statistics in Motion: Does the Infant Motor System Predict Actions Based on Their Transitional Probability?Journal: Infancy : the official journal of the International Society on Infant StudiesIn common: lmerTest, lme4, tidyverse, EEG, 5 references
- [2] doi:10.1162/imag.a.1268 [code]
- Real-time fMRI-triggered experience sampling: A proof-of-concept study.Journal: Imaging neuroscience (Cambridge, Mass.)In common: lmerTest, lme4, ggplot2, 1 other tool, 5 references
- [3] doi:10.7554/elife.103566 [code]
- Effort produces after-effects costly for others but valued for self.Journal: eLifeIn common: lmerTest, lme4, ggplot2, 1 other tool, EEG, 4 references
- [4] 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 oneIn common: lmerTest, lme4, ggplot2, 1 other tool, EEG, cognitive, 4 references
- [5] doi:10.1038/s41537-026-00761-y [code]
- The role of fear learning in the development of psychosis: an EEG study utilizing a differential fear conditioning paradigm in people with psychotic vulnerability.Journal: Schizophrenia (Heidelberg, Germany)In common: lmerTest, lme4, ggplot2, 1 other tool, EEG, 3 references
- [6] doi:10.1038/s42003-026-10529-w
- Top-down influence of the inferior frontal gyrus on motor cortex excitability during pain empathy.Journal: Communications biologyIn common: pain, 5 references
- [7] doi:10.1111/psyp.70265 [code]
- Neurocognitive Dynamics of Translating Information From a Spatial Map Into Action.Journal: PsychophysiologyIn common: lmerTest, lme4, ggplot2, 1 other tool, EEG, cognitive, 3 references
- [8] doi:10.1162/nol.a.264 [code]
- The Temporal Dynamics of the Labeling Algorithm During Natural Language Comprehension: Neural Evidence for Phrase Grammatical Type Generation.Journal: Neurobiology of language (Cambridge, Mass.)In common: lmerTest, lme4, EEG, 5 references
- [9] 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 biologyIn common: lmerTest, lme4, ggplot2, 1 other tool, EEG, 3 references
- [10] doi:10.1162/imag.a.1363 [code]
- Social approach-avoidance conflict: Behavioural, emotional, and neural correlates along a depression-social anxiety spectrum.Journal: Imaging neuroscience (Cambridge, Mass.)In common: lmerTest, lme4, ggplot2, 1 other tool, cognitive, 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, 8 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:c152df6655c84e71…
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
[.
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.
