Crandore Hub

stratamatch

Stratification and Matching for Large Observational Data Sets

A pilot matching design to automatically stratify and match large datasets. The manual_stratify() function allows users to manually stratify a dataset based on categorical variables of interest, while the auto_stratify() function does automatically by allocating a held-aside (pilot) data set, fitting a prognostic score (see Hansen (2008) <doi:10.1093/biomet/asn004>) on the pilot set, and stratifying the data set based on prognostic score quantiles. The strata_match() function then does optimal matching of the data set in parallel within strata.

Versions across snapshots

VersionRepositoryFileSize
0.1.9 rolling linux/jammy R-4.5 stratamatch_0.1.9.tar.gz 811.7 KiB
0.1.9 rolling linux/noble R-4.5 stratamatch_0.1.9.tar.gz 811.8 KiB
0.1.9 rolling source/ R- stratamatch_0.1.9.tar.gz 707.1 KiB
0.1.9 latest linux/jammy R-4.5 stratamatch_0.1.9.tar.gz 811.7 KiB
0.1.9 latest linux/noble R-4.5 stratamatch_0.1.9.tar.gz 811.8 KiB
0.1.9 latest source/ R- stratamatch_0.1.9.tar.gz 707.1 KiB
0.1.9 2026-04-26 source/ R- stratamatch_0.1.9.tar.gz 707.1 KiB
0.1.9 2026-04-23 source/ R- stratamatch_0.1.9.tar.gz 707.1 KiB
0.1.9 2026-04-09 windows/windows R-4.5 stratamatch_0.1.9.zip 818.4 KiB
0.1.9 2025-04-20 source/ R- stratamatch_0.1.9.tar.gz 707.1 KiB

Dependencies (latest)

Imports

Suggests