NEWS
bfpwr 0.3 (2026-11-08)
- new contributor František Bartoš (https://orcid.org/0000-0002-0018-5573)
- add
dirbf01() to compute directional z-test Bayes factors
- add point-null one-sided z-tests with truncated normal analysis priors via
alternative = "less" or "greater"
- add one-sided normal moment priors via
alternative = "less" or "greater"
- add sequential Bayes factor designs for z-tests and t-tests via
pbf01seq()
and ptbf01seq(), with stopping probabilities, expected sample sizes,
summaries, and plots
- add sequential power and sample-size calculations via
nbf01seq(),
ntbf01seq(), powerbf01seq(), and powertbf01seq()
- add
bfpwrOptions() to inspect and change session numerical settings
- improve numerical accuracy of small probabilities in
pbf01() and
pnmbf01(); fix pbf01() for very narrow normal priors and point
alternatives identical to the null hypothesis
- improve numerical stability of one-sided
tbf01() when observations strongly
oppose the alternative hypothesis
- fix two-sided
ptbf01() power and critical-value searches for shifted
informed priors, including heavy-tailed priors
- improve accuracy of
tbf01() for informed priors when the t-statistic and
the prior point in opposite directions, where stats::dt() with a
noncentrality parameter is unreliable
- add
tail.eps to control the tail-probability cutoff in one-sided adaptive
t critical-value searches, and tail.nquad to control the accuracy/speed
tradeoff in one-sided t Bayes factor calculations (defaults: 1e-6 and 512)
- correct
pbinbf01() power calculations for discrete binomial outcomes,
including equality at the Bayes factor threshold
bfpwr 0.1.7
bfpwr 0.1.6 (2025-09-02)
- fixed a bug in
ptbf01 when adaptively determining the search range
bfpwr 0.1.5 (2025-05-15)
bfpwr 0.1.4
- new functions related to Bayes factors for testing a binomial proportion:
binbf01, pbinbf01, nbinbf01, powerbinbf01
(https://doi.org/10.48550/arXiv.2502.02914)
- improvements in documentation based on feedback from Riko Kelter (thanks!)
bfpwr 0.1.3 (2024-10-28)
- changed citation in DESCRIPTION file to adhere to CRAN policy
- properly reset user's par() in the vignette
bfpwr 0.1.2
- polished documentation based on feedback from Tsz Keung Wong (thanks!)
- changed name of
sd argument to usd in nbf01, nnmbf01, pbf01, pbf01
to more clearly differentiate between the standard deviation of the data and
the unit standard deviation related to a parameter estimate
bfpwr 0.1
- vignette
Using the bfpwr package created
- new functions:
bf01, tbf01, nmbf01, nbf01, ntbf01, nnmbf01,
pbf01, ptbf01, pnmbf01, powerbf01, powertbf01, powernmbf01
- package development started