View source: R/standardize_treatment.R
create_q_vector_treatment | R Documentation |
Create the q vector for an QP that solves min_x 0.5 * x'Px + q'x
create_q_vector_treatment(Xtaus, pro_trt_split, target, aux_dim)
Xtaus |
List of J n x dtau matrices of covariates split by group |
pro_trt_split |
List of J vectors of treatment propensity multipliers |
target |
Vector of population means to re-weight to |
aux_dim |
Dimension of auxiliary weights |
q vector
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.