Measuring Association with Recursive Binning
Many split recursive binning
Statistics for bins
Binning of categorical variable pairs
Computing a binning's degrees of freedom
Generate a departure display
Test pairwise variable independence
Halve continuously to break ties
Halve at an observed point
Make a bin
Make stop crteria
Helper functions for marginal splitting
Size-restricted bivariate score maximizing splitting
S3 methods for DepSearch
Plot a binning using shaded rectangles
Random integer splitting
Random uniform splitting
Bivariate score maximizing splitting
Scoring functions
Encoding bin features to bin colour fills
Single split recursive binning
Check bins against stop criteria
Single margin binning
Univariate score maximizing splitting
Univariate random integer splitting
An iterative implementation of a recursive binary partitioning algorithm to measure pairwise dependence with a modular design that allows user specification of the splitting logic and stop criteria. Helper functions provide suggested versions of both and support visualization and the computation of summary statistics on final binnings. For a thorough discussion and demonstration of the algorithm, see Salahub and Oldford (2025) <doi:10.1002/sam.70042>.