treatment_effect {RobinCID}R Documentation

Treatment Effect

Description

Obtain treatment effect and variance from counter-factual prediction

Usage

treatment_effect(object, pair, eff_measure, eff_jacobian, alpha, ...)

difference(object, ...)

risk_ratio(object, ...)

odds_ratio(object, ...)

Arguments

object

Object from which to obtain treatment effect. Must be obtained from estimate_effect().

pair

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

eff_measure

(function) Treatment effect measurement function.

eff_jacobian

(function) Treatment effect jacobian function.

alpha

Nominal level

...

Additional arguments passed to glm

Value

A list of treatment_effect object with following elements:


[Package RobinCID version 1.0.0 Index]