Conducts Bayesian Hypothesis tests of a point null hypothesis against a twosided alternative using Nonlocal Alternative Prior (NAP) for one and twosample z and ttests (Pramanik and Johnson, 2022). Under the alternative, the NAP is assumed on the standardized effects size in onesample tests and on their differences in twosample tests. The package considers two types of NAP densities: (1) the normal moment prior, and (2) the composite alternative. In fixed design tests, the functions calculate the Bayes factors and the expected weight of evidence for varied effect size and sample size. The package also provides a sequential testing framework using the Sequential Bayes Factor (SBF) design. The functions calculate the operating characteristics (OC) and the average sample number (ASN), and also conducts sequential tests for a sequentially observed data.
Package details 


Author  Sandipan Pramanik [aut, cre], Valen E. Johnson [aut] 
Maintainer  Sandipan Pramanik <sandy@stat.tamu.edu> 
License  GPL (>= 2) 
Version  1.1 
Package repository  View on CRAN 
Installation 
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.