README.md

SampleSizeWass

Status Version CRAN License R-CMD-check

Overview

The SampleSizeWass package implements Bayesian sample size determination criteria based on the Wasserstein distance to ensure posterior consensus starting from different prior distributions. These criteria are introduced in Cianfriglia et al. (2023) and are available for the conjugate binomial and normal models.

Installation

SampleSizeWass is not on CRAN yet, but you can install it as follows:

install.packages("devtools")
devtools::install_github("michelecianfriglia/SampleSizeWass")

$\underline{\text{Attention!}}$ Windows users must have Rtools installed for this to work.

Meta

SampleSizeWass is licensed under the GNU General Public License Version 3.

To help develop the package, please follow the contribution guidelines.

If you have any questions, you can ask them in the discussion forum.

Code of conduct

SampleSizeWass is released with a Contributor Code of Conduct. By contributing, you agree to abide by its terms.

Citation

To cite the SampleSizeWass package in publications, please use the following:

Cianfriglia, M. (2023). SampleSizeWass: Wasserstein-based sample size calculations. R package version 0.6, https://github.com/michelecianfriglia/SampleSizeWass

For LaTeX users, a BibTeX entry is

@Manual{SampleSizeWass-package,
  title = {SampleSizeWass: Wasserstein-based sample size calculations},
  author = {Michele Cianfriglia},
  year = {2023},
  note = {R package version 0.6},
  url = {https://github.com/michelecianfriglia/SampleSizeWass}
}


michelecianfriglia/SampleSizeWass documentation built on Feb. 28, 2023, 8:56 a.m.