create_P_matrix_treatment: Create the P matrix for an QP that solves min_x 0.5 * x'Px +...

View source: R/standardize_treatment.R

create_P_matrix_treatmentR Documentation

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

Description

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

Usage

create_P_matrix_treatment(n, aux_dim)

Arguments

n

Total number of units

aux_dim

Dimension of auxiliary weights

Value

P matrix


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