Given data and function specification, returns the relevant correlations and covariances with any exogenous controls projected out.
get_observables(y_name, T_name, z_name, data, controls = NULL)
Name of the dependent variable
Name(s) of the preferred regressor(s)
Name(s) of the instrumental variable(s)
Data to be analyzed
Exogenous regressors to be included
List of correlations, covariances, and R^2 of first and second stage regressions after projecting out any exogenous control regressors