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 07 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

skewlmm  
Scale Mixture of Skew-Normal Linear Mixed Models
It fits scale mixture of skew-normal linear mixed models using an expectation–maximization (EM) ty ...
Download / Learn more Package Citations See dependency  
PairedData  
Paired Data Analysis
Many datasets and a set of graphics (based on ggplot2), statistics, effect sizes and hypothesis test ...
Download / Learn more Package Citations See dependency  
blandr  
Bland-Altman Method Comparison
Carries out Bland Altman analyses (also known as a Tukey mean-difference plot) as described by JM B ...
Download / Learn more Package Citations See dependency  
plaqr  
Partially Linear Additive Quantile Regression
Estimation, prediction, thresholding, transformation, and plotting for partially linear additive qua ...
Download / Learn more Package Citations See dependency  
splm  
Econometric Models for Spatial Panel Data
ML and GM estimation and diagnostic testing of econometric models for spatial panel data. ...
Download / Learn more Package Citations See dependency  
ggTimeSeries  
Time Series Visualisations Using the Grammar of Graphics
Provides additional display mediums for time series visualisations. ...
Download / Learn more Package Citations See dependency  

28,905

R Packages

247,686

Dependencies

76,495

Author Associations

28,906

Publication Badges

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