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:
robnptests_1.1.0.tar.gz
robnptests_1.1.0.zip(r-4.5)robnptests_1.1.0.zip(r-4.4)robnptests_1.1.0.zip(r-4.3)
robnptests_1.1.0.tgz(r-4.4-any)robnptests_1.1.0.tgz(r-4.3-any)
robnptests_1.1.0.tar.gz(r-4.5-noble)robnptests_1.1.0.tar.gz(r-4.4-noble)
robnptests_1.1.0.tgz(r-4.4-emscripten)robnptests_1.1.0.tgz(r-4.3-emscripten)
robnptests.pdf |robnptests.html✨
robnptests/json (API)
NEWS
# 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
Last updated 2 years agofrom:14d13823bf. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 23 2024 |
R-4.5-win | OK | Nov 23 2024 |
R-4.5-linux | OK | Nov 23 2024 |
R-4.4-win | OK | Nov 23 2024 |
R-4.4-mac | OK | Nov 23 2024 |
R-4.3-win | OK | Nov 23 2024 |
R-4.3-mac | OK | Nov 23 2024 |
Exports:hl1_testhl2_testhodges_lehmannhodges_lehmann_2samplem_estm_testm_test_statisticmed_testrob_perm_statisticrob_scaletrim_meantrimmed_ttrimmed_testwin_meanwin_varwobble
Dependencies:backportscheckmateDEoptimRgtoolsrbibutilsRdpackrobustbasestatmod
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Two-sample location tests based on one-sample Hodges-Lehmann estimator | hl1_test |
Two-sample location tests based on two-sample Hodges-Lehmann estimator. | hl2_test |
One-sample Hodges-Lehmann estimator | hodges_lehmann |
Two-sample Hodges-Lehmann estimator | hodges_lehmann_2sample |
M-estimator of location | m_est |
Two sample location test based on M-estimators | m_test |
Test statistics for the M-tests | m_test_statistic |
Two-sample location tests based on the sample median | med_test |
Robust test statistics based on robust location estimators | rob_perm_statistic |
Robust scale estimators based on median absolute deviation | rob_scale |
Trimmed mean | trim_mean |
Test statistic for the two-sample trimmed t-test (Yuen's t-test) | trimmed_t |
Two-sample trimmed t-test (Yuen's t-Test) | trimmed_test |
Winsorized mean | win_mean |
Winsorized variance | win_var |
Add random noise to remove ties | wobble |