OSCR

Statistics in Motion: Does the Infant Motor System Predict Actions Based on Their Transitional Probability?

Code ↔ Paper

2 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.

2 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 2 matches · 1 of them tie a paragraph to a whole file without given lines: a weak match, whose lines are not tinted
  1. [1] § Data Analysis › Analysis ↔ StatisticalAnalysis/Mu_cluster_comparison.R, lines 24 to 82 · score 0.70 · small cluster, central cluster, AIC, linear, mu, models · block oscr:b:D5FG231G1J0SJ-K · Report a mismatch
  2. [2] § Data Analysis › EEG Processing ↔ EEG/ChannelRejectionSummary.m, the whole file · a weak match · score 0.69 · FieldTrip, interpolated channels, SD, rejection, occipital, EEG · block oscr:b:RKFKD91FVQAQG-D · 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 · 82 lines · 2.8 KB · no license · 1 match

  1. ####### Libraries ---------------------------------------------------------------
  2. library(lme4)
  3. library(lmerTest)
  4. library(easystats)
  5. library(tidyverse)
  6. ####### Set and read data ---------------------------------------------------------------
  7. find_project_dir <- function(path = getwd()) {
  8. path <- normalizePath(path, winslash = "/", mustWork = TRUE)
  9. repeat {
  10. if (file.exists(file.path(path, "README.md")) && dir.exists(file.path(path, "StatisticalAnalysis"))) {
  11. return(path)
  12. }
  13. parent <- dirname(path)
  14. if (identical(parent, path)) stop("Could not find Statistics-in-Motion project directory.")
  15. path <- parent
  16. }
  17. }
  18. project_dir <- find_project_dir()
  19. data_dir <- normalizePath(file.path(project_dir, "..", "..", "Data", "ProcessedBids"), winslash = "/", mustWork = TRUE)
  20. results_dir <- file.path(project_dir, "Results")
  21. dir.create(results_dir, recursive = TRUE, showWarnings = FALSE)
  22. files = list.files(data_dir, pattern = "*DFmu.csv", recursive = TRUE, full.names = TRUE)
  23. df = map_dfr(files, read_csv,show_col_types = FALSE)
  24. # Make Probabilities more understandable
  25. df$Probability = df$Trial
  26. df[df['Probability']==1,'Probability'] = 25
  27. df[df['Probability']==2,'Probability'] = 50
  28. df[df['Probability']==3,'Probability'] = 75
  29. df[df['Probability']==4,'Probability'] = 100
  30. df$Probability = factor(df$Probability) # categorical for anova
  31. ####### Multiple clusters ---------------------------------------------------------------
  32. ## Clusters
  33. Cluster.s = c('C3' , 'Cz', 'C4')
  34. Cluster.c = c('FC1' , 'CP1', 'Cz', 'FC2', 'CP2')
  35. Cluster.l = c('FC1' , 'CP1', 'C3', 'FC5', 'CP5')
  36. Cluster.r = c('FC2', 'CP2', 'C4', 'FC6', 'CP6')
  37. df.s = df[df$Channels %in% Cluster.s,] # small cluster
  38. df.c = df[df$Channels %in% Cluster.c,] # big central cluster
  39. df.l = df[df$Channels %in% Cluster.l,] # big left cluster
  40. df.r = df[df$Channels %in% Cluster.r,] # big right cluster
  41. ####### Run Linear Models ---------------------------------------------------------------
  42. ### The models
  43. `C4, Cz, C3` = lmer(Power ~Probability +(1|Id/Channels),data=df.s)
  44. `FC1, C3, CP1, Cz, FC2, C4, CP2` = lmer(Power ~Probability +(1|Id/Channels),data=df.c)
  45. `FC1, CP1, C3, FC5, CP5` = lmer(Power ~Probability + (1|Id/Channels),data=df.l)
  46. `FC2, CP2, C4, FC6, CP6` = lmer(Power ~Probability +(1|Id/Channels),data=df.r)
  47. comp = as.data.frame(compare_performance(`C4, Cz, C3`,`FC1, C3, CP1, Cz, FC2, C4, CP2`,`FC1, CP1, C3, FC5, CP5`,`FC2, CP2, C4, FC6, CP6`, metrics ='AIC'))
  48. ggplot(comp, aes(x=Name, y= AIC, fill= Name))+
  49. geom_bar(stat = 'identity')+
  50. scale_x_discrete('Clusters')+
  51. scale_fill_colorhex_d()+
  52. theme_minimal(base_size = 20)+
  53. theme(legend.position = "none")
  54. ggsave(file.path(results_dir, "Mu_Comparison.png"),
  55. device = "png", width = 40, height = 25, units = "cm",dpi=500)

Mu_cluster_comparison.R at commit 015ccdf, no license · at the source

Overview

  1. Centre for Brain and Cognitive Development Birkbeck University of London London UK
  2. Donders Institute for Brain, Cognition and Behaviour Radboud University Nijmegen Nijmegen the Netherlands
  3. School of Psychology Keele University Keele UK
  4. School of Psychology Cardiff University Cardiff UK
Institutions: Radboud University Nijmegen (Netherlands); Donders Institute for Brain, Cognition and Behaviour (Netherlands); Birkbeck, University of London (United Kingdom); Keele University (United Kingdom); Cardiff University (United Kingdom)
Dates: received 11 March 2025; accepted 16 July 2026; published online 10 August 2026; in print 2026
Type: Research article · Language: English
License: CC BY-NC-ND
Identifiers: DOI 10.1111/infa.70114 · PMID 42576376 · PMCID PMC13457992 · OpenAlex W4321330255
Open access: hybrid, a free copy (OpenAlex)
Status: code verified (how the code is found and verified)
Categories: EEG (modality), human (organism), developmental (subfield)
Methods: Spectral & time-frequency, Statistics, Smoothing, state filtering, decompositions, Preprocessing
Keywords: action prediction, infants' action understanding, mu rhythm, predictive processing, statistical learning, transitional probability
MeSH: Child Development*, Learning*, Motor Activity*, Electroencephalography, Female, Humans, Infant, Male, Probability (* major topic)
Topic: Child and Animal Learning Development (Developmental and Educational Psychology, Psychology), according to OpenAlex
Funding: Horizon 2020 Marie Skłodowska (765298)
Citations: cited by 1 paper (Europe PMC); 70 references in the paper

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 2 matches between paragraphs and lines of code.

TommasoGhilardi/Statistics-in-Motion

License: none: the authors keep all their rights
State: the link answers, verified on 27 September 2026
Evidence: files inventoried
Commit: 015ccdf9eabed322a00ac01179ae60bae34cb977, 29 July 2026
Languages: MATLAB (13), R (5)
Size: 23 files, 18 scripts
Software Heritage: not archived
Found in: “Data Availability Statement”
Holds: README
Not found: license file, CITATION.cff, environment file, tests, continuous integration, documentation
Tools: FieldTrip (9 files), easystats (5 files), tidyverse (5 files), cowplot (4 files), brms (3 files), lme4 (3 files), lmerTest (3 files), Signal Processing Toolbox (1 file), Stan (1 file)
Availability: 1 check, the latest on 27 September 2026: the link answers
  • 27 September 2026: the link answers
19 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;
  • 18 scripts, each with its path and the digest of its content;
  • 2 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.

Code and data availability statement

The paper has a code and data availability statement. Its license (CC BY-NC-ND) does not allow reproducing it here; in short, from what the harvester recognized in it:

Read it in the paper: doi.org/10.1111/infa.70114.

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 2, 28 September 2026

  • Publisher: n/a → Wiley

Version 1, 27 September 2026: the first record

Recorded: type, language, journal, volume, issue, pages, dates, 5 authors, 6 keywords, 9 MeSH terms, 1 funder, 69 references.

Cite

This paper

Ghilardi, T., Meyer, M., Monroy, C. D., Gerson, S. A., & Hunnius, S. (2026). Statistics in Motion: Does the Infant Motor System Predict Actions Based on Their Transitional Probability? Infancy : the official journal of the International Society on Infant Studies, 31(4), e70114. https://doi.org/10.1111/infa.70114

BibTeX

@article{ghilardi2026statistics,
author = {Ghilardi, Tommaso and Meyer, Marlene and Monroy, Claire D. and Gerson, Sarah A. and Hunnius, Sabine},
title = {{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 Studies},
year = {2026},
month = jul,
volume = {31},
number = {4},
pages = {e70114},
publisher = {Wiley},
issn = {1525-0008},
doi = {10.1111/infa.70114},
url = {https://doi.org/10.1111/infa.70114},
pmid = {42576376},
pmcid = {PMC13457992}
}

RIS

TY - JOUR
AU - Ghilardi, Tommaso
AU - Meyer, Marlene
AU - Monroy, Claire D.
AU - Gerson, Sarah A.
AU - Hunnius, Sabine
TI - Statistics in Motion: Does the Infant Motor System Predict Actions Based on Their Transitional Probability?
T2 - Infancy : the official journal of the International Society on Infant Studies
J2 - Infancy
PY - 2026
DA - 2026/07/01
VL - 31
IS - 4
SP - e70114
SN - 1525-0008
PB - Wiley
DO - 10.1111/infa.70114
UR - https://doi.org/10.1111/infa.70114
LA - en
ER -

CSL-JSON

{
"id": "10.1111/infa.70114",
"type": "article-journal",
"title": "Statistics in Motion: Does the Infant Motor System Predict Actions Based on Their Transitional Probability?",
"container-title": "Infancy : the official journal of the International Society on Infant Studies",
"author": [
{
"family": "Ghilardi",
"given": "Tommaso"
},
{
"family": "Meyer",
"given": "Marlene"
},
{
"family": "Monroy",
"given": "Claire D."
},
{
"family": "Gerson",
"given": "Sarah A."
},
{
"family": "Hunnius",
"given": "Sabine"
}
],
"container-title-short": "Infancy",
"volume": "31",
"issue": "4",
"page": "e70114",
"DOI": "10.1111/infa.70114",
"PMID": "42576376",
"PMCID": "PMC13457992",
"ISSN": "1525-0008",
"publisher": "Wiley",
"URL": "https://doi.org/10.1111/infa.70114",
"language": "en",
"issued": {
"date-parts": [
[
2026,
7,
1
]
]
}
}

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/s41598-025-20171-x [code]
Experience shapes functional connectivity during action observation in the first year of life.
Journal: Scientific reports
In common: EEG, 15 references
[2] doi:10.1523/jneurosci.0886-23.2023 [code]
Bursting with Potential: How Sensorimotor Beta Bursts Develop from Infancy to Adulthood.
Journal: The Journal of neuroscience : the official journal of the Society for Neuroscience
In common: FieldTrip, lme4, Signal Processing Toolbox, 1 other tool, EEG, 7 references
[3] doi:10.1111/desc.13259 [code]
How infant-directed actions enhance infants' attention, learning, and exploration: Evidence from EEG and computational modeling.
Journal: Developmental science
In common: FieldTrip, developmental, EEG, 1 reference, 2 authors
[4] doi:10.1111/infa.70029
Hold on Tight! Linking Emotions and Actions in the Infant Brain.
Journal: Infancy : the official journal of the International Society on Infant Studies
In common: EEG, 8 references
[5] doi:10.1038/s41598-025-99599-0 [code]
Differential modulation of low- and high-frequency mu oscillations during the observation of manual, facial, and non-biological movements.
Journal: Scientific reports
In common: EEG, 9 references
[6] doi:10.1038/s41537-023-00333-4 [code]
Preserved electrophysiological markers of confidence in schizophrenia spectrum disorder.
Journal: Schizophrenia (Heidelberg, Germany)
In common: brms, Stan, easystats, 4 other tools, EEG, 2 references
[7] doi:10.1016/j.dcn.2025.101645 [code]
Language exposure predicts infants' neural processing of others' actions based on language group.
Journal: Developmental cognitive neuroscience
In common: brms, lmerTest, lme4, 1 other tool, developmental, EEG, 4 references
[8] doi:10.1162/nol_a_00078 [code]
Can You Hear What's Coming? Failure to Replicate ERP Evidence for Phonological Prediction.
Journal: Neurobiology of language (Cambridge, Mass.)
In common: brms, easystats, lmerTest, 3 other tools, EEG, 3 references
[9] doi:10.1186/s11689-025-09651-3 [code]
The association between infant EEG aperiodic exponent and the trajectory of restricted and repetitive behaviors for toddlers with and without autism.
Journal: Journal of neurodevelopmental disorders
In common: brms, Stan, easystats, 4 other tools, developmental, EEG
[10] doi:10.1126/sciadv.aea8233 [code]
The human amygdala in threat learning and extinction.
Journal: Science advances
In common: brms, Stan, easystats, 4 other tools, 1 reference

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.1111/infa.70114.svg)](https://openscicode.org/badge/doi/10.1111/infa.70114)
<!-- oscr-badge:end -->
reStructuredText
.. oscr-badge:start

.. image:: https://openscicode.org/badge/doi/10.1111/infa.70114.svg
   :target: https://openscicode.org/badge/doi/10.1111/infa.70114
   :alt: OSCR

.. oscr-badge:end
HTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1111/infa.70114"><img src="https://openscicode.org/badge/doi/10.1111/infa.70114.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.