Learn R Programming

match2C (version 1.2.4)

Match One Sample using Two Criteria

Description

Multivariate matching in observational studies typically has two goals: 1. to construct treated and control groups that have similar distribution of observed covariates and 2. to produce matched pairs or sets that are homogeneous in a few priority variables. This packages implements a network-flow-based method built around a tripartite graph that can simultaneously achieve both goals. The package also implements a template matching algorithm using a variant of the tripartite graph design. A brief description of the workflow and some examples are given in the vignette. A more elaborated tutorial can be found at .

Copy Link

Version

Install

install.packages('match2C')

Monthly Downloads

79

Version

1.2.4

License

MIT + file LICENSE

Maintainer

Bo Zhang

Last Published

March 17th, 2023

Functions in match2C (1.2.4)

force_control

Force including certain controls in the final matched samples.
stitch_two_nets

Stitch two treated-to-control networks into one two-part networks.
solve_network_flow

Solve a network flow problem.
stitch_two_nets_template

Stitch a template-to-treated network and a treated-to-control network into one two-part network.
treated_control_net

Create a treate-to-control network to be solved via a network flow algorithm.
match_2C

Optimal Matching with Two Criteria.
template_match

Optimal Matching with Two Criteria.
match_2C_list

Perform a pair (or 1:k) matching with two user-specified list representations of distance matrices.
revert_dist_list_cpp

Revert a treated-to-control distance list.
match_2C_mat

Perform a pair matching using two user-specified distance matrices.
NewPackage-package

A short title line describing what the package does
construct_outcome_template

Construct an output for template matching.
create_list_from_scratch

Create a sparse list representation of treatment-to-control distance matrix with a caliper.
check_balance

Check balance after matching.
create_list_from_scratch_overall

Create a sparse list representation of treated-to-control distance matrix with a fixed number caliper with L1-distance.
create_list_from_mat

Create a list representation of a distance matrix.
construct_outcome

Construct an output for matching.
check_balance_template

Check balance after template matching.
dt_Rouse

Rouse (1995) dataset