View source: R/standardize_treatment_kernel.R
create_P_matrix_treatment_kernel | R Documentation |
Create the P matrix for an QP that solves min_x 0.5 * x'Px + q'x
create_P_matrix_treatment_kernel(
n,
X0s,
Xtaus,
kernel0,
kerneltau,
pro_trt,
pro_ctr,
S_factor,
gc
)
n |
Total number of units |
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 |
kernel0 |
Kernel to use for average control potential outcome function |
kerneltau |
Kernel to use for average treatment effect function |
pro_trt |
Vector of treatment propensity multipliers |
pro_ctr |
Vector of control propensity multipliers |
S_factor |
Vector of site labels |
gc |
boolean indicating whether to garbage collect between operations |
P matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.