Package: dsld 2.0.0

Aditya Mittal

dsld: Data Science Looks at Discrimination

Statistical and graphical tools for exploring group differences and possible discrimination related to sensitive attributes such as race, gender, and age. Includes adjusted group comparisons, matching, distribution plots, and prediction methods that constrain sensitive-attribute influence or deweight selected predictors. Cross-validation supports comparison of prediction error and sensitive-attribute associations. Methods and teaching examples are described by Mittal et al. (2025) <doi:10.48550/arXiv.2411.04228>. Interfaces to the R implementation are also available for 'Python'.

Authors:Norm Matloff [aut], Taha Abdullah [aut], Arjun Ashok [aut], Shubhada Martha [aut], Aditya Mittal [aut, cre], Billy Ouattara [aut], Jonathan Tran [aut], Brandon Zarate Estrada [aut]

dsld_2.0.0.tar.gz
dsld_2.0.0.zip(r-4.7-any)dsld_2.0.0.zip(r-4.6-any)
dsld_2.0.0.tar.gz(r-4.7-any)dsld_2.0.0.tar.gz(r-4.6-any)
dsld_2.0.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
dsld/json (API)

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

Bug tracker:https://github.com/matloff/dsld/issues

Datasets:
  • compas1 - Criminal Offenders Screened in Florida
  • lak - Labor Market Discrimination
  • mortgageSE - Mortgage Denial
  • svcensus - Silicon Valley programmers and engineers data

On CRAN:

Conda:

3.69 score 49 scripts 32 downloads 25 exports 155 dependencies

Last updated from:b4b570887e. Checks:6 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK241
source / vignettesOK233
linux-releaseOK230
windows-develOK159
windows-releaseOK183
wasm-releaseOK155

Exports:dsldCHuntingdsldConditDisparitydsldConfoundersdsldDensityBySdsldFairUtilsdsldFgrrmdsldFreqPCoorddsldFrequencyBySdsldFrrmdsldIambdsldLineardsldLogitdsldMatchedATEdsldMLdsldNclmdsldOHuntingdsldQeFairKNNdsldQeFairRFdsldQeFairRidgeLindsldQeFairRidgeLogdsldScatterPlot3DdsldTakeALookArounddsldZlmdsldZlrmgetSuggestedLib

Dependencies:abindaskpassbackportsbase64encBHbootbroombslibcachemcarcarDataclicodetoolscolorspacecowplotcpp11crayoncrosstalkcurldata.tableDerivDiceKrigingdigestdoBydplyrevaluatefairmlfarverfastmapfloatFNNFOCIfontawesomeforcatsforeachforecastFormulafracdifffreqparcoordfsgbmgenericsGGallyggplot2ggstatsglmnetgluegmpgrfgtablegtoolshighrhmshtmltoolshtmlwidgetshttrisobanditeratorsjquerylibjsonliteKendallknitrlabelinglaterlatticelazyevallgrlifecyclelme4lmtestmagrittrMASSMatrixMatrixExtraMatrixModelsmemoisemgcvmimeminqamlapimodelrmvtnormnlmenloptrNLPnnetnumDerivopensslotelpartoolspatchworkpbkrtestpdistpillarpkgconfigplotlypolyregprettyunitsprogresspromisesproxypurrrqeMLquantregR.methodsS3R.ooR.utilsR6rangerRANNrappdirsrbibutilsRColorBrewerRcppRcppArmadilloRcppEigenRdpackreformulasregtoolsRhpcBLASctlrjerlangrmarkdownrpartrpart.plotrsparseS7sandwichsassscalesshapeslamSparseMstringistringrsurvivalsystext2vectibbletidyrtidyselecttimeDatetinytextmtoweranNAtufteurcautf8vctrsviridisLitewithrxfunxml2yamlzoo

Categorized Function List

Last update: 2026-10-25
Started: 2024-09-14

Quick Start
Data Science Looks at Discrimination | Analytical operations | Group comparisons with confounder adjustment | Fair prediction | Graphical and tabular operations | Conditional disparity | Group frequencies and possible confounders | Frequency-based parallel coordinates | Comparing feature sets | Python interface | Associated textbook and function reference

Last update: 2026-10-25
Started: 2024-09-14

Readme and manuals

Help Manual

Help pageTopics
Criminal Offenders Screened in Floridacompas1
dsldBnlearndsldIamb
Confounder and Proxy HuntingdsldCHunting dsldOHunting
dsldConditDisparitydsldConditDisparity
dsldConfoundersdsldConfounders
dsldDensityBySdsldDensityByS
dsldEDFFair WrappersdsldQeFairKNN dsldQeFairRF dsldQeFairRidgeLin dsldQeFairRidgeLog predict.dsldQeFair
dsldFairML WrappersdsldFgrrm dsldFrrm dsldNclm dsldZlm dsldZlrm predict.dsldFairML summary.dsldFairML
dsldFairUtilsdsldFairUtils
dsldFreqPCoorddsldFreqPCoord
dsldFrequencyBySdsldFrequencyByS
dsldLinearcoef.dsldLM dsldLinear predict.dsldLM summary.dsldLM vcov.dsldLM
dsldLogitcoef.dsldGLM dsldLogit predict.dsldGLM summary.dsldGLM vcov.dsldGLM
dsldMatchedATEdsldMatchedATE
dsldMLdsldML
ScatterPlot3D in dslddsldScatterPlot3D
dsldTakeALookArounddsldTakeALookAround
Labor Market Discriminationlak
Mortgage DenialmortgageSE
Silicon Valley programmers and engineers datasvcensus
UtitlitiesgetSuggestedLib