thomas-rasmussen / sas_macros

SAS macros
Creative Commons Zero v1.0 Universal
5 stars 4 forks source link

ps_match: matching on additional (categorical) variables #28

Open thomas-rasmussen opened 4 years ago

thomas-rasmussen commented 4 years ago

In some scenarios it might be relevant to match on both the ps, but also additional (categorical) variables to make sure that matches has the same values of those variables. This should be easy to implement by simply adding extra matching criteria on variables in the hash-merge, based on a list of variables given in an input parameter.