Other packages > Find by keyword >

NAP  

Non-Local Alternative Priors in Psychology
View on CRAN: Click here


Download and install NAP package within the R console
Install from CRAN:
install.packages("NAP")

Install from Github:
library("remotes")
install_github("cran/NAP")

Install by package version:
library("remotes")
install_version("NAP", "1.1")



Attach the package and use:
library("NAP")
Maintained by
Sandipan Pramanik
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2021-11-04
Latest Update: 2022-01-06
Description:
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.
How to cite:
Sandipan Pramanik (2021). NAP: Non-Local Alternative Priors in Psychology. R package version 1.1, https://cran.r-project.org/web/packages/NAP. Accessed 17 Jul. 2026.
Previous versions and publish date:
1.0 (2021-11-04 08:10), (2026-07-09 08:14)
Other packages that cited NAP R package
View NAP citation profile
Other R packages that NAP depends, imports, suggests or enhances
Complete documentation for NAP
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

VFS  
Vegetated Filter Strip and Erosion Model
Empirical models for runoff, erosion, and phosphorus loss across a vegetated filter strip, given sl ...
Download / Learn more Package Citations See dependency  
FastKNN  
Fast k-Nearest Neighbors
Compute labels for a test set according to the k-Nearest Neighbors classification. This is a fast wa ...
Download / Learn more Package Citations See dependency  
VEwaningVariant  
Vaccine Efficacy Over Time - Variant Aware
Implements methods for inference on potential waning of vaccine efficacy and for estimation of vacci ...
Download / Learn more Package Citations See dependency  
rt.test  
Robustified t-Test
Performs one-sample t-test based on robustified statistics using median/MAD (TA) and Hodges-Lehmann/ ...
Download / Learn more Package Citations See dependency  
r2resize  
In-Text Resize for Images, Tables and Fancy Resize Containers in 'shiny', 'rmarkdown' and 'quarto' Documents
Automatic resizing toolbar for containers, images and tables. Various resizable or expandable contai ...
Download / Learn more Package Citations See dependency  
alabama  
Constrained Nonlinear Optimization
Augmented Lagrangian Adaptive Barrier Minimization Algorithm for optimizing smooth nonlinear object ...
Download / Learn more Package Citations See dependency  

27,806

R Packages

239,283

Dependencies

73,837

Author Associations

27,807

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA