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 16 Jul. 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

stevedata  
Steve's Toy Data for Teaching About a Variety of Methodological, Social, and Political Topics
This is a collection of various kinds of data with broad uses for teaching. My students, and academ ...
Download / Learn more Package Citations See dependency  
Rnmr1D  
Perform the Complete Processing of a Set of Proton Nuclear Magnetic Resonance Spectra
Perform the complete processing of a set of proton nuclear magnetic resonance spectra from the free ...
Download / Learn more Package Citations See dependency  
schoolmath  
Functions and Datasets for Math Used in School
Contains functions and datasets for math taught in school. A main focus is set to prime-calculation. ...
Download / Learn more Package Citations See dependency  
tarchetypes  
Archetypes for Targets
Function-oriented Make-like declarative pipelines for Statistics and data science are supported in t ...
Download / Learn more Package Citations See dependency  
bbdetection  
Identification of Bull and Bear States of the Market
Implements two algorithms of detecting Bull and Bear markets in stock prices: the algorithm of Pagan ...
Download / Learn more Package Citations See dependency  
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  

27,806

R Packages

239,283

Dependencies

73,837

Author Associations

27,807

Publication Badges

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