Package: robnptests 1.1.0

Sermad Abbas

robnptests: Robust Nonparametric Two-Sample Tests for Location/Scale

Implementations of several robust nonparametric two-sample tests for location or scale differences. The test statistics are based on robust location and scale estimators, e.g. the sample median or the Hodges-Lehmann estimators as described in Fried & Dehling (2011) <doi:10.1007/s10260-011-0164-1>. The p-values can be computed via the permutation principle, the randomization principle, or by using the asymptotic distributions of the test statistics under the null hypothesis, which ensures (approximate) distribution independence of the test decision. To test for a difference in scale, we apply the tests for location difference to transformed observations; see Fried (2012) <doi:10.1016/j.csda.2011.02.012>. Random noise on a small range can be added to the original observations in order to hold the significance level on data from discrete distributions. The location tests assume homoscedasticity and the scale tests require the location parameters to be zero.

Authors:Sermad Abbas [aut, cre], Barbara Brune [aut], Roland Fried [aut]

robnptests_1.1.0.tar.gz
robnptests_1.1.0.zip(r-4.7-any)robnptests_1.1.0.zip(r-4.6-any)robnptests_1.1.0.zip(r-4.5-any)
robnptests_1.1.0.tgz(r-4.6-any)robnptests_1.1.0.tgz(r-4.5-any)
robnptests_1.1.0.tar.gz(r-4.7-any)robnptests_1.1.0.tar.gz(r-4.6-any)
robnptests_1.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
robnptests/json (API)

# Install 'robnptests' in R:
install.packages('robnptests', repos = c('https://s-abbas.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/s-abbas/robnptests/issues

On CRAN:

Conda:

4.78 score 2 stars 9 scripts 274 downloads 16 exports 8 dependencies

Last updated from:14d13823bf. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK115
source / vignettesOK190
linux-releaseOK150
macos-releaseOK183
macos-oldrelOK173
windows-develOK74
windows-releaseOK71
windows-oldrelOK77
wasm-releaseOK93

Exports:hl1_testhl2_testhodges_lehmannhodges_lehmann_2samplem_estm_testm_test_statisticmed_testrob_perm_statisticrob_scaletrim_meantrimmed_ttrimmed_testwin_meanwin_varwobble

Dependencies:backportscheckmateDEoptimRgtoolsrbibutilsRdpackrobustbasestatmod

Construction of the M-tests
Introduction | Asymptotic distribution of the M-test statistics | Simulation results | Session Info | References

Last update: 2023-02-14
Started: 2021-11-04

Getting started with robnptests
Introduction | Differences in location | Differences in scale | Tests for the location problem | Overview of implemented tests | Test statistics | MED-tests | HL1-tests | HL2-tests | M-tests | Trimmed t-test | Computation of p-values | Permutation test | Randomization test | Asymptotic test | Asymptotic MED-test | Asymptotic HL1-/HL2-test | Asymptotic M-test | Asymptotic trimmed t-test | Testing for a location difference | Continuous data | Location difference under $H_0$ | Discrete data | Testing for a difference in scale | Session info | References

Last update: 2023-02-14
Started: 2021-11-04