View source: R/standardize_treatment.R
check_args_treatment | R Documentation |
Check that data is in right shape and hyparameters are feasible
check_args_treatment(
X0,
Xtau,
target,
S,
Z,
pscores,
X0s,
Xtaus,
nj,
lambda,
lowlim,
uplim,
data_in
)
X0 |
n x d0 matrix of covariates |
Xtau |
n x dtau matrix of covariates |
target |
Vector of population means to re-weight to |
S |
Vector of group indicators with J levels |
Z |
Vector of treatment indicators |
pscores |
Vector of propensity scores |
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 |
nj |
Number of units in jth site |
lambda |
Regularization hyper parameter |
lowlim |
Lower limit on weights, default 0 |
uplim |
Upper limit on weights, default 1 |
data_in |
Optional list containing pre-computed objective matrix/vector and constraints (without regularization term) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.