multiple_iv_reg_h5X | R Documentation |
Implements simple multiple-outcome instrumental variables regression.
multiple_iv_reg_h5X(
inst_id,
target,
X,
X_control,
X_ids,
X_vars,
vars_to_use = NULL,
obs_to_use = NULL
)
inst_id |
String. Id of instrument to calculate outcomes from. |
target |
String. Target feature of the instrument. |
X |
H5D. Example: ‘X=hfile[[’X']]' where hfile is an hdf5r object containing a data matrix stored under label 'X'. |
X_control |
Matrix. features by control observations. Usually pulled from X but stored in memory so you don't have to pull the same control observations off of disk for every instrument. |
X_ids |
Sequence of strings with length equal to number of columns in X. Entries correspond to the instrument applied to that entry. |
X_vars |
Sequence of strings with length equal to the number of rows in X. Name of the feature measured in that row. |
vars_to_use |
Sequence of strings. Entries in X_vars to keep. Default NULL to keep all. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.