Learn R Programming

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

optmatch (version 0.9-0)

Functions for optimal matching

Description

Functions for optimal matching, including full matching

Copy Link

Version

Install

install.packages('optmatch')

Monthly Downloads

6,365

Version

0.9-0

License

file LICENSE

Maintainer

Mark Fredrickson

Last Published

August 9th, 2013

Functions in optmatch (0.9-0)

caliperSize

(Internal) Determines how many other units fall within a caliper distance
effectiveSampleSize

Compute the effective sample size of a match.
caliperUpperBound

(Internal) Returns a reasonable upper bound on the arcs remaining after placing a caliper.
matched.distances

Determine distances between matched units
minControlsCap

Set thinning and thickening caps for full matching
matched

Identification of units placed into matched sets
plantdist

Dissimilarities of Some U.S. Nuclear Plants
subproblemSuccess

(Internal) Report successful subproblems.
validDistanceSpecification

(Internal) Validate that objects are valid distance specifications.
setFeasibilityConstants

(Internal) Sets up the default values for maximum feasible problems
makeInfinitySparseMatrix

(Internal) Creating sparse matching problems
maxCaliper

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

Optimal full matching
scoreCaliper

(Internal) Helper function to create an InfinitySparseMatrix from a set of scores, a treatment indicator, and a caliper width.
setTryRecovery

(Internal) Sets up option to try recovery in fullmatch.
scores

Wrapper for predict to cleanly look for new data to predict on.
mdist

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

Optmatch Class
print.optmatch

Printing optmatch objects.
makeOptmatch

(Internal) Create optmatch objects, the result of matching.
nuclearplants

Nuclear Power Station Construction Data
update.optmatch

Performs an update on an optmatch object.
minExactMatch

Find the minimal exact match factors that will be feasible.
pairmatch

Optimal 1:1 and 1:k matching
optmatch-defunct

Functions deprecated or removed from optmatch
dist_digest

(Internal) Remove the call before digesting a distance so things like omitting caliper and calling caliper=NULL give the same digest
subdim

Returns the dimension of each valid subproblem
exactMatch-methods

Generate an exact matching set of subproblems
optmatch_same_distance

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

Prepare matching distances suitable for matching within calipers.
fmla2treatedblocking

(Internal) A helper function to turn formulas into treatment and blocking variables
num_eligible_matches

Returns the number of eligible matches for the distance.
optmatch_restrictions

optmatch_restrictions
getMaxProblemSize

(Internal) What is the maximum allowed problem size?
relaxinfo

Display license information about embedded code
match_on

Create treated to control distances for matching problems
stratumStructure

Return structure of matched sets