create_constraints_treatment: Create the constraints for QP: l <= Ax <= u

View source: R/standardize_treatment.R

create_constraints_treatmentR Documentation

Create the constraints for QP: l <= Ax <= u

Description

Create the constraints for QP: l <= Ax <= u

Usage

create_constraints_treatment(
  X0s,
  Xtaus,
  target,
  Z,
  S_factor,
  pro_trt_split,
  pro_ctr_split,
  lowlim,
  uplim,
  verbose
)

Arguments

X0s

List of J n x d0 matrices of covariates split by group

Xtaus

List of J n x dtau matrices of covariates split by group

target

Vector of population means to re-weight to

Z

Vector of group indicators

S_factor

Vector of site indicators

pro_trt_split

List of J vectors of treatment propensity multipliers

pro_ctr_split

List of J vectors of control propensity multipliers

lowlim

Lower limit on weights

uplim

Upper limit on weights

verbose

Boolean indicating whether to print progress

Value

A, l, and u


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