Exact Nonparametric Hypothesis Tests for the Mean, Variance and Stochastic Inequality

Provides several novel exact hypothesis tests with minimal assumptions on the errors. The tests are exact, meaning that their p-values are correct for the given sample sizes (the p-values are not derived from asymptotic analysis). The test for stochastic inequality is for ordinal comparisons based on two independent samples and requires no assumptions on the errors. The other tests include tests for the mean and variance of a single sample and comparing means in independent samples. All these tests only require that the data has known bounds (such as percentages that lie in [0,100]. These bounds are part of the input.

Travis-CI Build Status codecov


As this package is still in development, I can not yet be installed through CRAN.

This development version can, however, be installed using the devtools package:

if (!require('devtools')) install.packages('devtools')


After installation, load the package with:


See the help-files for some examples of the usage of the package.



Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


0.2 by Oliver Reiter, 2 years ago


Report a bug at https://github.com/zauster/npExact/issues

Browse source code at https://github.com/cran/npExact

Authors: Oliver Reiter [cre, aut] , Karl Schlag [aut] , Peter Saffert [ctb] , Christian Pechhacker [ctb] , Simona Jokubauskaite [ctb] , Tautvilas Janusauskas [ctb]

Documentation:   PDF Manual  

GPL-2 license

Imports stats

Suggests testthat

See at CRAN