get_ate: get_ate

Description Usage Arguments Value See Also

View source: R/get_ate.R

Description

get_ate is a generic function used to get average treatment effects (ATE) in a DAG model.

Usage

1
get_ate(dag_model, ...)

Arguments

dag_model

An object of either class "paramteric_dag_model" or "non_paramteric_dag_model".

...

Additional arguments to dispatched method.

Value

A data.frame with 3 columns:

  1. From: The baseline treatment value.

  2. To: The value a treatment was changed to.

  3. ATE: The average treatment effect of changing the treatment value from "From" to "To.

See Also

get_ate.non_parametric_dag_model, get_ate.parametric_dag_model


IyarLin/simMixedDAG documentation built on Oct. 30, 2019, 7:28 p.m.