pre_sens {prepost} | R Documentation |
Run sensitivity analysis on pre-test design
Description
Run sensitivity analysis on pre-test design
Usage
pre_sens(
formula,
data,
moderator,
t_by = 0.05,
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 |
t_by |
Numeric indicating the grid spacing for the
|
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 sensitivity output.
Examples
pre_sens(formula = angry_bin ~ t_commonality,
data = delponte,
moderator = ~ itaid_bin,
t_by = 0.1
)