Other packages > Find by keyword >

HRTnomaly  

Historical, Relational, and Tail Anomaly-Detection Algorithms
View on CRAN: Click here


Download and install HRTnomaly package within the R console
Install from CRAN:
install.packages("HRTnomaly")

Install from Github:
library("remotes")
install_github("cran/HRTnomaly")

Install by package version:
library("remotes")
install_version("HRTnomaly", "25.11.22")



Attach the package and use:
library("HRTnomaly")
Maintained by
Luca Sartore
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2025-02-20
Latest Update: 2025-02-26
Description:
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.
How to cite:
Luca Sartore (2025). HRTnomaly: Historical, Relational, and Tail Anomaly-Detection Algorithms. R package version 25.11.22, https://cran.r-project.org/web/packages/HRTnomaly. Accessed 05 Jun. 2026.
Previous versions and publish date:
25.2.18 (2025-02-20 18:40), 25.2.25 (2025-02-26 13:40)
Other packages that cited HRTnomaly R package
View HRTnomaly citation profile
Other R packages that HRTnomaly depends, imports, suggests or enhances
Complete documentation for HRTnomaly
Functions, R codes and Examples using the HRTnomaly R package
Full HRTnomaly package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

quickcode  
Quick and Essential 'R' Tricks for Better Scripts
The NOT functions, 'R' tricks and a compilation of some simple quick plus often used 'R' codes to im ...
Download / Learn more Package Citations See dependency  
ibb  
R Wrapper for Istanbul Municipality Open Data Portal
Call wrappers for Istanbul Metropolitan Municipality's Open Data Portal (Turkish: Istanbul B ...
Download / Learn more Package Citations See dependency  
crossurr  
Cross-Fitting for Doubly Robust Evaluation of High-Dimensional Surrogate Markers
Doubly robust methods for evaluating surrogate markers as outlined in: Agniel D, Hejblum BP, Thiebau ...
Download / Learn more Package Citations See dependency  
msm  
Multi-State Markov and Hidden Markov Models in Continuous Time
Functions for fitting continuous-time Markov and hidden Markov multi-state models to longitudinal d ...
Download / Learn more Package Citations See dependency  
envirem  
Generation of ENVIREM Variables
Generation of bioclimatic rasters that are complementary to the typical 19 bioclim variables. ...
Download / Learn more Package Citations See dependency  

27,268

R Packages

233,548

Dependencies

72,590

Author Associations

27,205

Publication Badges

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