Skip to contents

Estimates treatment effects within risk strata based on the length of list ps.

Usage

estimateTreatmentEffect(ps, analysis)

Arguments

ps

A list of objects created from createPs estimated within risk strata.

analysis

An analysis object.

Value

A list containing :

  • relativeRiskReductionHazard ratios along with confidence intervals within risk strata

  • absoluteRiskReductionAbsolute risk differences along with confidence intervals within risk strata

  • casesObserved outcome proportions within risk strata

  • modelsThe models used to estimate relative risk reduction within risk strata