seq.g.vcov: Consistent Variance estimator

View source: R/DirectEffects.R

seq.g.vcovR Documentation

Consistent Variance estimator

Description

Called internally in sequential_g

Usage

## S3 method for class 'g.vcov'
seq(first_mod, direct_mod, X1, X2, med.vars)

Arguments

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


mattblackwell/DirectEffects documentation built on Oct. 10, 2024, 11:35 a.m.