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 29 Oct. 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

personalized2part  
Two-Part Estimation of Treatment Rules for Semi-Continuous Data
Implements the methodology of Huling, Smith, and Chen (2020) , w ...
Download / Learn more Package Citations See dependency  
fastRG  
Sample Generalized Random Dot Product Graphs in Linear Time
Samples generalized random product graphs, a generalization of a broad class of network models. Giv ...
Download / Learn more Package Citations See dependency  
binovisualfields  
Depth-Dependent Binocular Visual Fields Simulation
Simulation and visualization depth-dependent integrated visual fields. Visual fields are measured mo ...
Download / Learn more Package Citations See dependency  
GEVcdn  
GEV Conditional Density Estimation Network
Implements a flexible nonlinear modelling framework for nonstationary generalized extreme value anal ...
Download / Learn more Package Citations See dependency  
nextGenShinyApps  
Craft Exceptional 'R Shiny' Applications and Dashboards with Novel Responsive Tools
Nove responsive tools for designing and developing 'Shiny' dashboards and applications. The scripts ...
Download / Learn more Package Citations See dependency  

29,218

R Packages

247,686

Dependencies

77,281

Author Associations

29,219

Publication Badges

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