thomas-rasmussen / sas_macros

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

Macro to calculate (standardized) rates #48

Open thomas-rasmussen opened 2 years ago

thomas-rasmussen commented 2 years ago

Consider if it is worth it / makes sense to make a macro that can calculates crude and/or standardized rates using input datasets with 1) events, 2) py's, and 3) weights (if standardization is used). Look at macro in geographical AKI study on SDS for inspiration.

It feels like this is a natural addition to the risk_time macro to facilitate incidence rate analyses.