Package: unusualprofile 0.1.4

unusualprofile: Calculates Conditional Mahalanobis Distances

Calculates a Mahalanobis distance for every row of a set of outcome variables (Mahalanobis, 1936 <doi:10.1007/s13171-019-00164-5>). The conditional Mahalanobis distance is calculated using a conditional covariance matrix (i.e., a covariance matrix of the outcome variables after controlling for a set of predictors). Plotting the output of the cond_maha() function can help identify which elements of a profile are unusual after controlling for the predictors.

Authors:W. Joel Schneider [aut, cre], Feng Ji [aut]

unusualprofile_0.1.4.tar.gz
unusualprofile_0.1.4.zip(r-4.7-any)unusualprofile_0.1.4.zip(r-4.6-any)unusualprofile_0.1.4.zip(r-4.5-any)
unusualprofile_0.1.4.tgz(r-4.6-any)unusualprofile_0.1.4.tgz(r-4.5-any)
unusualprofile_0.1.4.tar.gz(r-4.7-any)unusualprofile_0.1.4.tar.gz(r-4.6-any)
unusualprofile_0.1.4.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
unusualprofile/json (API)

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

Bug tracker:https://github.com/wjschne/unusualprofile/issues

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

Datasets:

On CRAN:

Conda:

quarto

4.86 score 4 stars 18 scripts 268 downloads 5 exports 30 dependencies

Last updated from:8fe3bfe829. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK142
source / vignettesOK350
linux-releaseOK149
macos-releaseOK117
macos-oldrelOK142
windows-develOK110
windows-releaseOK124
windows-oldrelOK91
wasm-releaseOK127

Exports:cond_mahais_singularp2labelproportion_roundproportion2percentile

Dependencies:clicpp11dplyrfarvergenericsggnormalviolinggplot2gluegtableisobandlabelinglifecyclemagrittrpillarpkgconfigpurrrR6RColorBrewerrlangS7scalesstringistringrtibbletidyrtidyselectutf8vctrsviridisLitewithr

Calculations performed by the unusualprofile package
Calculate composite scores | Estimate expected test scores conditioned on a composite score | Calculating the Conditional Mahalanobis Distance

Last update: 2025-08-23
Started: 2025-08-17

Introduction to the unusualprofile package
Univariate Outliers | Multivariate Outliers | Quantifying Multivariate Extremity | The Euclidean Distance | The Mahalanobis Distance | Conditional Mahalanobis Distances | Distinguishing Profile Shape from Profile Elevation | A Worked Example with a Simple Model | Calculations Using the simstandard and unusualprofile Packages | View Complete Output of cond_maha Function | A Worked Example with a More Complex Model | Conditional Mahalanobis Distances with Indicator Scores Only | Composite Score Model | Observed Scores, Given Composite Scores | Factor-score model | References

Last update: 2025-08-23
Started: 2025-08-17