| Literature DB >> 34042004 |
Ben Serrien1, Maggy Goossens2,3, Jean-Pierre Baeyens1,2,3.
Abstract
Recent developments in Statistical Parametric Mapping (SPM) for continuum data (e.g. kinematic time series) have been adopted by the biomechanics research community with great interest. The Python/MATLAB package spm1d developed by T. Pataky has introduced SPM into the biomechanical literature, adapted originally from neuroimaging. The package already allows many of the statistical analyses common in biomechanics from a frequentist perspective. In this paper, we propose an application of Bayesian analogs of SPM based on Bayes factors and posterior probability with default priors using the BayesFactor package in R. Results are provided for two typical designs (two-sample and paired sample t-tests) and compared to classical SPM results, but more complex standard designs are possible in both classical and Bayesian frameworks. The advantages of Bayesian analyses in general and specifically for SPM are discussed. Scripts of the analyses are available as supplementary materials.Entities:
Keywords: Bayes Factor; Bayesian inference; Q-value; Statistical Parametric Mapping; false discovery rate; posterior probability; time series
Year: 2019 PMID: 34042004 PMCID: PMC8211129 DOI: 10.1080/23335432.2019.1597643
Source DB: PubMed Journal: Int Biomech ISSN: 2333-5432
Description of example datasets used for the three frequentist and Bayesian SPM tests. The first two datasets are part of the spm1d-package (© T. Pataky)
| Statistical test | Example dataset |
|---|---|
| Two-sample | SimulatedTwoLocalMax. Dataset of 2 x n = 6 simulated time series of 101 time samples each. The first set are smooth unit Gaussian random trajectories. The second set are also smooth unit Gaussian trajectories, but with bursts at t = 25 and t = 75. |
| Paired-sample | PlantarArchAngle (Caravaggi et al., 2010). Dataset of 2 x n = 10 experimental time series of the plantar arch angle of the foot at 101 time samples each. |
| Paired sample | GaitSymmetry. Single subject dataset (healthy male, 28 years, 83 kg, 178 cm) of left and right leg knee flexion angles during 99 gait cycles on a dual-belt tredmill at constant speed of 4.5 km/h, time normalized to 101 time samples. Gait kinematics were recorded with a 6-camera VICON system at 250 Hz. (unpublished data from our lab). |
Figure 1.Classical SPM{t} results for the three datasets. Top row shows descriptive statistics for each dataset (Mean ± 1 SD error cloud). Bottom row shows the frequentist inferences. The horizontal dashed lines depict the critical t* based on α = 0.05 and RFT calculations of residual smoothness. Supra-threshold clusters result in p < 0.05. For the GaitSymmetry example, note that these are time series from a single subject, the SD-cloud thus represents within-subject variability instead of between-subject variability. The inference only pertains to this subject
Classical SPM{t} results for the three datasets. Begin and end-points of supra-threshold cluster locations are given as a percentage of the total movement time
| Evidence against | ||
|---|---|---|
| Cluster location | ||
| SimulatedTwoLocalMax | t = 24–27 | |
| PlantarArchAngle | t = 97–101 | |
| GaitSymmetry | t = 74–78 | |
Figure 2.Cauchy priors for the effect size δ with different scales (solid line: r = √2/2 (medium), dot-dashed: r = 1 (wide) and dashed: r = √2 (ultra-wide)). Fifty percent of the probability mass lies between – r and + r.
Figure 3.Panels (a), (b) and (c) give descriptive statistics for the three datasets (replicated from Figure 1). Panels (d), (e) and (f) give the posterior probability maps (PPM) for the alternative hypothesis: a time series of P(H | data) (only shown for r= √2/2, see Table 3 for comparison to the other scales). The horizontal dashed lines at 0.05 and 0.95 depict the thresholds for which, respectively, P(H | data) > 0.95 and P(H | data) > 0.95 [P(H | data) + P(H | data) = 1]. Panels (g), (h) and (i) show the same PPM but thresholded using the FDR scheme. The red horizontal dashed line indicates the largest posterior error probability for which q < 0.05. It can be seen that no new clusters are created because the minimal posterior probability for either hypothesis must still be 0.95 in order to keep the q below 0.05. Because the cumulative mean is taken, the clusters broaden or in case of the GaitSymmetry dataset, they merge
Overview of supra-threshold clusters for the Bayesian SPM tests (interval H only). The less conservative q* = 0.05 threshold always yields broader clusters than the P(H | data)* = 0.95 threshold. For the SimulatedTwoLocalMax and PlantarArchAngle datasets, the difference between both thresholds is small. For the GaitSymmetry example, the difference is larger and results in 4–7 separate clusters or 2 broad clusters (for the ultra-wide setting, it is nearly 1 cluster over the entire time span). The GaitSymmetry example also shows sensitivity to the scale of the prior, whereas this sensitivity was negligible in the other two datasets
| Evidence in favor of | Evidence in favor of | |||
|---|---|---|---|---|
| P( | ||||
| SimulatedTwoLocalMax (independent-samples | ||||
| / | / | t = 25–27 | t = 24–28 | |
| / | / | t = 24–27 | t = 24–28 | |
| / | / | t = 24–27 | t = 24–28 | |
| PlantarArchAngle (paired-samples | ||||
| / | / | t = 98–101 | t = 95–101 | |
| / | / | t = 98–101 | t = 95–101 | |
| / | / | t = 98–101 | t = 96–101 | |
| GaitSymmetry (paired-samples | ||||
| t = 1–2 | t = 1–74 | / | / | |
| t = 1–2 | t = 1–75 | / | / | |
| t = 1–3 | t = 1–76 | / | / | |
Figure 4.(a) Classical power (omnibus) analysis for calculating the number of trials necessary to reject H given alpha = 0.05 and a minimal 2° difference between the left and right leg (H). Horizontal lines show the typical power criterions of 0.80 and 0.90. Panels (b) and (c) give the classical and Bayesian SPMs using the first n = 55 gait cycles (for which classical power >0.80). For the Bayesian SPM, the maximal posterior error probability for which q < 0.05 was 0.113
Computation time for frequentist and Bayesian SPM tests
| Statistical test and dataset size | Computing time |
|---|---|
| Independent-sample | Classical SPM (Python): 0.025 s |
| Paired-sample | Classical SPM (Python): 0.025 s |
| Paired-sample | Classical SPM (Python): 0.025 s |