distance_estimator {MAGMA.R} | R Documentation |
distance_estimator
Description
estimates distance in MAGMA
.
Usage
distance_estimator(data, means, variance, cores, inp = NULL)
Arguments
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. |
Details
This function is an inner function of MAGMA
. It estimates the
distance of all possible matches.
Value
A matrix of distance for each case of each possible match.
Author(s)
Julian Urban
[Package MAGMA.R version 1.0.3 Index]