Conducts Bayesian Hypothesis tests of a point null hypothesis against a two-sided alternative using Non-local Alternative Prior (NAP) for one- and two-sample z- and t-tests (Pramanik and Johnson, 2022). Under the alternative, the NAP is assumed on the standardized effects size in one-sample tests and on their differences in two-sample 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.
| Version: | 1.1 |
| Imports: | foreach, stats, utils, parallel, doParallel, graphics |
| Published: | 2022-01-06 |
| DOI: | 10.32614/CRAN.package.NAP |
| Author: | Sandipan Pramanik [aut, cre], Valen E. Johnson [aut] |
| Maintainer: | Sandipan Pramanik <sandy at stat.tamu.edu> |
| License: | GPL-2 | GPL-3 [expanded from: GPL (≥ 2)] |
| NeedsCompilation: | no |
| CRAN checks: | NAP results |
| Reference manual: | NAP.html , NAP.pdf |
| Package source: | NAP_1.1.tar.gz |
| Windows binaries: | r-devel: NAP_1.1.zip, r-release: NAP_1.1.zip, r-oldrel: NAP_1.1.zip |
| macOS binaries: | r-release (arm64): NAP_1.1.tgz, r-oldrel (arm64): NAP_1.1.tgz, r-release (x86_64): NAP_1.1.tgz, r-oldrel (x86_64): NAP_1.1.tgz |
| Old sources: | NAP archive |
Please use the canonical form https://CRAN.R-project.org/package=NAP to link to this page.
Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.
This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.