Package: AIDA 0.2.0

AIDA: Analysis of Interval DAta

Tools for the analysis of interval-valued data, including construction, visualization, and statistical modeling. The package provides the 'intData' class for representing interval-valued data, along with functions to aggregate microdata and to estimate parameters of latent distributions. Barycenter and covariance matrix estimation is implemented based on the Mallows distance (Oliveira et al. (2025) <doi:10.48550/arXiv.2407.05105>). Robust estimation of the symbolic covariance matrix is implemented via the Interval Minimum Covariance Determinant (IMCD) estimator, enabling outlier detection based on the robust squared Interval-Mahalanobis distance, as proposed by Loureiro et al. (2026b) <doi:10.48550/arXiv.2604.26769>. Explainable outlier detection is supported through Shapley value based decomposition of the squared robust Interval-Mahalanobis distance, allowing assessment of variable contributions to outlyingness (Loureiro et al. (2026a) <doi:10.48550/arXiv.2606.26307>). Shapley interaction indices are also implemented, along with visualization tools to support interpretation of the results.

Authors:Catarina P. Loureiro [aut, cre]

AIDA_0.2.0.tar.gz
AIDA_0.2.0.zip(r-4.7)AIDA_0.2.0.zip(r-4.6)AIDA_0.2.0.zip(r-4.5)
AIDA_0.2.0.tgz(r-4.6-any)AIDA_0.2.0.tgz(r-4.5-any)
AIDA_0.2.0.tar.gz(r-4.7-any)AIDA_0.2.0.tar.gz(r-4.6-any)
AIDA_0.2.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
AIDA/json (API)

# Install 'AIDA' in R:
install.packages('AIDA', repos = c('https://catarinaploureiro.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/catarinaploureiro/aida/issues

Pkgdown/docs site:https://catarinaploureiro.github.io

Datasets:

On CRAN:

Conda:

imcdinterval-mahalanobis-distanceinterval-valued-dataoutlier-detectionstatisticssymbolic-data

6.38 score 198 scripts 499 downloads 48 exports 46 dependencies

Last updated from:9fa7ea1273. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK233
source / vignettesOK293
linux-release-x86_64OK234
macos-release-arm64OK152
macos-oldrel-arm64OK122
windows-develOK217
windows-releaseOK203
windows-oldrelOK222
wasm-releaseOK177

Exports:Centerscolnamesfarnessget_latent_paramget_latent_varheadIMah_distIMah_dist_pairsIMCDint_covint_cov_zint_mean_zint_outliersint_Shapleyint_Shapley_decompint_Shapley_interactionintDataLatentCaseLatentDistLatentParamLogRangesLowerBoundsMallows_distmicro2intDataNbMicroUnitsncolnrowplotplot_bar_int_Shapleyplot_bar_int_Shapley_decompplot_beeswarm_int_Shapleyplot_dist_distplot_int_Shapley_interplot_interval_distplot_pairs_intplot_radar_int_Shapleyplot_scatter_intplot_tile_int_ShapleyprintRangesrbindrow.namesrownamessafe_solve_covshowsummarytailUpperBounds

Dependencies:beeswarmBHcellWiseclicowplotcpp11DEoptimRfarverfmsbggbeeswarmggplot2gluegridExtragtableisobandkde1dlabelinglatticelifecyclemagrittrMASSmatrixStatsmvtnormpcaPPplyrR6randtoolboxRColorBrewerRcppRcppArmadilloRcppEigenreshape2rlangrngWELLrobustbaserrcovS7scalesshapestringistringrsvdvctrsviporviridisLitewithr

Shapley value examples
Cars Dataset | Spotify Tracks Dataset | References

Last update: 2026-06-29
Started: 2026-06-24

IMCD estimator examples
Cars Dataset | Spotify Tracks Dataset | References

Last update: 2026-06-29
Started: 2026-03-12

Class intData examples
Credit Card Dataset | References

Last update: 2026-06-29
Started: 2026-03-12

Readme and manuals

Help Manual

Help pageTopics
Subset an 'intData' Object[,intData-method
Equality Comparison for 'intData' Objects!=,intData,intData-method ==,intData,intData-method
Centers Method for 'intData'Centers Centers,intData-method
Column Names Method for 'intData'colnames,intData-method
Credit Card Datasetcreditcard
Dimensions Method for 'intData'dim,intData-method
Entrecampos Air Quality Datasetentrecampos_air_quality
Farness Estimationfarness
Compute Latent Variables Parametersget_latent_param
Compute Latent Variablesget_latent_var
Head Method for 'intData'head,intData-method
Interval-Mahalanobis DistanceIMah_dist
Interval-Mahalanobis distance for all pairsIMah_dist_pairs
Interval-valued data Minimum Covariance Determinant (IMCD) estimationIMCD
Interval-valued Covarianceint_cov
Sample Interval-valued Covarianceint_cov_z
Sample Meanint_mean_z
Outlier Detection for Interval-Valued Data Based on Robust Distancesint_outliers
Compute Shapley Values for Interval-valued Dataint_Shapley
Compute Shapley Decomposition into contributions of (Centers, Ranges, and CrossCentersRanges) for Interval-valued Dataint_Shapley_decomp
Compute Shapley interaction indices for Interval-valued Dataint_Shapley_interaction
Cars DatasetintCars
Interval Data ConstructorintData
Interval Data ClassintData-class
Latent Case Method for 'intData'LatentCase LatentCase,intData-method
Latent Distribution Method for 'intData'LatentDist LatentDist,intData-method
Latent Parameters Method for 'intData'LatentParam LatentParam,intData-method
LogRanges Method for 'intData'LogRanges LogRanges,intData-method
Lower Bounds Method for 'intData'LowerBounds LowerBounds,intData-method
Mallows DistanceMallows_dist
Aggregate Microdata into Interval-Valued Datamicro2intData
Variable Names Method for 'intData'names,intData-method
Number of Micro Units Method for 'intData'NbMicroUnits NbMicroUnits,intData-method
Number of Columns Method for 'intData'ncol,intData-method
Number of Rows Method for 'intData'nrow,intData-method
Barplot of Shapley values for Interval-valued Dataplot_bar_int_Shapley
Barplot of Shapley value decomposition into contributions of (Centers, Ranges, and CrossCentersRanges) for interval-valued data.plot_bar_int_Shapley_decomp
Beeswarm plot of Shapley values for interval-valued data.plot_beeswarm_int_Shapley
Distance-Distance plot for interval-valued data.plot_dist_dist
Plot Shapley interaction indicesplot_int_Shapley_inter
Interval-Mahalanobis distance plot for interval-valued data.plot_interval_dist
Pairs-plot for Interval-valued Symbolic data.plot_pairs_int
Radar plot of Shapley values for interval-valued data.plot_radar_int_Shapley
Scatter Plot for Interval-valued Dataplot_scatter_int
Tileplot of Shapley values for interval-valued data.plot_tile_int_Shapley
Plot Method for Two 'intData' Objectsplot,intData,intData-method plot,intData,missing-method
Print Method for Summary 'intData'print,summaryintData-method
Ranges Method for 'intData'Ranges Ranges,intData-method
Row Bind for 'intData'rbind rbind,intData-method
Row.Names Method for 'intData'row.names,intData-method
Row Names Method for 'intData'rownames,intData-method
Show Method for 'intData'show,intData-method show,summaryintData-method
Spotify Tracks Datasetspotify_tracks
Summary Method for 'intData'summary,intData-method
Summary Interval Data ClasssummaryintData-class
Tail Method for 'intData'tail,intData-method
Upper Bounds Method for 'intData'UpperBounds UpperBounds,intData-method