Skip to contents

Obtain treatment effect and variance from counter-factual prediction

Usage

treatment_effect(
  object,
  pair,
  variance,
  eff_measure,
  eff_jacobian,
  vcov_args,
  ...
)

difference(object, ...)

risk_ratio(object, ...)

odds_ratio(object, ...)

Arguments

object

Object from which to obtain treatment effect.

pair

(integer or character) Names or index of the treatment levels.

variance

(function) Variance function.

eff_measure

(function) Treatment effect measurement function.

eff_jacobian

(function) Treatment effect jacobian function.

vcov_args

(list) Additional arguments for variance.

...

Additional arguments for variance.