View source: R/intervention_effect.R
intervention_effect | R Documentation |
Calculate estimates of causal effects based on the interventional distribution.
intervention_effect(
model = NULL,
intervention = NULL,
intervention_level = NULL,
outcome = NULL,
effect_type = NULL,
lower_bound = NULL,
upper_bound = NULL,
verbose = NULL,
...
)
model |
Fitted model. The fitted model can be of class |
intervention |
Character vector of names of interventional variables. |
intervention_level |
Numeric vector of interventional levels.
Same length and order as argument |
outcome |
Character vector of variable names of outcome variables. Default: all non-interventional variables. |
effect_type |
Character string describing the features of the
interventional distribution to be analyzed. Admissible values are
|
lower_bound |
Numeric vector of same length and order as argument
|
upper_bound |
Numeric vector of same length and order as argument
|
verbose |
Integer number describing the verbosity of console output. Admissible values: 0: no output (default), 1: user messages, 2: debugging-relevant messages. |
An object of class causalSEM
for which several methods
are available including summary.causalSEM
and
print.causalSEM
.
Gische, C., Voelkle, M.C. (2022) Beyond the Mean: A Flexible Framework for Studying Causal Effects Using Linear Models. Psychometrika 87, 868–901. https://doi.org/10.1007/s11336-021-09811-z
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.