Absolute risk reduction
absoluteRiskReduction.Rd
Calculates absolute risk reduction based on the Kaplan-Meier estimates within risk strata
Arguments
- population
The study population generated by
matchOnPs
when using propensity score matching or bystratifyByPs
when stratifying on the propensity score. In case of inverse probability of treatment weighting approach, it is a datframe with aweights
column.- timePoint
The time at which the absolute risk difference is estimated
- psMethod
Can be one of "matchOnPs", "stratifyByPs" or "inversePtWeighted".