/propensity_score

Basic greedy matching in R

Primary LanguageR

A Simple R Script for matching records based on Propensity Scores

psm(a,b,var,max,min,id, nn)

Returns a data frame of matches between data frame a and b given the match probabilities variable var, the maximum and minimum precision of probabilities, a unique identifier id, and the number of matches per target record nn