Package: NAP 1.1
Sandipan Pramanik
NAP: Non-Local Alternative Priors in Psychology
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.
Authors:
NAP_1.1.tar.gz
NAP_1.1.tar.gz(r-4.5-noble)NAP_1.1.tar.gz(r-4.4-noble)
NAP_1.1.tgz(r-4.4-emscripten)NAP_1.1.tgz(r-4.3-emscripten)
NAP.pdf |NAP.html✨
NAP/json (API)
# Install 'NAP' in R: |
install.packages('NAP', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.
Last updated 3 years agofrom:8122325557. Checks:OK: 2. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Oct 27 2024 |
R-4.5-linux | OK | Oct 27 2024 |
Exports:fixedHajnal.onet_esfixedHajnal.onet_nfixedHajnal.onez_esfixedHajnal.onez_nfixedHajnal.twot_esfixedHajnal.twot_nfixedHajnal.twoz_esfixedHajnal.twoz_nfixedNAP.onet_esfixedNAP.onet_nfixedNAP.onez_esfixedNAP.onez_nfixedNAP.twot_esfixedNAP.twot_nfixedNAP.twoz_esfixedNAP.twoz_nHajnalBF_onetHajnalBF_onezHajnalBF_twotHajnalBF_twozimplement.SBFHajnal_onetimplement.SBFHajnal_onezimplement.SBFHajnal_twotimplement.SBFHajnal_twozimplement.SBFNAP_onetimplement.SBFNAP_onezimplement.SBFNAP_twotimplement.SBFNAP_twozmycombine.fixedmycombine.seq.onesamplemycombine.seq.twosampleNAPBF_onetNAPBF_onezNAPBF_twotNAPBF_twozSBFHajnal_onetSBFHajnal_onezSBFHajnal_twotSBFHajnal_twozSBFNAP_onetSBFNAP_onezSBFNAP_twotSBFNAP_twoz
Dependencies:codetoolsdoParallelforeachiterators