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 06 Aug. 2026.
Previous versions and publish date:
25.2.18 (2025-02-20 18:40), 25.2.25 (2025-02-26 13:40), (2026-07-09 08:06)
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

RRedshiftSQL  
R Interface to the 'Redshift' Database
Superclasses 'PostgreSQL' connection to help enable full 'dplyr' functionality on 'Redshift'. ...
Download / Learn more Package Citations See dependency  
SAMBA  
Selection and Misclassification Bias Adjustment for Logistic Regression Models
Health research using data from electronic health records (EHR) has gained popularity, but miscla ...
Download / Learn more Package Citations See dependency  
TMDb  
Access to TMDb API
Provides an R-interface to the TMDb API (see TMDb API on < ...
Download / Learn more Package Citations See dependency  
lsmeans  
Least-Squares Means
Obtain least-squares means for linear, generalized linear, and mixed models. Compute contrasts or l ...
Download / Learn more Package Citations See dependency  
r2resize  
In-Text Resize for Images, Tables and Fancy Resize Containers in 'shiny', 'rmarkdown' and 'quarto' Documents
Automatic resizing toolbar for containers, images and tables. Various resizable or expandable contai ...
Download / Learn more Package Citations See dependency  

28,083

R Packages

239,283

Dependencies

74,457

Author Associations

28,084

Publication Badges

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