Contains fast functions to calculate the exact Bayes posterior for the Sparse Normal Sequence Model, which implement the algorithms described in Van Erven and Szabo (2018) <arXiv:1810.10883>. For general hierarchical priors, sample sizes up to 10,000 are feasible within half an hour on a standard laptop. For beta-binomial spike-and-slab priors, a faster algorithm is provided, which can handle sample sizes of 100,000 in half an hour. In the implementation, special care has been taken to assure numerical stability of the methods even for such large sample sizes.
|Author||Steven de Rooij [cre, aut], Tim van Erven [aut], Botond Szabo [aut]|
|Maintainer||Steven de Rooij <[email protected]>|
|License||GPL (>= 2)|
|Package repository||View on CRAN|
Install the latest version of this package by entering the following in R:
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.