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

View source: R/standardize.R

create_q_vectorR 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(Xz, target, aux_dim)

Arguments

Xz

list of J n x d matrices of covariates split by group

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.