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", "26.9.19")



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 26.9.19, https://cran.r-project.org/web/packages/HRTnomaly. Accessed 28 Oct. 2026.
Previous versions and publish date:
25.2.18 (2025-02-20 18:40), 25.2.25 (2025-02-26 13:40), 25.11.22 (2025-11-25 12:32), (2026-09-11 16:29)
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

nextGenShinyApps  
Craft Exceptional 'R Shiny' Applications and Dashboards with Novel Responsive Tools
Nove responsive tools for designing and developing 'Shiny' dashboards and applications. The scripts ...
Download / Learn more Package Citations See dependency  
cats  
Cohort Platform Trial Simulation
Cohort plAtform Trial Simulation whereby every cohort consists of two arms, control and experimenta ...
Download / Learn more Package Citations See dependency  
NPHazardRate  
Nonparametric Hazard Rate Estimation
Provides functions and examples for histogram, kernel (classical, variable bandwidth and transformat ...
Download / Learn more Package Citations See dependency  
msamp  
Estimate Sample Size to Detect Bacterial Contamination in a Product Lot
Estimates the sample size needed to detect microbial contamination in a lot with a user-specified d ...
Download / Learn more Package Citations See dependency  
ncdf4  
Interface to Unidata netCDF (Version 4 or Earlier) Format Data Files
Provides a high-level R interface to data files written using Unidata's netCDF library (version 4 or ...
Download / Learn more Package Citations See dependency  

29,218

R Packages

247,686

Dependencies

77,281

Author Associations

29,219

Publication Badges

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