Description Usage Arguments Value
This function prepares the fitted values of the outcome after variable selection.
1 |
x |
Matrix of covariates (N x p matrix) |
t |
Matrix of binary treament indicators (N x # of treatments matrix) each column contains a binary indicator for each tratment |
y |
Vector of outcomes |
nm_list |
List with length = # of treatments containing list with the selected variable names for each treatment level |
y_prep
returns a N x # of treatments matrix with the fitted values
for each treatment level.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.