DAPSest is a function that can be used to perform Distance Adjusted Propensity Score Matching.

Why use it:

What are the situations that DAPSm should be used?

Fitting DAPSm

Before DAPSest

Using DAPSest

We are now ready to fit DAPSm to the data. The arguments on the function are described here in detail:

After DAPSest

Choosing the optimal $w$ - 2$^{nd}$ option

As mentioned before the optimal weight algorithm described above is a fast search for the optimal $w$ defined as the minimum $w$ for which the absolute standardized difference of means (ASDM) of observed covariates is less than a cutoff. This might be appropriate for very large data sets for which performing an extensive search for the optimal value of $w$ is not feasible. The fast search defined above is based on the assumption that ASDM is decreasing as more and more matching weight is given to the propensity score (increasing $w$).

However, it is often the case that this might not be true. For example, if one of the observed covariates in our data set is spatially structured, then distance might work adequately to balance it, and therefore the trend of ASDM as a function of $w$ will not necessarily be decreasing.

For that reason, we suggest a second option for calculating the optimal $w$. This algorithm still defines the optimal $w$ as the minimum $w$ for which ASDM of all covariates is below a cutoff. However, one can instead scan multiple values of $w$ ranging from 0 to 1, and specificly choose the smallest one that acheives balance.

Algorithm 2 for choosing the optimal weight



gpapadog/DAPSm documentation built on May 17, 2019, 8 a.m.