Repository navigation
v1.1.7
jjstatsplot 1.1.7 (2026-11-30)
Independent pre-release re-audit of all 19 analyses for the jamovi library submission. Each analysis was re-checked against independent oracles (base R, WRS2, metafor, BayesFactor, car, effectsize, DescTools, hand calculation), and every fix below carries a regression test that fails on 1.1.6.
Results that were wrong and are now corrected
jjbarstats(paired McNemar): with differently labelled variables (for exampleNo/Yesbefore andPositive/Negativeafter), the two variables were paired by level position, and the test could be wrong (chi-squared = 2, p = 0.157 where the correct McNemar test gives chi-squared = 4, p = 0.046). Paired data now have to carry the same categories in both variables. Otherwise the analysis stops with an explicit message, asjjpiestatsalready did.jjbarstats,jjpiestats(expected proportions): user-entered proportions are matched to categories in factor-level order. A text variable sorts alphabetically, so0.5, 0.3, 0.2could be paired with the wrong categories (p = 2e-13 instead of 0.40) without warning. A notice now names the pairing (for example "Low = 0.5, Mid = 0.3, High = 0.2").statsplot2: when a Subject ID was supplied and repeated under the default Independent design, the ID was ignored and paired data were analysed with an independent Welch test, reported as successful. This combination now stops and tells you to choose the Repeated design.advancedraincloud(change from baseline): the follow-up level is the last level after baseline in factor order. With alphabetical levels (Screening, Week12, Week4) the change was silently computed against Week4. The output now names the follow-up level and its n, and warns when the time-point levels are not in numeric order.jjbetweenstats(Bayesian, 3 or more groups): the plot showed no Bayes-factor subtitle at all, in single and split-by plots, while the summary pointed to it. The subtitle is now built directly fromBayesFactor::anovaBF. The Methods text now says the reported credible interval is equal-tailed (ETI), not HDI.jjwithinstats(constant paired differences): when every subject changed by exactly the same amount, the robust test printed t = -Inf, and the nonparametric effect size printed r = +1.00 although every value increased (an upstreameffectsizesign error). All test types now stand down with the existing explanatory notice.jjdotchart(2 groups): the one-sample test on two group summaries printed t(1) with Hedges' g = 0.00 [0.00, 0.00]; the small-sample correction is exactly zero at df = 1. It now stands down with the reason. When the rank-biserial r is 1.00, its confidence interval no longer excludes the estimate.jjarcdiagram: hub ties were detected with an absolute tolerance, so with small weights (for example dissociation constants in molar) every node was reported as a tied "most connected hub" with strength 0. Ties are now relative to the data scale and small strengths are shown with significant digits.
Clearer or more accurate reporting
jjbetweenstats,jjdotplotstats: verdict sentences print p to 3 decimals when p >= 0.01, so p = 0.0548 no longer reads "p = 0.05, not significant". The ggpubr companion panels injjbetweenstatsandjjwithinstatswritep < 0.001, like the rest of the module. The note on the normal-approximation Wilcoxon p-value now says it can differ several-fold from the exact test in small or completely separated samples.jjpiestats: choosing "Nonparametric" or "Robust" runs the same contingency test as "Parametric" (there is no rank-based or robust test for counts). A notice now says which test was run.jjscatterstats,jjcorrmat: Spearman p-values for untied data are described accurately: R's AS 89 algorithm is exact for n < 10 and an Edgeworth-series approximation for 10 <= n < 1290. The earlier text called them exact up to n = 1290.raincloud,advancedraincloud: when the outcome takes a single value, the statistics say that no test was run, instead of showing p = 1.000 and a "not significant" sentence.hullplot: the "Key Findings" panel printed blank group names; the discrimination-index note now says it uses the pooled within-group SD.linechart: with aDatex-axis the slope is per day (per second for date-time), and the table now says so instead of "per unit".jjsegmentedtotalbar: the Set1, Dark2 and Paired palettes no longer draw every segment beyond the palette size in the same grey; extra colours are interpolated.
Documentation
- README, all vignettes and the developer documentation were checked against the current options. Every R example now uses only arguments and values that exist. Removed features that were documented but never existed (for example pairwise comparisons in
jjbarstats), updated the renamedjjhistostatsoptions, and corrected statistical wording. The robust correlation is a 20% Winsorized Pearson correlation, not a percentage-bend correlation; non-significant results are not evidence of no difference; effect-size bands are conventions.
Known limitations (unchanged in this release)
raincloudandjjridgestreat every row as an independent observation. Usejjwithinstatsoradvancedraincloudfor repeated measures.- In
jjbetweenstatsandjjdotplotstats, the parametric post-hoc test for 3 or more groups is always Games-Howell, whatever adjustment method is chosen; the plot labels it. linecharttreats a jamovi text column holding dates as categories (equally spaced, compared by ANOVA rather than as a trend). Convert it to a date or numeric variable for a trend analysis.jjscatterstats(Bonett-Wright) andjjcorrmat(Fieller) use different approximations for the Spearman confidence interval, so the same pair of variables can get slightly different intervals.