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

View source: R/clustered_weights.R

create_q_vector_clusterR 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_cluster(ind_covs, clus_covs, trt, m)

Arguments

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

Value

q vector


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