Package: triplesmatch 1.1.0
Katherine Brumberg
triplesmatch: Match Triples Consisting of Two Controls and a Treated Unit or Vice Versa
Attain excellent covariate balance by matching two treated units and one control unit or vice versa within strata. Using such triples, as opposed to also allowing pairs of treated and control units, allows easier interpretation of the two possible weights of observations and better insensitivity to unmeasured bias in the test statistic. Using triples instead of matching in a fixed 1:2 or 2:1 ratio allows for the match to be feasible in more situations. The 'rrelaxiv' package, which provides an alternative solver for the underlying network flow problems, carries an academic license and is not available on CRAN, but may be downloaded from 'GitHub' at <https://github.com/josherrickson/rrelaxiv/>. The 'Gurobi' commercial optimization software is required to use the two functions [infsentrip()] and [triplesIP()]. These functions are not essential to the main purpose of this package. A free academic license can be obtained at <https://www.gurobi.com/features/academic-named-user-license/>. The 'gurobi' R package can then be installed following the instructions at <https://www.gurobi.com/documentation/9.1/refman/ins_the_r_package.html>.
Authors:
triplesmatch_1.1.0.tar.gz
triplesmatch_1.1.0.tar.gz(r-4.5-noble)triplesmatch_1.1.0.tar.gz(r-4.4-noble)
triplesmatch_1.1.0.tgz(r-4.4-emscripten)triplesmatch_1.1.0.tgz(r-4.3-emscripten)
triplesmatch.pdf |triplesmatch.html✨
triplesmatch/json (API)
NEWS
# Install 'triplesmatch' in R: |
install.packages('triplesmatch', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.
Last updated 5 months agofrom:4957984bdc. Checks:OK: 2. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 27 2024 |
R-4.5-linux | OK | Nov 27 2024 |
Exports:aberrantscoresaberrantscoreslongboxplot_diffsboxplot_matchescut_quantdist_mahalformattripinfsentripmake_bal_tabsentriptriplestriples_sttriplesIP
Dependencies:clidplyrfansigenericsgluelifecyclemagrittrMASSoptmatchpillarpkgconfigplyrR6rcbalanceRcpprlangrlemontibbletidyselectutf8vctrswithr
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Convert outcome to aberrant ranks | aberrantscores |
Convert outcome to aberrant ranks | aberrantscoreslong |
Boxplots of pairwise differences in triples match | boxplot_diffs |
Series of boxplots for a given variable characterizing the triples match | boxplot_matches |
Create strata based on quantiles of a score | cut_quant |
Make Mahalanobis distance matrix | dist_mahal |
Formats the triples match for input to other functions | formattrip |
Sensitivity analysis for triples matches informed by tests for unmeasured bias | infsentrip |
Make covariate balance table | make_bal_tab |
Sensitivity analysis for a triples match in an observational study | sentrip |
Create a triples match | triples |
Create a triples match for a single stratum | triples_st |
Integer program for finding optimal triples match | triplesIP |