seq_g_vcov {DirectEffects} | R Documentation |
Called internally in sequential_g
seq_g_vcov(first_mod, direct_mod, X1, X2, med.vars)
first_mod |
first stage model |
direct_mod |
DirectEffects model with terms |
X1 |
model matrix of first stage model |
X2 |
model matrix of DirectEffects model |
med.vars |
vector of term.label attributes for mediators |