create_q_vector_treatment: Create the q vector for an QP that solves min_x 0.5 * x'Px +...

View source: R/standardize_treatment.R

create_q_vector_treatmentR Documentation

Create the q vector for an QP that solves min_x 0.5 * x'Px + q'x

Description

Create the q vector for an QP that solves min_x 0.5 * x'Px + q'x

Usage

create_q_vector_treatment(Xtaus, pro_trt_split, target, aux_dim)

Arguments

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

Value

q vector


ebenmichael/balancer documentation built on Jan. 17, 2024, 2:56 p.m.