View source: R/calculate_constant_matrices.R
calculate_constant_matrices | R Documentation |
Calculates zero-one matrices used in the computation of the interventional distribution (see, for example, Definition 1 in Gische and Voelkle, 2022).
calculate_constant_matrices(
model = NULL,
intervention_names = NULL,
outcome_names = NULL,
verbose = NULL,
use_model_values = FALSE
)
model |
Object of class |
intervention_names |
Names of interventional variables. |
outcome_names |
Names of outcome variables. |
verbose |
Verbosity of console output. |
List with several zero-one matrices:
$select_intervention | ||
$select_non_intervention | ||
$select_outcome | ||
$eliminate_intervention | ||
$duplication_matrix | ||
$elimination_matrix | ||
$commutation_matrix |
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.