View source: R/clustered_weights.R
create_q_vector_cluster | R Documentation |
Create the q vector for an QP that solves min_x 0.5 * x'Px + q'x
create_q_vector_cluster(ind_covs, clus_covs, trt, m)
ind_covs |
n x d1 matrix of covariates for individual units |
clus_covs |
n x d2 matrix of covariates for clusters |
trt |
n vector of treatment assignment |
q vector
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.