![](../logo.png)
Plot ATE with respect to sensitivity function value when it is constant, i.e. c(1, e) = c1 and c(0, e) = c0.
Source:R/plot.R
plot_causens.Rd
This function plots 1) the ATE as a function of the sensitivity function value when it is constant and 2) its associate 95 interval obtained via bootstrapping, if desired. The latter process can be take a few seconds to minutes.
Arguments
- trt_model
The treatment model object as a formula or fitted glm.
- data
A data frame containing the variables of interest.
- outcome
The name of the outcome variable.
- c1_upper
The upper bound for the sensitivity function value.
- c1_lower
The lower bound for the sensitivity function value.
- r
The ratio between c1 and c0.
- by
The increment for the sensitivity function value.