Package: stratamatch 0.1.9
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.
Authors:
stratamatch_0.1.9.tar.gz
stratamatch_0.1.9.zip(r-4.5)stratamatch_0.1.9.zip(r-4.4)stratamatch_0.1.9.zip(r-4.3)
stratamatch_0.1.9.tgz(r-4.4-any)stratamatch_0.1.9.tgz(r-4.3-any)
stratamatch_0.1.9.tar.gz(r-4.5-noble)stratamatch_0.1.9.tar.gz(r-4.4-noble)
stratamatch_0.1.9.tgz(r-4.4-emscripten)stratamatch_0.1.9.tgz(r-4.3-emscripten)
stratamatch.pdf |stratamatch.html✨
stratamatch/json (API)
# Install 'stratamatch' in R: |
install.packages('stratamatch', repos = c('https://raikens1.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/raikens1/stratamatch/issues
- ICU_data - Demographics and comorbidities of 10,157 ICU patients
Last updated 3 years agofrom:6f51f1b48a. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 13 2024 |
R-4.5-win | OK | Nov 13 2024 |
R-4.5-linux | OK | Nov 13 2024 |
R-4.4-win | OK | Nov 13 2024 |
R-4.4-mac | OK | Nov 13 2024 |
R-4.3-win | OK | Nov 13 2024 |
R-4.3-mac | OK | Nov 13 2024 |
Exports:auto_stratifyextract_cut_pointsis.auto_stratais.manual_stratais.stratamake_match_distancesmake_sample_datamanual_stratifysplit_pilot_setstrata_match
Dependencies:backportsbase64encbslibcachemcheckmatecliclustercolorspacedata.tabledigestdplyrevaluatefansifarverfastmapfontawesomeforeignFormulafsgenericsggplot2gluegridExtragtablehighrHmischtmlTablehtmltoolshtmlwidgetsisobandjquerylibjsonliteknitrlabelinglatticelifecyclemagrittrMASSMatrixmemoisemgcvmimemunsellnlmennetpillarpkgconfigR6rappdirsRColorBrewerrlangrmarkdownrpartrstudioapisassscalesstringistringrsurvivaltibbletidyselecttinytexutf8vctrsviridisviridisLitewithrxfunyaml
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Auto Stratify | auto_stratify |
Extract cutoffs between strata | extract_cut_points |
Extract cutoffs between strata | extract_cut_points.auto_strata |
Demographics and comorbidities of 10,157 ICU patients | ICU_data |
Checks 'auto_strata' class | is.auto_strata |
Checks 'manual_strata' class | is.manual_strata |
Checks 'strata' class | is.strata |
Make match distances within strata | make_match_distances |
Make sample data | make_sample_data |
Manual Stratify | manual_stratify |
Plot method for 'auto_strata' object | plot.auto_strata |
Plot method for 'manual_strata' object | plot.manual_strata |
Print Auto Strata | print.auto_strata |
Print Manual Strata | print.manual_strata |
Split data into pilot and analysis sets | split_pilot_set |
Strata Match | strata_match |
stratamatch: stratify and match large data sets | stratamatch |
Summary for strata object | summary.strata |