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

View source: R/mundlak.R

create_q_vector_mundlakR 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_mundlak(ind_covs, interact_covs, trt)

Arguments

ind_covs

n x d1 matrix of covariates for individual units

interact_covs

n x d2 matrix of interactions between individual and cluster covariates

Value

q vector


ebenmichael/balancer documentation built on Feb. 21, 2025, 7:50 a.m.