Skip to contents

Control-function (residual augmentation) IV

Usage

morie_iv_control_function(
  data,
  outcome,
  endogenous,
  instruments,
  exogenous = NULL,
  robust = TRUE,
  alpha = 0.05
)

Arguments

data

Data frame.

outcome

Name of the outcome column.

endogenous

Character vector of endogenous regressor names.

instruments

Character vector of excluded-instrument names.

exogenous

Optional character vector of exogenous covariate names.

robust

Logical; if TRUE use HC1 robust standard errors.

alpha

Significance level for confidence intervals.