Stratification and Matching for Large Observational Data Sets
Overview
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.
Install
Health
NOTECRAN incoming feasibilityr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Maintainer: ‘Rachael C. Aikens <rockyaikens@gmail.com>’ Package CITATION file contains call(s) to old-style personList() or as.personList(). Please use c() on person objects instead. Package CITATION file contains call(s) to old-style citEntry(). Please use bibentry() instead.
- NOTE11 OK, 2 NOTE2026-09-18
- ERROR10 OK, 2 NOTE, 1 ERROR2026-09-17
- NOTE11 OK, 2 NOTE2026-09-16
- ERROR11 OK, 1 NOTE, 1 ERROR2026-09-15
- NOTE11 OK, 2 NOTE2026-08-23
Show 18 earlier changesHide 18 earlier changes
- ERROR10 OK, 2 NOTE, 1 ERROR2026-08-16
- NOTE11 OK, 2 NOTE2026-08-09
- ERROR10 OK, 2 NOTE, 1 ERROR2026-08-06
- NOTE11 OK, 2 NOTE2026-07-23
- ERROR10 OK, 2 NOTE, 1 ERROR2026-07-19
- NOTE11 OK, 2 NOTE2026-06-27
- ERROR10 OK, 2 NOTE, 1 ERROR2026-06-24
- NOTE11 OK, 2 NOTE2026-06-13
- ERROR11 OK, 1 NOTE, 1 ERROR2026-06-12
- NOTE11 OK, 2 NOTE2026-06-09
- ERROR11 OK, 1 NOTE, 1 ERROR2026-06-08
- NOTE11 OK, 2 NOTE2026-05-21
- ERROR11 OK, 1 NOTE, 1 ERROR2026-05-20
- NOTE11 OK, 2 NOTE2026-05-14
- ERROR10 OK, 2 NOTE, 1 ERROR2026-05-12
- NOTE12 OK, 2 NOTE2026-03-15
- ERROR12 OK, 1 NOTE, 1 ERROR2026-03-14
- NOTE12 OK, 2 NOTE2026-03-10
Documentation
- Help pages
- 44 (26 internal)includes a package overview page
- Examples that run
- 100%15 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 90%
- Help pages citing references
- 0%
Downloads
Repository
Repository github.com/raikens1/stratamatch is linked, but repository-practices checks have not run for it yet.
Dependencies
Installing stratamatch adds 58 packages (30 with compiled code, 54 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, data.table 5.7 MB.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- 0.1.9Latest
- 0.1.82022-03-02 · diff ↗
- 0.1.7
- RR 4.1.0 released · 2021-05-18
- 0.1.6
- RR 4.0.0 released · 2020-04-24
- 0.1.52020-04-09 · diff ↗
- 0.1.42020-02-19 · diff ↗
- 0.1.32020-01-14 · diff ↗
- 0.1.22019-11-22 · diff ↗
- 0.1.12019-11-06 · diff ↗
Show 2 earlier eventsHide 2 earlier events
- 0.1.02019-10-24
- RR 3.6.0 released · 2019-04-26
Package metadata
- First published
- 2019-10-24
- Total releases
- 10 / 7 yrs
- License
- GPL-3 OSI
- Minimum R
- ≥ 3.4.0
- Bundled data
- 39 KB / 1 file
- Download size
- 710 KB
Cite
Cite this package
Run in R for the authors' entry:
citation("stratamatch")The package provides a citation file, so citation() returns the authors' own entry.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-22, which the citation names so these numbers can be found later. More on citing and the projects behind them.