Learn R Programming

⚠️There's a newer version (0.10.8) of this package.Take me there.

optmatch (version 0.9-5)

Functions for Optimal Matching

Description

Provides routines for distance based bipartite matching to reduce covariate imbalance between treatment and control groups in observational studies. Routines are provided to generate distances from GLM models (propensity score matching) and formulas (Euclidean and Mahalanobis matching), stratified matching (exact matching), and calipers. Results of the fullmatch routine are guaranteed to provide minimum average within matched set distance.

Copy Link

Version

Install

install.packages('optmatch')

Monthly Downloads

6,365

Version

0.9-5

License

file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Mark Fredrickson

Last Published

July 30th, 2015

Functions in optmatch (0.9-5)

nuclearplants

Nuclear Power Station Construction Data
caliper

Prepare matching distances suitable for matching within calipers.
update.optmatch

Performs an update on an optmatch object.
exactMatch-methods

Generate an exact matching set of subproblems
fullmatch

Optimal full matching
compare_optmatch

Compares the equality of optmatch objects, ignoring attributes and group names.
optmatch_same_distance

Checks if the distance newdist is identical to the distance used to generate the optmatch object obj.
optmatch

Optmatch Class
num_eligible_matches

Returns the number of eligible matches for the distance.
antiExactMatch

Specify a matching problem where units in a common factor cannot be matched.
InfinitySparseMatrix-class

Objects for sparse matching problems.
subdim

Returns the dimension of each valid subproblem
minControlsCap

Set thinning and thickening caps for full matching
dimnames,InfinitySparseMatrix-method

Get and set dimnames for InfinitySparseMatrix objects
mdist

(Deprecated, in favor of match_on) Create matching distances
matched

Identification of units placed into matched sets
relaxinfo

Display license information about embedded code
stratumStructure

Return structure of matched sets
getMaxProblemSize

What is the maximum allowed problem size?
matched.distances

Determine distances between matched units
scores

Extract scores (propensity, prognostic,...) from a fitted model
+,InfinitySparseMatrix,InfinitySparseMatrix-method

Element-wise addition
maxCaliper

Find the maximum caliper width that will create a feasible problem.
effectiveSampleSize

Compute the effective sample size of a match.
match_on

Create treated to control distances for matching problems
optmatch-defunct

Functions deprecated or removed from optmatch
pairmatch

Optimal 1:1 and 1:k matching
plantdist

Dissimilarities of Some U.S. Nuclear Plants
optmatch_restrictions

optmatch_restrictions
print.optmatch

Printing optmatch objects.
subproblemSuccess

(Internal) Report successful subproblems.
distUnion

Combine multiple distance specifications into a single distance specification.
minExactMatch

Find the minimal exact match factors that will be feasible for a given maximum problem size.