draw_observables {ivdoctr} | R Documentation |
Simulates different data draws
Description
This function takes the data and simulates potential draws of data from the properties of the observed data.
Usage
draw_observables(y_name, T_name, z_name, data, controls = NULL, n_draws = 5000)
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 |
n_draws |
Integer number of simulations to draw |
Value
Data frame containing covariances, correlations, and R-squares for each data simulation
[Package ivdoctr version 1.0.1 Index]