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