inferConfounders: Infer confounders to account for when assessing the direct...

inferConfoundersR Documentation

Infer confounders to account for when assessing the direct effect of @param iv on @param dv.

Description

This function findings confounders to account for. Follows recommendations from Cinelli, Forney, and Pearl 2020

Usage

inferConfounders(conceptualModel, iv, dv)

Arguments

conceptualModel

ConceptualModel. With causal graph to use in order to identify confounders.

iv

AbstractVariable. Independent variable that should cause (directly or indirectly) the @param dv.

dv

AbstractVariable. Dependent variable that should not cause the @param iv.

Value

list of confounders to include.


emjun/tisaner documentation built on Nov. 9, 2024, 6:32 p.m.