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 Jan. 17, 2024, 2:56 p.m.