impute_U: Impute unmeasured binary confounder U

Description Usage Arguments

View source: R/MultinomFuncts.R

Description

Uses M, U, and Y parts of the likelihood to impute appropriate U

Usage

1
impute_U(coef_U, coef_M, coef_Y, Z, A, M, Y)

Arguments

coef_U

Current values of U regression coefficients

coef_M

Current values of M regression coefficients

coef_Y

Current values of Y regression coefficients

Z

Confounder (matrix)

A

Treatment/exposure

M

Mediator

Y

Outcome


lcomm/ltools documentation built on May 20, 2019, 11:28 p.m.