Learn R Programming

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

optmatch (version 0.9-3)

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

License

file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Mark Fredrickson

Last Published

August 13th, 2014

Functions in optmatch (0.9-3)

minExactMatch

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

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

Compute the effective sample size of a match.
match_on

Create treated to control distances for matching problems
caliperSize

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

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

Set thinning and thickening caps for full matching
makeOptmatch

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

Printing optmatch objects.
getMaxProblemSize

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

Dissimilarities of Some U.S. Nuclear Plants
maxCaliper

Find the maximum caliper width that will create a feasible problem.
exactMatch-methods

Generate an exact matching set of subproblems
subproblemSuccess

(Internal) Report successful subproblems.
scoreCaliper

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

Optimal 1:1 and 1:k matching
matched.distances

Determine distances between matched units
matched

Identification of units placed into matched sets
makeInfinitySparseMatrix

(Internal) Creating sparse matching problems
distUnion

Combine multiple distance specifications into a single distance specification.
nuclearplants

Nuclear Power Station Construction Data
subdim

Returns the dimension of each valid subproblem
setFeasibilityConstants

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

Optimal full matching
antiExactMatch

Specify a matching problem where units in a common factor cannot be matched.
optmatch-defunct

Functions deprecated or removed from optmatch
optmatch

Optmatch Class
optmatch_same_distance

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

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

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

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

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

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

Return structure of matched sets
update.optmatch

Performs an update on an optmatch object.
num_eligible_matches

Returns the number of eligible matches for the distance.
optmatch_restrictions

optmatch_restrictions
relaxinfo

Display license information about embedded code
caliper

Prepare matching distances suitable for matching within calipers.
compare_optmatch

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