Description Usage Arguments Value
This function calculates the OLS weights for the fitted values of each observation
1 | OLS_pred_w(x, t, y, cs_i = NULL)
|
x |
Matrix of covariates (N x p matrix) |
t |
Vector of binary treament indicator |
y |
Vector of outcomes |
cs_i |
If not NULL, boolean vector to indicate that observation is on support |
Vector of weights
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.