create_q_vector_mundlak | R Documentation |
Create the q vector for an QP that solves min_x 0.5 * x'Px + q'x
create_q_vector_mundlak(ind_covs, interact_covs, trt)
ind_covs |
n x d1 matrix of covariates for individual units |
interact_covs |
n x d2 matrix of interactions between individual and cluster covariates |
q vector
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.