get_Qbarbar: Helper function to marginalize outcome regression over...

Description Usage

View source: R/estimate.R

Description

Helper function to marginalize outcome regression over mediator distributions. Used to get each of the relevant nuisance parameters needed to evaluate the total, direct, and indirect effects.

Usage

1
2
3
4
5
6
7
8
get_Qbarbar(
  Qbar_n,
  Q_M_n,
  unique_M1_values,
  unique_M2_values,
  all_mediator_values,
  ...
)

benkeser/intermed documentation built on Dec. 19, 2021, 8:43 a.m.