| Literature DB >> 32503439 |
Abstract
BACKGROUND: Although null hypothesis significance testing (NHST) is the agreed gold standard in medical decision making and the most widespread inferential framework used in medical research, it has several drawbacks. Bayesian methods can complement or even replace frequentist NHST, but these methods have been underutilised mainly due to a lack of easy-to-use software. JASP is an open-source software for common operating systems, which has recently been developed to make Bayesian inference more accessible to researchers, including the most common tests, an intuitive graphical user interface and publication-ready output plots. This article provides a non-technical introduction to Bayesian hypothesis testing in JASP by comparing traditional tests and statistical methods with their Bayesian counterparts.Entities:
Keywords: Bayesian hypothesis testing; JASP; Medical decision making; Null hypothesis significance testing; Replication crisis
Mesh:
Year: 2020 PMID: 32503439 PMCID: PMC7275319 DOI: 10.1186/s12874-020-00980-6
Source DB: PubMed Journal: BMC Med Res Methodol ISSN: 1471-2288 Impact factor: 4.615
Fig. 1JASP classification scheme for the Bayes factor BF10
ANOVA - Heart Rate
| Cases | Sum of Squares | df | Mean Square | F | p | VS-MPR* | |
|---|---|---|---|---|---|---|---|
| Gender | 45030.005 | 1.000 | 45030.005 | 185.980 | <.001 | 1.296e+35 | 0.110 |
| Group | 168432.080 | 1.000 | 168432.080 | 695.647 | <.001 | 1.264e+107 | 0.413 |
| Gender * Group | 1794.005 | 1.000 | 1794.005 | 7.409 | 0.007 | 11.062 | 0.004 |
| Residual | 192729.830 | 796.000 | 242.123 |
Type III Sum of Squares
Test for Equality of Variances (Levene’s)
| F | df1 | df2 | p | VS-MPR* |
|---|---|---|---|---|
| 5.562 | 3.000 | 796.000 | <.001 | 59.104 |
Fig. 2Q-Q-plots for the traditional and Bayesian ANOVA for the heart rate dataset of Moore and colleagues produced by JASP
Model comparison
| Models | P(M) | P(M |data) | BF | BF10 | error % |
|---|---|---|---|---|---|
| Null model | 0.200 | 2.281e-126 | 9.124e-126 | 1.000 | |
| Gender + Group + Gender * Group | 0.200 | 0.790 | 15.047 | 3.463e+125 | 2.485 |
| Gender + Group | 0.200 | 0.210 | 1.063 | 9.207e+124 | 1.068 |
| Group | 0.200 | 6.651e-36 | 2.661e-35 | 2.916e+90 | 2.683e-95 |
| Gender | 0.200 | 1.797e-107 | 7.186e-107 | 7.876e+18 | 2.699e-23 |
Model averaged posterior summary
| 95% Credible Interval | |||||
|---|---|---|---|---|---|
| Variable | Level | Mean | SD | Lower | Upper |
| Intercept | 124.490 | 0.551 | 123.168 | 125.426 | |
| Gender | Female | 7.448 | 0.559 | 6.339 | 8.553 |
| Male | -7.448 | 0.559 | -8.586 | -6.373 | |
| Group | Control | 14.474 | 0.557 | 13.334 | 15.551 |
| Runners | -14.474 | 0.557 | -15.584 | -13.367 | |
| Gender * Group | Female & Control | 1.465 | 0.547 | 0.378 | 2.577 |
| Female & Runners | -1.465 | 0.547 | -2.586 | -0.387 | |
| Male & Control | -1.465 | 0.547 | -2.586 | -0.387 | |
| Male & Runners | 1.465 | 0.547 | 0.378 | 2.577 | |
Fig. 3Posterior plots for all variables and interaction terms for the heart rate data of Moore and colleagues produced by JASP
Paired samples T-Test
| t | df | p | Mean Difference | ||
|---|---|---|---|---|---|
| Moon - | Other | 6.452 | 14 | <.001 | 2.433 |
Bayesian Paired Samples T-Test
| BF10 | error % | |||
|---|---|---|---|---|
| Moon | - | Other | 1521.058 | 5.014e-7 |
Fig. 4Prior and posterior plot and robustness check for the heart dementia data of Moore and colleagues produced by JASP
Frequentist linear regression for the BMI data set
| Unstandardized | Std. Error | t | p | |
|---|---|---|---|---|
| (Intercept) | 29.578 | 1.412 | 20.948 | <.001 |
| PA | -0.655 | 0.158 | -4.135 | <.001 |
Bayesian linear regression for the BMI data set
| Models | P(M) | P(M |data) | BFM | BF10 | R2 |
|---|---|---|---|---|---|
| Null model | 0.500 | 0.004 | 0.004 | 1.00 | 0.00 |
| PA | 0.500 | 0.996 | 284.327 | 284.33 | 0.15 |
Posterior summaries of coefficients
| 95% Credible Interval | |||||||
|---|---|---|---|---|---|---|---|
| Coefficient | Mean | SD | P(incl) | P(incl|data) | BF | Lower | Upper |
| Intercept | 23.939 | 0.366 | 1.000 | 1.000 | 1.000 | 23.244 | 24.615 |
| PA | -0.609 | 0.157 | 0.500 | 0.996 | 284.327 | -0.908 | -0.326 |
Fig. 5Posterior coefficients with credible intervals and residual plot for the BMI data of Mestek et al. produced by JASP