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.
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.