Skip to content

triplesmatch

Match Triples Consisting of Two Controls and a Treated Unit or Vice Versa

v1.1.0 · Jul 29, 2024 · GPL-3

Description

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>.

Downloads

151

Last 30 days

21187th

151

Last 90 days

151

Last year

CRAN Check Status

3 NOTE
11 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 NOTE
r-oldrel-macos-x86_64 NOTE
r-oldrel-windows-x86_64 NOTE
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (14 non-OK)
OK r-devel-linux-x86_64-debian-clang

*


            
OK r-devel-linux-x86_64-debian-gcc

*


            
OK r-devel-linux-x86_64-fedora-clang

*


            
OK r-devel-linux-x86_64-fedora-gcc

*


            
OK r-devel-macos-arm64

*


            
OK r-devel-windows-x86_64

*


            
NOTE r-oldrel-macos-arm64

package dependencies

Packages suggested but not available for checking: 'rrelaxiv', 'gurobi'
NOTE r-oldrel-macos-x86_64

package dependencies

Packages suggested but not available for checking: 'rrelaxiv', 'gurobi'
NOTE r-oldrel-windows-x86_64

package dependencies

Packages suggested but not available for checking: 'rrelaxiv', 'gurobi'
OK r-patched-linux-x86_64

*


            
OK r-release-linux-x86_64

*


            
OK r-release-macos-arm64

*


            
OK r-release-macos-x86_64

*


            
OK r-release-windows-x86_64

*


            

Check History

NOTE 11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 9, 2026
NOTE r-oldrel-macos-arm64

package dependencies

Packages suggested but not available for checking: 'rrelaxiv', 'gurobi'
NOTE r-oldrel-macos-x86_64

package dependencies

Packages suggested but not available for checking: 'rrelaxiv', 'gurobi'
NOTE r-oldrel-windows-x86_64

package dependencies

Packages suggested but not available for checking: 'rrelaxiv', 'gurobi'

Dependency Network

Dependencies Reverse dependencies rcbalance rlemon MASS optmatch rlang triplesmatch

Version History

new 1.1.0 Mar 10, 2026