estimates distance in MAGMA
.
distance_estimator(data, means, variance, cores, inp = NULL)
A matrix of distance for each case of each possible match.
A matrix containing all possible combinations.
A matrix containing all row means of all possible matches.
A numeric indicating the variance of the propensity scores.
An integer defining the number of cores used for parallel computation.
input parameter for parallel distance computation.
Julian Urban
This function is an inner function of MAGMA
. It estimates the
distance of all possible matches.