Resistance training and heart rate variability: rebuilding the beats
A 2025 study found much higher SDNN and RMSSD in resistance-trained young adults. We rebuild ECGs that give those exact numbers, check the Poincare identities, and find one table row that cannot be right.
Heart rate variability (HRV) is the small, constant wobble in the gaps between heartbeats. A calm, well-recovered heart wobbles more; a stressed one beats like a metronome. A 2025 study in Jornal Vascular Brasileiro compared 12 resistance-trained young adults with 12 untrained ones of the same age and found the trained group’s beat-to-beat variation about twice as large. Their table has seven HRV measures per group, and those measures are tied together by exact arithmetic, so a reader can test them. This article shows how the ECG viewer rebuilds a heartbeat series that produces each group’s published numbers, and which of the published numbers survive the check. For the related jobs, clean mains hum out of a biosignal with the notch filter, set training intensities with heart rate zones, and compare a wearable against an ECG with bland-Altman agreement plot.
The paper in brief
Twenty-eight people were screened and 24 kept: 12 resistance-trained (at least a year of regular lifting) and 12 untrained controls, all physically active, all about 25 years old, half of them women. Each lay supine in a quiet, temperature-controlled room for 15 minutes with a Polar RS800CX chest strap; a 5-minute window was analysed in Kubios HRV 2.0.
The trained group came out far ahead on the time-domain measures: RMSSD 75.3 against 37.5 ms (p = 0.001) and SDNN 65.8 against 40.2 ms (p = 0.004), with the Poincare measures following (SD1 53.3 against 26.5 ms, SD2 75.8 against 49.8 ms). The frequency-domain measures did not separate the groups: LF 47.4 against 57.8 normalised units (p = 0.09), HF 50.3 against 56.5 n.u. (p = 0.33) and LF/HF 0.94 against 1.55 (p = 0.18). The authors read this as greater parasympathetic (vagal) activity in people who lift weights.
RMSSD is the root-mean-square of the differences between one interval and the next; SDNN is the standard deviation of the intervals themselves. SD1 and SD2 are the short and long axes of the Poincare cloud, the scatter of each interval against the one before it.
Checked with the tools
We have no access to anyone’s heartbeats, so we worked the other way round: we built two synthetic ECGs whose HRV, measured with the tool’s own pipeline, lands on each group’s published values, and then checked the identities that any real HRV table must satisfy.
Step 1: the identities in the paper’s own table. Three relations hold by definition for any set of intervals. The tool computes all the quantities involved, so each is a free check on the published table:
| Identity | Trained group | Untrained group |
|---|---|---|
| SD1 should equal RMSSD / sqrt(2) | 75.3 / 1.414 = 53.25 against SD1 53.3 | 37.5 / 1.414 = 26.52 against SD1 26.5 |
| SD1 squared plus SD2 squared should equal twice SDNN squared | gives SDNN 65.52 against 65.8 | gives SDNN 39.89 against 40.2 |
| LF and HF in normalised units should add to 100 | 47.4 + 50.3 = 97.7 | 57.8 + 56.5 = 114.3 |
The first two pass to within half a percent, which is what rounding to one decimal place does. The third fails for the untrained group: normalised units are shares of LF plus HF, so the two must add up to 100, and 114.3 is impossible. The same row also fails a second way: LF/HF worked out from those shares is 57.8 / 56.5 = 1.02, not the 1.55 printed next to it. The trained row is self-consistent (47.4 / 50.3 = 0.94, exactly as printed). So one of the untrained group’s three frequency-domain numbers is a typographical slip. This matters because that row carries the paper’s weakest claim, and anyone pooling it into a meta-analysis would inherit the error.
Step 2: ECGs that give the published numbers. The tool’s ECG generator builds a single-lead trace from Gaussian P, Q, R, S and T waves, with the interval between beats swung by a slow 0.1 Hz rhythm (LF), a breathing rhythm at 0.25 Hz (HF) and random jitter, plus baseline wander, 50 Hz mains hum and white noise. We searched the three variability amplitudes until the tool’s own measurement of a 5-minute trace matched each group’s SDNN, RMSSD and LF/HF (our fitted settings are in the script). Then we ran the standard pipeline: band-pass 0.5 to 40 Hz with a 50 Hz notch, Pan-Tompkins beat detection, time-domain HRV, and a Lomb-Scargle spectrum.
| Measure | Paper, trained | Our rebuilt trace | Paper, untrained | Our rebuilt trace |
|---|---|---|---|---|
| Mean heart rate (bpm) | not reported | 60.5 | not reported | 70.3 |
| SDNN (ms) | 65.8 | 65.8 | 40.2 | 39.8 |
| RMSSD (ms) | 75.3 | 75.3 | 37.5 | 37.9 |
| SD1 (ms) | 53.3 | 53.3 | 26.5 | 26.8 |
| SD2 (ms) | 75.8 | 76.3 | 49.8 | 49.5 |
| LF/HF | 0.94 | 0.94 | 1.02 (from the shares) | 1.02 |
| pNN50 (%) | not reported | 58.2 | not reported | 22.1 |
The detector found every beat in both traces, 301 and 350 of them, within 0.7 ms of where they were placed, and set aside no intervals as artefacts. Figure 1 shows the two interval series. The trained trace swings over a 300 ms range; the untrained one is visibly tighter even though its heart rate is only 10 bpm higher.
Step 3: RMSSD above SDNN is unusual, and says something. In the trained group RMSSD (75.3) is larger than SDNN (65.8). That only happens when the beat-to-beat change is bigger than the drift over the whole record, which in practice means strong respiratory modulation, so our fitted trace needed a large breathing component and large jitter. The untrained group’s RMSSD (37.5) sits below its SDNN (40.2), and the fit needed almost no jitter at all: in that group nearly all the variability is rhythmic. The spectra in Figure 2 show the consequence, with the HF (breathing) band carrying the extra power in the trained trace.
A caution the tool makes concrete: the paper’s group LF/HF of 1.55 could not be rebuilt from its own LF and HF shares, and a mean of per-person ratios is not the ratio of the mean shares. With a standard deviation of 1.2 on a mean of 1.55, a few people with low HF dominate that average. Report the normalised shares, or the log of the ratio, and this disappears.
How we made the graphs
The figures and every number in them come from scripts/blog-figures/resistance-trained-young-adults-hrv-sdnn-rmssd-simulated-ecg.mjs in fibub’s public code. It calls, from src/lib/sci/ecg.ts (the maths behind the ECG viewer): synthEcg to build the trace, panTompkins for beat detection, hrvTime for SDNN, RMSSD, pNN50, SD1 and SD2, and hrvFreq for the Lomb-Scargle spectrum and the LF and HF band powers, with filtfilt and bandSections from src/lib/sci/biosig.ts for the zero-phase band-pass and notch.
From the paper: the group means for SDNN, RMSSD, SD1, SD2, LF, HF and LF/HF, the 5-minute analysis window and the supine resting protocol. Our assumptions: a mean heart rate of 60 bpm (trained) and 70 bpm (untrained), which the paper does not report; a 250 Hz sample rate; LF at 0.1 Hz and breathing at 0.25 Hz; and the three fitted variability amplitudes (trained: slow 59.4 ms, breathing 61.7 ms, jitter 27.1 ms; untrained: 40.1, 39.5 and 0.4 ms). The traces are simulated. They are not anybody’s heartbeats, and they only show that a plausible heart could produce the published summary numbers.
How we test the maths
On every change to fibub, tests/sci.mjs runs tests/sci-tools/ecg-viewer.mjs, which pins the whole chain against SciPy and NumPy:
- the band-pass and notch filter coefficients must match
scipy.signal.butterandiirnotchto seven decimals, and the zero-phase filter output must matchsosfiltfiltto twelve; - Pan-Tompkins must find all 204 beats of the example recording, and all beats of variants at 45 and 150 bpm, with 10 % noise and with inverted R waves, each within 3 ms of the true time;
- on the detected beats, the example’s mean heart rate must be 68.2573 bpm, SDNN 37.6211 ms, RMSSD 33.6756 ms, pNN50 13.8614 %, SD1 23.8688 ms and SD2 47.5497 ms, as NumPy gives them;
- the LF and HF band powers must match
scipy.signal.lombscarglescaled the same way; - new with this article: the two rebuilt traces must keep giving SDNN 65.80 and RMSSD 75.30 ms (trained) and SDNN 39.83 and RMSSD 37.87 ms (untrained), with every beat detected, so a change to the detector or the filters cannot quietly move this article’s numbers.
Check it yourself
You do not need a recording to repeat most of this. On the ECG viewer page:
- Press Use the example. It loads a made-up 3-minute, 250 Hz ECG; leave Layout on Values only, Sample rate (Hz) at 250, High-pass cut-off (Hz) at 0.5, Low-pass cut-off (Hz) at 40 and Mains hum filter on 50 Hz notch.
- Read the results: 204 beats, mean heart rate 68.3 bpm, SDNN 37.6 ms, RMSSD 33.7 ms, pNN50 13.9 %, SD1 23.9 ms and SD2 47.6 ms. Check the first identity yourself: 33.7 / 1.414 = 23.8, the SD1 on screen.
- Compare with the paper: this example sits close to its untrained group on SDNN but well below its trained group, whose RMSSD of 75 ms would need a much stronger breathing rhythm.
- Set Mains hum filter to Off and watch the beat count stay at 204: the 50 Hz hum is far above the QRS band, so it changes the picture but not the beats.
- Set Set aside RR intervals that differ from the local median by more than to 10 % and watch intervals start being removed, and SDNN fall. On a real recording this switch is how you keep one missed beat from doubling your SDNN.
- Use Window and Start at to scroll through 10-second slices and see the breathing rhythm in the interval lengths, then Download beats (CSV) to take the intervals into your own analysis.
To rebuild our two group traces exactly, run the figure script above; it prints every number in this article.
What researchers can use it for
- Check a published HRV table in two minutes. SD1 = RMSSD / sqrt(2), SD1 squared plus SD2 squared = 2 x SDNN squared, and LF + HF in normalised units = 100. A table that breaks one of these has a typo or a different definition, and the tool computes all five quantities from the same beats.
- See what your filter and artefact settings do to your own numbers by rerunning the same recording with a different band-pass, notch or artefact tolerance before you report SDNN.
- Decide how long a recording you need: load a long trace, analyse windows of different length, and watch how much SDNN and LF power move. Five minutes is a convention, not a measurement.
- Teach the autonomic story concretely: a stronger breathing rhythm raises RMSSD and HF; a slow 0.1 Hz swing raises SDNN and LF. The example recording makes both visible in the interval series.
- Validate a wearable by recording an ECG beside it and comparing the interval series, then plotting the agreement with bland-Altman agreement plot rather than a correlation.
The fine print
- Our ECGs are simulated from the paper’s published group means. Nothing here is a real recording, and a group mean does not describe any individual.
- The paper’s mean heart rate is not reported, so the heart rates in our traces are our own choice; SDNN and RMSSD depend on it, which is one reason mean heart rate should always be published beside them.
- The inconsistency we flag is in the published frequency-domain row for the untrained group, in a measure the paper found no group difference in. The time-domain finding, which is the paper’s main result, is internally consistent and unaffected.
- The study is observational and cross-sectional: trained and untrained people differ in many ways besides lifting weights, and 12 people per group is small.
- HRV is not a diagnosis. The tool, and this article, are for study and research.
Sources
- Barbosa GM, Gobbo HR, Oliveira LC, Morales AP, Oliveira GV (2025), The impact of resistance training on heart rate variability parameters in physically active young adults, Jornal Vascular Brasileiro 24: e20240150, doi:10.1590/1677-5449.20240152. Licence CC BY 4.0, stated on the SciELO article page and confirmed in the Crossref record, checked 2026-11-24; not retracted or corrected. Values used here: 24 participants (12 resistance-trained, 12 untrained), age 25 +/- 5 and 25 +/- 3 years; Polar RS800CX chest strap, supine, 15 minutes of rest with a 5-minute window analysed in Kubios HRV 2.0; RMSSD 75.3 +/- 28.5 against 37.5 +/- 19.6 ms (p = 0.001); SDNN 65.8 +/- 23.1 against 40.2 +/- 14.2 ms (p = 0.004); SD1 53.3 +/- 20.2 against 26.5 +/- 13.8 ms; SD2 75.8 +/- 27.2 against 49.8 +/- 16.5 ms; LF 47.4 +/- 11.1 against 57.8 +/- 16.8 n.u.; HF 50.3 +/- 11.1 against 56.5 +/- 17.4 n.u.; LF/HF 0.94 +/- 0.4 against 1.55 +/- 1.2.
- Task Force of the European Society of Cardiology and the North American Society of Pacing and Electrophysiology (1996), Circulation 93: 1043-1065 (the HRV measures and the LF and HF bands used here).
- Brennan M, Palaniswami M, Kamen P (2001), IEEE Transactions on Biomedical Engineering 48: 1342-1347 (the Poincare SD1 and SD2 identities).
- Pan J, Tompkins WJ (1985), IEEE Transactions on Biomedical Engineering 32: 230-236 (the QRS detector in the tool).
If you are an author or publisher and want a credit or a passage changed or removed, tell us and we will act quickly.