get_estimates: Computes OLS and IV estimates

Description Usage Arguments Value

View source: R/Summarize.R

Description

Computes OLS and IV estimates

Usage

1
get_estimates(y_name, T_name, z_name, data, controls = NULL, robust = FALSE)

Arguments

y_name

Character vector of the name of the dependent variable

T_name

Character vector of the names of the preferred regressors

z_name

Character vector of the names of the instrumental variables

data

Data to be analyzed

controls

Character vector containing the names of the exogenous regressors

robust

Boolean of whether to compute heteroskedasticity-robust standard errors

Value

List of beta estimates and associated standard errors for OLS and IV estimation


fditraglia/ivdoctr documentation built on June 12, 2020, 7:08 p.m.