draw_observables: Simulates different data draws

Description Usage Arguments Value

View source: R/SamplingUncertainty.R

Description

This function takes the data and simulates potential draws of data from the properties of the observed data.

Usage

1
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


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