pre_bounds {prepost} | R Documentation |
Run pre-treatment bounds.
Description
Run pre-treatment bounds.
Usage
pre_bounds(formula, data, moderator, conf_level = 0.95, outcome_mono = 1L)
Arguments
formula |
A formula with syntax |
data |
A data.frame containing variables in the formula, moderator, and covariates arguments. |
moderator |
A one-sided formuala with syntax |
conf_level |
A numeric indicating the confidence level for the bootstrap confidence intervals. |
outcome_mono |
A integer indicating the direction of the priming
monotonicity assumption. The default value |
Value
A list object containing bounds.
Examples
data(delponte)
pre_bounds(
formula = angry_bin ~ t_commonality,
data = delponte,
moderator = ~ itaid_bin
)
[Package prepost version 0.3.0 Index]