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