The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

steinsampling

steinsampling provides a unified R workflow for kernel Stein goodness-of-fit tests, Stein sampling, point construction, and sample compression. It includes KSD U- and V-statistic tests, FSSD tests, SVGD, Stein Points, SP-MCMC, and Stein Thinning, together with reusable score, kernel, calibration, optimization, and transition components.

Installation

Install the released version from CRAN:

install.packages("steinsampling")

Paper

The accompanying paper is available on arXiv.

Citation

If you use steinsampling in published work, please cite the accompanying paper. The recommended citation is also available from R:

citation("steinsampling")
@misc{gao2026kernelizedsteindiscrepancygoodnessoffit,
  title         = {Kernelized Stein Discrepancy for Goodness-of-Fit Tests and
                   Stein Sampling in R},
  author        = {Junhao Gao and Ery Arias-Castro},
  year          = {2026},
  eprint        = {2608.26450},
  archivePrefix = {arXiv},
  primaryClass  = {stat.CO},
  url           = {https://arxiv.org/abs/2608.26450}
}

After journal publication, the package citation will be updated to the version of record and its journal DOI.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.