get_observables: Given data and function specification, returns the relevant...

Description Usage Arguments Value

View source: R/IdentifiedSet.R

Description

Given data and function specification, returns the relevant correlations and covariances with any exogenous controls projected out.

Usage

1
get_observables(y_name, T_name, z_name, data, controls = NULL)

Arguments

y_name

Name of the dependent variable

T_name

Name(s) of the preferred regressor(s)

z_name

Name(s) of the instrumental variable(s)

data

Data to be analyzed

controls

Exogenous regressors to be included

Value

List of correlations, covariances, and R^2 of first and second stage regressions after projecting out any exogenous control regressors


ivdoctr documentation built on Dec. 11, 2021, 9:32 a.m.