From meditation to concentration & mind wandering
Experienced and novice meditators rated their experience. Quality checks left 23 participants and 929 probes in the discovery analysis.
View original dataset ↗RESEARCH / 01 A FIELD GUIDE TO THE MED-EEG STUDY
What did the experiment measure? Why were different models compared? Which findings survived testing? A visual notebook explaining the methods, evidence and limitations.
Reading the published results bundle…
Participants meditate wearing EEG caps, then rate their own concentration, mind wandering, or meditation depth. We investigate whether preceding EEG helps predict those subjective reports.
Can two understandable measurements compete with much richer descriptions of the EEG?
With the same input measurements, does a more flexible model perform better?
Do predictions generalize to people not used during training?
Experienced and novice meditators rated their experience. Quality checks left 23 participants and 929 probes in the discovery analysis.
View original dataset ↗39 experienced Vipassana meditators contributed 1,707 analysed depth reports. The registered ratio-replication test used a specific 830-report subset.
View original dataset ↗Select a stage to understand what its code actually does. The process is offline: the dashboard shows previously computed results, not incoming headset data.
Each pre-report EEG window is paired with a participant's self-reported rating. The recording supplies the input; the rating supplies the target that a model learns to predict.
A feature is a numerical description of a signal. We don't train on “focus” itself: we train on measurements of EEG, paired with the participant's reported rating.
How strong is the fast gamma band (30–45 Hz) relative to slower theta (4–8 Hz)? The quotient is a candidate feature, not a concentration meter.
Does the amplitude of fast gamma systematically depend on the phase of slower theta? The code measures a modulation index and compares it with time-shifted surrogates.
Six scalp regions × 11 spectral measurements, plus frontal alpha asymmetry. These describe the amount and distribution of frequency content across the head.
Rather than measuring power alone, covariance describes which electrodes' voltage signals vary together. A symmetric 64 × 64 matrix contains 2,080 unique entries.
Ridge learns regularized weighted combinations. Gradient boosting builds many decision trees. Riemannian ridge transforms covariance matrices, then still uses ridge regression.
Fits feature weights while penalizing extreme weights. Useful when many EEG features are correlated.
prediction = Σ(weight × feature) + biasCombines many small decision trees, each improving the ensemble. Can capture thresholds and interactions ridge may miss.
prediction = initial + tree₁ + tree₂ + …Converts covariance matrices to tangent-space vectors, then fits a regularized linear predictor.
covariance → tangent features → RidgeCVAUC is a ranking metric, not percent accuracy. The expertise task instead reports participant-level classification accuracy. Scores and uncertainty shown here come from the published JSON, not recomputed in your browser.
A good training score isn't proof of a useful EEG effect. The project uses independent participants, non-EEG comparisons, permutation tests, and multiple-testing correction.
Each participant's entire set of recordings stays out of model training in their test round. With 39 people, the depth experiment runs 39 held-out-person rounds per model.
Four-person teaching example. The real study has 39 people for the depth experiment.
Time, sex, age, and experiment context can predict some labels. The EEG model should beat appropriate no-EEG baselines, not just chance.
The analysis deliberately disrupts the EEG–rating pairing and reruns evaluation. For state tasks, ratings are circularly shifted within recordings to preserve more of their time structure.
Testing many models raises the chance of a misleadingly small p-value. Holm adjusts p-values across a defined family of tests.
The corrected result does not cross the 0.05 threshold.
The published findings are modest and mixed. The website should make both positive and negative evidence visible, not just showcase a winning model.
Loading results from the published research bundle…
Each follow-up tests a different weakness of the original hypothesis. These are documented research phases, not features of a current clinical or real-time product.
Inspect raw datasets, process the EEG, extract ratio/PAC and regional spectral measurements, compare simple linear models with boosting, and audit models against non-EEG baselines.
Model comparison source ↗Mixed-effects models account for repeated ratings within people. Training-only electrode selection probes whether fewer sensors suffice; the promising AF8 single-electrode lead did not replicate across sessions.
Electrode experiment ↗On ds008836's 830-report silent-block subset, the amended primary slope was −0.072, one-sided p = 0.064. A previously reported successful mixed-model fit was invalid and the verdict was withdrawn.
Replication results ↗Riemannian covariance + ridge achieved a reported AUC of 0.609 over 39 people and 1,707 reports, better than the context-only baseline (0.519). This is relative, within-person depth ranking—not exact depth prediction.
Depth model results ↗Nine variants failed to confirm an improvement over plain covariance. A grouped-regularization rerun gave AUC 0.607; a separate 13-person holdout reached 0.551 (p = 0.057). The result is not equally strong in every sample.
Model search and holdout ↗EEG from 60–120 s before a report had AUC 0.584 (Holm p = 0.020), but those bins contain more data than short near-report bins. Session-to-session fidelity stability was not supported (ρ = 0.15, p = 0.19).
The bins have unequal durations. Equal-length analyses suggest a slowly changing state rather than proven online forecasting.
Phase 9 results ↗Reproducible Python analysis components, documented comparisons, held-out-person evaluation, published results, and a website that explains those results.
A validated live concentration meter, clinical accuracy, robust single-electrode prediction, real-time EEG acquisition, or forecasting using only past data.
publish_results.pyresults.jsonWEB DASHBOARDThe public results site fetches a JSON summary from GitHub. The live status refers to fetching newly published research summaries, not streaming someone's EEG. Some preprocessing and normalization use full sessions and therefore cannot be treated as prospective predictions.