Skip to contents

This function provides an estimate of the Average Treatment Effect (ATE) using outcomes corrected for unmeasured confounding via a sensitivity function.

Arguments in the ellipsis are 'keyword arguments' and are passed to the sensitivity function `sf`.

Usage

causens(trt_model, data, exposure, outcome, method, ...)

Arguments

trt_model

The treatment model object.

data

A data frame containing the variables of interest.

exposure

The name of the exposure variable.

outcome

The name of the outcome variable.

method

The method to use for sensitivity analysis. Currently, only "Li" is supported.

...

Additional arguments to be passed to the sensitivity function.

Value

A point estimate of the corrected ATE.