Package: HRTnomaly 26.9.19

HRTnomaly: Historical, Relational, and Tail Anomaly-Detection Algorithms

The presence of outliers in a dataset can substantially bias the results of statistical analyses. To correct for outliers, micro edits are manually performed on all records. A set of constraints and decision rules is typically used to aid the editing process. However, straightforward decision rules might overlook anomalies arising from disruption of linear relationships. Computationally efficient methods are provided to identify historical, tail, and relational anomalies at the data-entry level (Sartore et al., 2024; <doi:10.6339/24-JDS1136>). A score statistic is developed for each anomaly type, using a distribution-free approach motivated by the Bienaymé-Chebyshev's inequality, and fuzzy logic is used to detect cellwise outliers resulting from different types of anomalies. Each data entry is individually scored and individual scores are combined into a final score to determine anomalous entries. In contrast to fuzzy logic, Bayesian bootstrap and a Bayesian test based on empirical likelihoods are also provided as studied by Sartore et al. (2024; <doi:10.3390/stats7040073>). These algorithms allow for a more nuanced approach to outlier detection, as it can identify outliers at data-entry level which are not obviously distinct from the rest of the data. --- This research was supported in part by the U.S. Department of Agriculture, National Agriculture Statistics Service. The findings and conclusions in this publication are those of the authors and should not be construed to represent any official USDA, or US Government determination or policy.

Authors:Luca Sartore [aut], Luca Sartore [cre], Lu Chen [aut], Justin van Wart [aut], Andrew Dau [aut], Valbona Bejleri [aut]

HRTnomaly_26.9.19.tar.gz
HRTnomaly_26.9.19.zip(r-4.7-x86_64)HRTnomaly_26.9.19.zip(r-4.7-arm64)HRTnomaly_26.9.19.zip(r-4.6-x86_64)HRTnomaly_26.9.19.zip(r-4.6-arm64)HRTnomaly_26.9.19.zip(r-4.5-x86_64)
HRTnomaly_26.9.19.tgz(r-4.6-x86_64)HRTnomaly_26.9.19.tgz(r-4.6-arm64)HRTnomaly_26.9.19.tgz(r-4.5-x86_64)HRTnomaly_26.9.19.tgz(r-4.5-arm64)
HRTnomaly_26.9.19.tar.gz(r-4.7-arm64)HRTnomaly_26.9.19.tar.gz(r-4.7-x86_64)HRTnomaly_26.9.19.tar.gz(r-4.6-arm64)HRTnomaly_26.9.19.tar.gz(r-4.6-x86_64)
HRTnomaly_26.9.19.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION
card.svg |card.png
HRTnomaly/json (API)

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

Bug tracker:https://github.com/drwolf85/hrtnomaly/issues

Uses libs:
  • openmp– GCC OpenMP (GOMP) support library
Datasets:
  • toy - Toy dataset

On CRAN:

Conda:

anomaly-detectioncellwise-outliersmachine-learningunsupervised-learningopenmp

4.67 score 1 stars 26 scripts 216 downloads 10 exports 20 dependencies

Last updated from:8fc8bdf943. Checks:15 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK135
linux-devel-x86_64OK161
source / vignettesOK150
linux-release-arm64OK151
linux-release-x86_64OK191
macos-release-arm64OK125
macos-release-x86_64OK204
macos-oldrel-arm64OK93
macos-oldrel-x86_64OK230
windows-devel-arm64OK238
windows-devel-x86_64OK131
windows-release-arm64OK246
windows-release-x86_64OK85
windows-oldrel-x86_64OK85
wasm-releaseOK126

Exports:bayesHRTbayeswisebootHRTcellwiseclass_checkdiffuzzyHRTgifpifsetCores

Dependencies:clicpp11dplyrgenericsgluelifecyclemagrittrpillarpkgconfigpurrrR6rlangstringistringrtibbletidyrtidyselectutf8vctrswithr