trimatch.apply2: Recursive function to find possible matched triplets using...

Description Usage Arguments

View source: R/trimatch.apply2.R

Description

Internal method. This version does not use the exact matching. Instead, this function should be called separately for each grouping.

Usage

1
trimatch.apply2(tpsa, caliper, nmatch, match.order, sd1, sd2, sd3)

Arguments

tpsa

the results from trips

caliper

a vector of length one or three indicating the caliper to use for matching within each step. This is expressed in standardized units such that .25 means that matches must be within .25 of one standard deviation to be kept, otherwise the match is dropped.

nmatch

number of closest matches to retain before moving to next edge. This can be Inf in which case all matches within the caliper will be retained through to the next step. For large datasets, evaluating all possible matches within the caliper could be time consuming.

match.order

character vector of length three indicating the order in which the matching algorithm will processes. The default is to use start with the group the middle number of subjects, followed by the smallest, and then the largest.

sd1

standard deviation for propensity scores from model 1.

sd2

standard deviation for propensity scores from model 2.

sd3

standard deviation for propensity scores from model 3.


TriMatch documentation built on May 2, 2019, 12:37 p.m.