calc_inst_effect_h5X | R Documentation |
Calculates correlation and standard error of instrument with target feature.
calc_inst_effect_h5X(inst_id, target, X, X_control, X_ids, X_vars)
inst_id |
String. Id of instrumental 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. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.