estimate_fs_raw: Estimate First Stage Coefficients

Description Usage Arguments Value

Description

Estimate First Stage Coefficients

Usage

1
estimate_fs_raw(DT, y, month, x_main, x_int, form)

Arguments

DT

a data.table

y

character vector, name of response variable(s) without months suffix

month

character, month of analysis (in form "year_month")

x_main

character (default = "first_mo"), name of instrument

x_int

character vector, names of variables to interact instrument with

form

first stage formula

Value

data.table with first stage estimates and standard errors


evanjflack/polypharmacy documentation built on Oct. 12, 2020, 10:45 a.m.