Skip to contents

This function performs a Monte Carlo sensitivity analysis for causal effects.

Usage

causens_monte_carlo(exposure, outcome, confounders, data, ...)

Arguments

exposure

The name of the exposure variable in the data frame.

outcome

The name of the outcome variable in the data frame.

confounders

The name of the confounders in the data frame.

data

A data frame containing the exposure, outcome, and confounder variables.

...

Additional arguments to be passed to the function.

Value

The estimated causal effect.