RDocumentation
Moon
Learn R
Search all packages and functions
⚠️
There's a newer version (0.10.7) 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
Copy
Link to current version
Version
Version
0.10.7
0.10.6
0.10.5
0.10.4
0.10.3
0.10.2
0.10.1
0.10.0
0.9-17
0.9-15
0.9-14
0.9-13
0.9-12
0.9-11
0.9-10
0.9-9
0.9-8
0.9-7
0.9-6
0.9-5
0.9-3
0.9-1
0.9-0
0.8-3
0.8-1
0.8-0
0.7-5
0.7-3
0.7-1
0.7-0
0.6-1
0.6-0
0.5-0
0.4-1
0.4-0
0.3-9
0.3-8
0.3-4
0.3-3
0.3-2
0.3-1
0.2-3
0.2-2
0.2-1
0.1-7
0.1-6
Down Chevron
Install
install.packages('optmatch')
Monthly Downloads
6,740
Version
0.9-3
License
file LICENSE
Issues
34
Pull Requests
0
Stars
46
Forks
14
Repository
https://github.com/markmfredrickson/optmatch
Homepage
http://www.r-project.org
Maintainer
Mark Fredrickson
Last Published
August 13th, 2014
Functions in optmatch (0.9-3)
Search functions
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.