OSCR

Back to the Future of qEEG: Lifespan Normative Modeling of Spectral Ratios and Functional Indices with Potential Applications to Therapeutic Monitoring.

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.

The 2 matches
  1. [1] § Materials and Methods › Normative Modeling and Z-Score Derivation › GAMLSS Normative Framework ↔ code/fit_gamlss_v4.R, lines 91–177 · score 0.70 · JSU, SHASHo, concentration, slab, spike, zero
  2. [2] § Materials and Methods › Normative Modeling and Z-Score Derivation › GAMLSS Normative Framework ↔ code/fit_gamlss_v4.R, lines 91–177 · score 0.66 · Shapiro, kurt, excess, redundant, absorbing, BCPE

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 · 353 lines · 15 KB · no license · 2 matches

  1. library(gamlss)
  2. # ── Helpers de transformación ─────────────────────────────────────────────────
  3. apply_transform <- function(y, transform) {
  4. switch(transform,
  5. "none" = y,
  6. "log" = { if (any(y <= 0, na.rm=TRUE))
  7. stop(sprintf("transform='log' requiere y>0 (%d valores<=0)",
  8. sum(y <= 0, na.rm=TRUE)))
  9. log(y) },
  10. "log1p" = log(y + 1),
  11. "sqrt" = { if (any(y < 0, na.rm=TRUE))
  12. stop(sprintf("transform='sqrt' requiere y>=0 (%d valores<0)",
  13. sum(y < 0, na.rm=TRUE)))
  14. sqrt(y) },
  15. stop(sprintf("transform desconocido: '%s'", transform))
  16. )
  17. }
  18. apply_inv_transform <- function(y_t, transform) {
  19. switch(transform,
  20. "none" = y_t,
  21. "log" = exp(y_t),
  22. "log1p" = exp(y_t) - 1,
  23. "sqrt" = y_t^2,
  24. stop(sprintf("inv_transform desconocido: '%s'", transform))
  25. )
  26. }
  27. # ── Función principal ─────────────────────────────────────────────────────────
  28. fit_one_prefix <- function(prefix, DATA_DIR=".", N_AGE_GRID=500, FAMILY="NO") {
  29. input_file <- file.path(DATA_DIR, paste0(prefix, "_gamlss_data.csv"))
  30. if (!file.exists(input_file)) {
  31. cat(sprintf("[%s] archivo no encontrado, SKIP\n", prefix))
  32. return(invisible(NULL))
  33. }
  34. cat(sprintf("\n%s\nPREFIJO: %s\n%s\n", strrep("=",60), prefix, strrep("=",60)))
  35. # ── Leer transformación desde _gamlss_meta.csv (generado por export_for_gamlss.m) ──
  36. transform <- "none"
  37. meta_file <- file.path(DATA_DIR, paste0(prefix, "_gamlss_meta.csv"))
  38. if (file.exists(meta_file)) {
  39. meta <- read.csv(meta_file, stringsAsFactors=FALSE)
  40. meta_map <- setNames(meta$value, meta$field)
  41. if ("transform" %in% names(meta_map))
  42. transform <- meta_map[["transform"]]
  43. cat(sprintf(" transform = '%s' (leído de %s)\n", transform, basename(meta_file)))
  44. } else {
  45. cat(sprintf(" transform = 'none' (no se encontró %s)\n", basename(meta_file)))
  46. }
  47. dat <- read.csv(input_file, stringsAsFactors=FALSE, na.strings="NA")
  48. age <- dat$age
  49. var_names <- setdiff(names(dat), c("age","equipment"))
  50. N <- nrow(dat); P <- length(var_names)
  51. cat(sprintf(" %d sujetos, %d variables\n", N, P))
  52. age_valid <- age[is.finite(age) & age > 0]
  53. age_grid <- exp(seq(log(max(min(age_valid), 1)),
  54. log(max(age_valid)),
  55. length.out = N_AGE_GRID))
  56. results_centiles <- data.frame(age = age_grid)
  57. results_diagnostics <- data.frame(
  58. variable = var_names,
  59. pct_outside = NA_real_,
  60. n_valid = NA_integer_,
  61. family = NA_character_,
  62. transform_used = NA_character_,
  63. stringsAsFactors = FALSE
  64. )
  65. coef_export <- data.frame(age = age_grid)
  66. centile_levels <- c(0.025, 0.10, 0.25, 0.50, 0.75, 0.90, 0.975)
  67. centile_names <- c("p025","p10","p25","p50","p75","p90","p975")
  68. n_ok <- 0
  69. for (p in seq_along(var_names)) {
  70. vname <- var_names[p]
  71. y <- dat[[vname]]
  72. valid <- !is.na(y) & is.finite(y) & !is.na(age) & is.finite(age) & age > 0
  73. yy_orig <- y[valid]
  74. aa <- age[valid]
  75. n_v <- sum(valid)
  76. results_diagnostics$n_valid[p] <- n_v
  77. cat(sprintf(" Ajustando %s (%d/%d, n=%d)... ", vname, p, P, n_v))
  78. if (n_v < 30) { cat("SKIP (n<30)\n"); next }
  79. # ── Columna constante = 0: no hay nada que modelar ────────────────────
  80. # Ocurre con índices de asimetría cuando todos los sujetos tienen el mismo
  81. # valor (ej. electrodo faltante) o con variables que no aplican al prefijo.
  82. if (all(yy_orig == 0)) {
  83. cat("SKIP (todos cero)\n")
  84. results_diagnostics$family[p] <- "ZERO"
  85. results_diagnostics$transform_used[p] <- "none"
  86. results_diagnostics$pct_outside[p] <- 0
  87. # Rellenar curvas y centiles con ceros para que MATLAB pueda leer el CSV
  88. for (cn in centile_names) {
  89. results_centiles[[paste0(vname, "_", cn)]] <- rep(0, N_AGE_GRID)
  90. }
  91. results_centiles[[paste0(vname, "_mu")]] <- rep(0, N_AGE_GRID)
  92. results_centiles[[paste0(vname, "_sigma")]] <- rep(0, N_AGE_GRID)
  93. coef_export[[paste0(vname, "_mu")]] <- rep(0, N_AGE_GRID)
  94. coef_export[[paste0(vname, "_sigma")]] <- rep(0, N_AGE_GRID)
  95. next
  96. }
  97. # ── Selección de familia: evaluar SIEMPRE sobre datos CRUDOS (yy_orig) ──
  98. # Los criterios distribucionales se evalúan en escala original porque:
  99. # (1) BCT y BCPE requieren y > 0, que se cumple en datos crudos positivos
  100. # (2) Si los datos crudos son positivos y necesitan BCT, la transformación
  101. # log es redundante — BCT maneja asimetría y colas con su parámetro nu.
  102. # (3) Si los datos crudos no son positivos (ej. Valence), BCT puede usarse
  103. # directamente sobre ellos si n_crit >= 2.
  104. # La transformación log (u otra) solo se aplica si la familia elegida es NO.
  105. kurt_val <- mean((yy_orig - mean(yy_orig))^4) / var(yy_orig)^2
  106. kurt_excess <- kurt_val - 3
  107. skew_val <- mean((yy_orig - mean(yy_orig))^3) / var(yy_orig)^1.5
  108. sw_p <- tryCatch({
  109. n_sw <- min(length(yy_orig), 2000)
  110. set.seed(42)
  111. samp <- if (length(yy_orig) > n_sw) sample(yy_orig, n_sw) else yy_orig
  112. shapiro.test(samp)$p.value
  113. }, error = function(e) 1.0)
  114. crit_kurt <- kurt_excess > 1
  115. crit_skew <- abs(skew_val) > 0.5
  116. crit_sw <- sw_p < 0.05
  117. n_crit <- sum(c(crit_kurt, crit_skew, crit_sw))
  118. all_positive_orig <- all(yy_orig > 0)
  119. if (n_crit >= 2 && all_positive_orig) {
  120. # Datos positivos + no-Normal → BCT/BCPE sobre datos CRUDOS
  121. # (transform log es redundante; BCT lo maneja con nu)
  122. fam_candidates <- c("BCT", "BCPE", "NO")
  123. yy <- yy_orig # usar datos crudos, ignorar transform
  124. transform_used <- "none" # BCT absorbe la asimetría
  125. cat(sprintf("[kurt_ex=%.2f skew=%.2f SW_p=%.3f -> BCT(raw,%d/3)] ",
  126. kurt_excess, skew_val, sw_p, n_crit))
  127. } else if (n_crit >= 2 && !all_positive_orig) {
  128. # Datos con negativos + no-Normal:
  129. # Empíricamente verificado que para distribuciones spike-and-slab
  130. # (ej. Valence/FAA: masa concentrada en 0 con colas largas),
  131. # las familias JSU/SHASHo sobreestiman sigma y empeoran la
  132. # calibración de centiles centrales respecto a NO.
  133. # NO es la opción más robusta: el pct_outside global (~5%) es correcto
  134. # y los Z-scores extremos (|Z|>2) — el uso clínico principal — son válidos.
  135. fam_candidates <- c("NO")
  136. yy <- yy_orig
  137. transform_used <- "none"
  138. cat(sprintf("[kurt_ex=%.2f skew=%.2f SW_p=%.3f -> NO(neg,spike-slab,%d/3)] ",
  139. kurt_excess, skew_val, sw_p, n_crit))
  140. } else if (n_crit == 1 && all_positive_orig) {
  141. fam_candidates <- c("BCPE", "NO")
  142. yy <- yy_orig
  143. transform_used <- "none"
  144. cat(sprintf("[kurt_ex=%.2f skew=%.2f SW_p=%.3f -> BCPE(raw,%d/3)] ",
  145. kurt_excess, skew_val, sw_p, n_crit))
  146. } else {
  147. # Normal: aplicar transform si fue solicitado
  148. fam_candidates <- c("NO")
  149. transform_used <- transform
  150. yy <- tryCatch(
  151. apply_transform(yy_orig, transform),
  152. error = function(e) {
  153. cat(sprintf(" ERROR transform '%s': %s\n", transform, e$message))
  154. NULL
  155. }
  156. )
  157. if (is.null(yy)) next
  158. cat(sprintf("[kurt_ex=%.2f skew=%.2f SW_p=%.3f -> NO(transf='%s',%d/3)] ",
  159. kurt_excess, skew_val, sw_p, transform_used, n_crit))
  160. }
  161. # ── Nombres únicos en GlobalEnv ───────────────────────────────────────
  162. env_name_fam <- paste0(".gamlss_fam_", prefix, "_", p)
  163. env_name_df <- paste0(".gamlss_df_", prefix, "_", p)
  164. env_name_pr <- paste0(".gamlss_pr_", prefix, "_", p)
  165. df_tr <- data.frame(yy = yy, aa = aa)
  166. df_pr <- data.frame(aa = age_grid)
  167. fit <- NULL
  168. fam_used <- NA_character_
  169. for (fam_try in fam_candidates) {
  170. fam <- fam_try
  171. assign(env_name_fam, fam, envir = .GlobalEnv)
  172. assign(env_name_df, df_tr, envir = .GlobalEnv)
  173. assign(env_name_pr, df_pr, envir = .GlobalEnv)
  174. assign("yy", yy, envir = .GlobalEnv)
  175. assign("aa", aa, envir = .GlobalEnv)
  176. assign("fam", fam, envir = .GlobalEnv)
  177. fit_try <- tryCatch({
  178. fit_obj <- gamlss(
  179. yy ~ pb(log(aa)),
  180. sigma.formula = ~ pb(log(aa)),
  181. family = fam,
  182. data = df_tr,
  183. control = gamlss.control(n.cyc = 50, trace = FALSE)
  184. )
  185. # Parchar call para que predict() encuentre los datos
  186. fit_obj$call$data <- as.name(env_name_df)
  187. fit_obj$call$family <- as.name(env_name_fam)
  188. fit_obj$sigma.call$data <- as.name(env_name_df)
  189. fit_obj
  190. },
  191. error = function(e) {
  192. cat(sprintf("[%s->ERR:%s] ", fam_try,
  193. gsub("\n","",substr(e$message,1,40))))
  194. NULL
  195. })
  196. if (!is.null(fit_try)) {
  197. fit <- fit_try
  198. fam_used <- fam_try
  199. # Avisar si hubo fallback
  200. if (fam_try != fam_candidates[1]) {
  201. cat(sprintf("[fallback->%s] ", fam_try))
  202. }
  203. break
  204. }
  205. }
  206. if (is.null(fit)) { cat("FALLO TOTAL\n"); next }
  207. fam <- fam_used
  208. # ── Diagnóstico: residuos normalizados (ya en fit$residuals) ─────────
  209. pct_out <- mean(abs(fit$residuals) > 1.96, na.rm = TRUE) * 100
  210. results_diagnostics$pct_outside[p] <- round(pct_out, 2)
  211. results_diagnostics$family[p] <- fam
  212. results_diagnostics$transform_used[p] <- transform_used
  213. cat(sprintf("OK (%.1f%%)\n", pct_out))
  214. n_ok <- n_ok + 1
  215. # ── Predict mu y sigma sobre la rejilla de edad ───────────────────────
  216. mu_p <- tryCatch(
  217. predict(fit, newdata=df_pr, type="response", what="mu", data=df_tr),
  218. error = function(e) {
  219. cat(sprintf(" WARN predict mu: %s\n", e$message))
  220. rep(NA_real_, N_AGE_GRID)
  221. }
  222. )
  223. sig_p <- tryCatch(
  224. predict(fit, newdata=df_pr, type="response", what="sigma", data=df_tr),
  225. error = function(e) {
  226. cat(sprintf(" WARN predict sigma: %s\n", e$message))
  227. rep(NA_real_, N_AGE_GRID)
  228. }
  229. )
  230. # ── Predecir nu y tau fuera del loop (una sola vez por variable) ────────
  231. nu_p <- NULL
  232. tau_p <- NULL
  233. if (fam %in% c("BCT","BCPE")) {
  234. nu_p <- tryCatch(
  235. predict(fit, newdata=df_pr, type="response", what="nu", data=df_tr),
  236. error = function(e) rep(NA_real_, N_AGE_GRID)
  237. )
  238. }
  239. if (fam == "BCT") {
  240. tau_p <- tryCatch(
  241. predict(fit, newdata=df_pr, type="response", what="tau", data=df_tr),
  242. error = function(e) rep(NA_real_, N_AGE_GRID)
  243. )
  244. }
  245. # ── Centiles en espacio TRANSFORMADO, luego back-transform ────────────
  246. centile_vals_t <- list()
  247. for (ci in seq_along(centile_levels)) {
  248. cv_t <- if (fam == "NO") {
  249. mu_p + qnorm(centile_levels[ci]) * sig_p
  250. } else if (fam == "BCT") {
  251. tryCatch(
  252. qBCT(centile_levels[ci], mu=mu_p, sigma=sig_p, nu=nu_p, tau=tau_p),
  253. error = function(e) mu_p + qnorm(centile_levels[ci]) * sig_p
  254. )
  255. } else if (fam == "BCPE") {
  256. tryCatch(
  257. qBCPE(centile_levels[ci], mu=mu_p, sigma=sig_p, nu=nu_p),
  258. error = function(e) mu_p + qnorm(centile_levels[ci]) * sig_p
  259. )
  260. } else {
  261. mu_p + qnorm(centile_levels[ci]) * sig_p
  262. }
  263. centile_vals_t[[centile_names[ci]]] <- cv_t
  264. # Back-transform al espacio original antes de guardar
  265. results_centiles[[paste0(vname, "_", centile_names[ci])]] <-
  266. apply_inv_transform(cv_t, transform_used)
  267. }
  268. # mu y sigma se guardan en espacio TRANSFORMADO (necesario para Z-scores)
  269. results_centiles[[paste0(vname, "_mu")]] <- mu_p
  270. results_centiles[[paste0(vname, "_sigma")]] <- sig_p
  271. # sigma_eff basado en IQR 2.5–97.5 en espacio transformado
  272. sig_eff <- (centile_vals_t[["p975"]] - centile_vals_t[["p025"]]) / (2 * 1.96)
  273. coef_export[[paste0(vname, "_mu")]] <- mu_p
  274. coef_export[[paste0(vname, "_sigma")]] <- sig_eff
  275. if (!is.null(nu_p)) coef_export[[paste0(vname, "_nu")]] <- nu_p
  276. if (!is.null(tau_p)) coef_export[[paste0(vname, "_tau")]] <- tau_p
  277. # ── Limpiar GlobalEnv ─────────────────────────────────────────────────
  278. rm(list = intersect(c(env_name_fam, env_name_df, env_name_pr,
  279. "yy", "aa", "fam"),
  280. ls(envir = .GlobalEnv)),
  281. envir = .GlobalEnv)
  282. }
  283. # ── Guardar resultados ────────────────────────────────────────────────────
  284. write.csv(results_centiles, file.path(DATA_DIR, paste0(prefix, "_gamlss_centiles.csv")), row.names=FALSE)
  285. write.csv(results_diagnostics, file.path(DATA_DIR, paste0(prefix, "_gamlss_diagnostics.csv")), row.names=FALSE)
  286. write.csv(coef_export, file.path(DATA_DIR, paste0(prefix, "_gamlss_curves.csv")), row.names=FALSE)
  287. # Metadatos del modelo: transform aplicado + nombre del prefix
  288. write.csv(data.frame(field = c("transform","prefix"),
  289. value = c(transform, prefix),
  290. stringsAsFactors = FALSE),
  291. file.path(DATA_DIR, paste0(prefix, "_gamlss_model_meta.csv")),
  292. row.names=FALSE)
  293. pct_vals <- results_diagnostics$pct_outside[!is.na(results_diagnostics$pct_outside)]
  294. cat(sprintf("\n Ajustadas: %d/%d mediana: %.1f%%\n Curvas: %s\n",
  295. n_ok, P,
  296. ifelse(length(pct_vals) > 0, median(pct_vals), NA),
  297. paste0(prefix, "_gamlss_curves.csv")))
  298. # Limpieza final por si quedó algo
  299. stale <- ls(envir=.GlobalEnv, pattern=paste0("^\\.gamlss_.*_", prefix, "_"))
  300. if (length(stale) > 0) rm(list=stale, envir=.GlobalEnv)
  301. invisible(list(centiles = results_centiles,
  302. diagnostics = results_diagnostics,
  303. curves = coef_export))
  304. }
  305. # ── Ejecutar todos los prefijos ───────────────────────────────────────────────
  306. PREFIXES <- c("AIb", "AIe", "Arousal","Valence","CognAf",
  307. "TB1325R","TB1325RFC",
  308. "DB1325R","DB1325RFC",
  309. "DB1325RF3F4Asym","TB1325RF3F4Asym",
  310. "DB1325RF7F8Asym","TB1325RF7F8Asym",
  311. "DB1325RT3T4Asym","TB1325RT3T4Asym",
  312. "ABR","TBR","TAR","EI",
  313. "DB1325RT5T6Asym","TB1325RT5T6Asym",
  314. "AsymIdx","IAF")
  315. for (px in PREFIXES) fit_one_prefix(px)

fit_gamlss_v4.R at commit 1bb350a, no license · at the source

Overview

Authors: J Bosch-Bayard1,2, J Guerrero-Sauzameda2, R I Bosch-Bayard3,4, R Pérez-Elvira5,6, A Bosch-Castro2, J Sánchez-Rodríguez2, A Flores2, K Flores2, E Resendiz-Flores2, A Ferrando7, P Ferrando7, L Galán-García8, F Mushtaq9, P Valdes-Sosa10, G A Chiarenza11, R J Biscay12, L Morales-Chacón13
13 affiliations
  1. Faculty of Psychology, Carl von Ossietzky Universität Oldenburg, Oldenburg, Germany
  2. Centro Integrador del Movimiento, Mente y Conducta (CIMMCO), Querétaro, México
  3. State University of Zanzibar, Zanzibar, Tanzania
  4. Universidad de Ciencias Médicas de La Habana, Havana, Cuba
  5. Department of Psychobiology, Faculty of Psychology, Pontifical University of Salamanca, Salamanca, Spain
  6. Neuropsychophysiology Laboratory, NEPSA Rehabilitación Neurológica, Salamanca, Spain
  7. Neuropulse, Neurocare Center, Encarnación, Paraguay
  8. Cuban Neuroscience Center, Havana, Cuba
  9. University of Leeds, Leeds, UK
  10. MOE Key Lab for Neuroinformation, School of Life Science and Technology, The Clinical Hospital of Chengdu Brain Science Institute, University of Electronic Science and Technology of China, Chengdu, China
  11. Centro Internazionale Disturbi di Apprendimento, CIDAAI, Attenzione, Iperattività, Milano, Italy
  12. Centro de Investigaciones en Matemática (CIMAT), Guanajuato, Mexico
  13. Universidad Internacional de La Rioja, Logroño, Spain
Journal: Brain topography, volume 39, issue 5, article 87
Dates: received 6 April 2026; accepted 23 July 2026; published online 31 July 2026; in print 2026
Type: Research article · Language: English
License: CC BY
Identifiers: DOI 10.1007/s10548-026-01240-4 · PMID 42536113 · PMCID PMC13427868 · OpenAlex W7171922662
Open access: hybrid, a free copy (OpenAlex)
Status: code verified
Categories: EEG (modality), human (organism), computational (subfield)
Methods: Machine learning, Preprocessing, Spectral & time-frequency, Physiology & signal measures
Keywords: Quantitative EEG, Normative models, GAMLSS, Spectral ratios (theta/beta, arousal), Electrode-level spectral normalization, Therapeutic monitoring
MeSH: Brain*, Electroencephalography*, Adolescent, Adult, Aged, Aged, 80 and over, Aging, Child, Child, Preschool, Female, Humans, Male, Middle Aged, Young Adult (* major topic)
Topic: Functional Brain Connectivity Studies (Cognitive Neuroscience, Neuroscience), according to OpenAlex
Citations: not cited yet (Europe PMC); 55 references in the paper

Abstract

Quantitative EEG (qEEG) provides objective, millisecond-resolution measures of brain dynamics. Despite decades of methodological advances, clinically relevant derived indices—spectral power ratios, cognitive-emotional state markers, and physiological parameters—are typically reported as raw values without the normative context required for individualized clinical inference. To develop the first systematic age-dependent normative models for this family of derived qEEG indices using a multinational database, enabling probabilistic Z-score interpretation at the individual level with potential applications in objective therapeutic monitoring. Normative modeling was applied to the HarMNqEEG database (n = 1,564 neurologically healthy participants, ages 5–97, 9 countries, eyes-closed resting state). Electrode-level Spectral Normalization (ESN) removed inter-individual and inter-device amplitude variability while preserving the neurophysiological interpretability of each index. Age-dependent normative trajectories were estimated using Generalized Additive Models for Location, Scale, and Shape (GAMLSS) with P-splines on log(age), allowing conditional mean and variance to vary non-linearly across the lifespan. GAMLSS modeling revealed significant non-linear age-dependent trajectories for all indices. Slow-wave-dominated ratios showed steep decreases from childhood to early adulthood, consistent with cortical maturation; alpha-dominated indices increased during adolescence before stabilizing. ESN normalization yielded well-calibrated normative residuals across the full age range for all indices, except Valence. For the Valence index, a quantile regression model is provided as the recommended normative reference due to its spike-and-slab marginal distribution. These normative models provide a principled, age-adjusted probabilistic framework for individual-level qEEG interpretation, based on eyes closed resting state recordings, laying the methodological groundwork for future clinical validation in diagnostic and therapeutic monitoring applications. The ESN strategy requires no knowledge of recording equipment, ensuring broad applicability across clinical and research settings.

Supplementary Information: The online version contains supplementary material available at https://doi.org/10.1007/s10548-026-01240-4.

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

Repositories

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

CCC-members/HarMNqEEG

License: GPL-3.0
State: the link answers, verified on 27 September 2026
Evidence: files inventoried
Commit: ad77ce35673889a69215ba686c5cfb9727b665f8, 3 March 2025
Languages: MATLAB (46)
Size: 54 files, 46 scripts
Software Heritage: not archived
Found in: “Data Availability”
Holds: README, license file
Not found: CITATION.cff, environment file, tests, continuous integration, documentation
Tools: EEGLAB (1 file)
Availability: 1 check, the latest on 27 September 2026: the link answers
  • 27 September 2026: the link answers
48 files

oldgandalf/Normatives-spectral-based-indexes-from-EEG-resting-state

License: none: the authors keep all their rights
State: the link answers, verified on 27 September 2026
Evidence: files inventoried
Commit: 1bb350a485b3fdee990d0c69a4ad2e9e71c944cd, 18 May 2026
Languages: R (1)
Size: 30 files, 1 script
Software Heritage: not archived
Found in: “Data Availability”
Holds: README
Not found: license file, CITATION.cff, environment file, tests, continuous integration, documentation
Availability: 1 check, the latest on 27 September 2026: the link answers
  • 27 September 2026: the link answers
2 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:

  • 2 repositories of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
  • 47 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

Datasets cited

Data Availability

The HarMNqEEG normative database is publicly available at https://github.com/CCC-members/HarMNqEEG. GAMLSS model parameters, centile curves, and Z-score computation scripts (MATLAB/R) will be released at https://github.com/oldgandalf/Normatives-spectral-based-indexes-from-EEG-resting-state upon acceptance, subject to a reasonable request to the corresponding author.

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

  • Publisher: n/a → Springer Science+Business Media
  • Funding: added Carl von Ossietzky Universität Oldenburg

Version 1, 27 September 2026: the first record

Recorded: type, language, journal, volume, issue, pages, dates, 17 authors, 7 keywords, 14 MeSH terms, 48 references.

Cite

This paper

Bosch-Bayard, J., Guerrero-Sauzameda, J., Bosch-Bayard, R. I., Pérez-Elvira, R., Bosch-Castro, A., Sánchez-Rodríguez, J., Flores, A., Flores, K., Resendiz-Flores, E., Ferrando, A., Ferrando, P., Galán-García, L., Mushtaq, F., Valdes-Sosa, P., Chiarenza, G. A., Biscay, R. J., & Morales-Chacón, L. (2026). Back to the Future of qEEG: Lifespan Normative Modeling of Spectral Ratios and Functional Indices with Potential Applications to Therapeutic Monitoring. Brain topography, 39(5), 87. https://doi.org/10.1007/s10548-026-01240-4

BibTeX

@article{boschbayard2026back,
author = {Bosch-Bayard, J and Guerrero-Sauzameda, J and Bosch-Bayard, R I and Pérez-Elvira, R and Bosch-Castro, A and Sánchez-Rodríguez, J and Flores, A and Flores, K and Resendiz-Flores, E and Ferrando, A and Ferrando, P and Galán-García, L and Mushtaq, F and Valdes-Sosa, P and Chiarenza, G A and Biscay, R J and Morales-Chacón, L},
title = {{Back to the Future of qEEG: Lifespan Normative Modeling of Spectral Ratios and Functional Indices with Potential Applications to Therapeutic Monitoring}},
journal = {Brain topography},
year = {2026},
month = jul,
volume = {39},
number = {5},
pages = {87},
publisher = {Springer Science+Business Media},
issn = {0896-0267},
doi = {10.1007/s10548-026-01240-4},
url = {https://doi.org/10.1007/s10548-026-01240-4},
pmid = {42536113},
pmcid = {PMC13427868}
}

RIS

TY - JOUR
AU - Bosch-Bayard, J
AU - Guerrero-Sauzameda, J
AU - Bosch-Bayard, R I
AU - Pérez-Elvira, R
AU - Bosch-Castro, A
AU - Sánchez-Rodríguez, J
AU - Flores, A
AU - Flores, K
AU - Resendiz-Flores, E
AU - Ferrando, A
AU - Ferrando, P
AU - Galán-García, L
AU - Mushtaq, F
AU - Valdes-Sosa, P
AU - Chiarenza, G A
AU - Biscay, R J
AU - Morales-Chacón, L
TI - Back to the Future of qEEG: Lifespan Normative Modeling of Spectral Ratios and Functional Indices with Potential Applications to Therapeutic Monitoring
T2 - Brain topography
J2 - Brain Topogr
PY - 2026
DA - 2026/07/31
VL - 39
IS - 5
SP - 87
SN - 0896-0267
PB - Springer Science+Business Media
DO - 10.1007/s10548-026-01240-4
UR - https://doi.org/10.1007/s10548-026-01240-4
LA - en
ER -

CSL-JSON

{
"id": "10.1007/s10548-026-01240-4",
"type": "article-journal",
"title": "Back to the Future of qEEG: Lifespan Normative Modeling of Spectral Ratios and Functional Indices with Potential Applications to Therapeutic Monitoring",
"container-title": "Brain topography",
"author": [
{
"family": "Bosch-Bayard",
"given": "J"
},
{
"family": "Guerrero-Sauzameda",
"given": "J"
},
{
"family": "Bosch-Bayard",
"given": "R I"
},
{
"family": "Pérez-Elvira",
"given": "R"
},
{
"family": "Bosch-Castro",
"given": "A"
},
{
"family": "Sánchez-Rodríguez",
"given": "J"
},
{
"family": "Flores",
"given": "A"
},
{
"family": "Flores",
"given": "K"
},
{
"family": "Resendiz-Flores",
"given": "E"
},
{
"family": "Ferrando",
"given": "A"
},
{
"family": "Ferrando",
"given": "P"
},
{
"family": "Galán-García",
"given": "L"
},
{
"family": "Mushtaq",
"given": "F"
},
{
"family": "Valdes-Sosa",
"given": "P"
},
{
"family": "Chiarenza",
"given": "G A"
},
{
"family": "Biscay",
"given": "R J"
},
{
"family": "Morales-Chacón",
"given": "L"
}
],
"container-title-short": "Brain Topogr",
"volume": "39",
"issue": "5",
"page": "87",
"DOI": "10.1007/s10548-026-01240-4",
"PMID": "42536113",
"PMCID": "PMC13427868",
"ISSN": "0896-0267",
"publisher": "Springer Science+Business Media",
"URL": "https://doi.org/10.1007/s10548-026-01240-4",
"language": "en",
"issued": {
"date-parts": [
[
2026,
7,
31
]
]
}
}

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.1162/imag.a.1269 [code]
From early to contemporary normative modeling: Mapping individual differences in neurophysiological signals.
Journal: Imaging neuroscience (Cambridge, Mass.)
In common: computational, EEG, 10 references
[2] doi:10.1016/j.cnp.2026.02.007
EEG Signatures of COVID-19 Survival compared to close contacts and the Cuban EEG normative database.
Journal: Clinical neurophysiology practice
In common: EEG, 2 references, author J Bosch-Bayard
[3] doi:10.1038/s42003-026-10164-5 [code]
The influence of nonlinear resonance on human cortical oscillations.
Journal: Communications biology
In common: EEGLAB, EEG, 4 references
[4] doi:10.1162/imag.a.1224 [code]
Test-retest reliability analysis of resting-state EEG measures and their association with long-term memory in children and adults.
Journal: Imaging neuroscience (Cambridge, Mass.)
In common: EEGLAB, EEG, 4 references
[5] doi:10.7554/elife.111114 [code]
Theta beta ratio in attention deficit hyperactivity disorder using a multiverse analysis.
Journal: eLife
In common: EEGLAB, EEG, 4 references
[6] doi:10.3389/fnagi.2026.1885392
State sensitivity and five-year longitudinal stability of resting-state EEG biomarker candidates in healthy adults.
Journal: Frontiers in aging neuroscience
In common: EEG, 4 references
[7] doi:10.1016/j.isci.2026.116995
EEG microstates and dynamic functional connectivity reveal stage-specific brain networks in subjective tinnitus.
Journal: iScience
In common: EEG, 3 references
[8] doi:
Tutorial on using EEG microstates to study moment-to-moment large-scale functional brain network dynamics in neurodevelopment
Journal: Frontiers in neuroscience
In common: EEG, 3 references
[9] doi:10.1093/braincomms/fcag043 [code]
Linking movement-related beta oscillations to cortical excitability, structural damage, and fatigue in multiple sclerosis.
Journal: Brain communications
In common: EEGLAB, EEG, 2 references
[10] doi:10.1111/psyp.70285 [code]
Spontaneous Modulation of Alpha Power During a Neurofeedback Session Without Instructions.
Journal: Psychophysiology
In common: EEGLAB, EEG, 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.

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.