get_estimates {ivdoctr} | R Documentation |
Computes OLS and IV estimates
Description
Computes OLS and IV estimates
Usage
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
[Package ivdoctr version 1.0.1 Index]