sbwOptions {causalOT} | R Documentation |
Options for the SBW method
Description
Options for the SBW method
Usage
sbwOptions(delta = NULL, grid.length = 20L, nboot = 1000L, ...)
Arguments
delta |
A number or vector of tolerances for the balancing functions. Default is NULL which will use a grid search |
grid.length |
The number of values to try in the grid search |
nboot |
The number of bootstrap samples to run during the grid search. |
... |
Arguments passed on to osqpSettings() |
Value
A list of class sbwOptions
with slots
-
delta
Delta values to try -
grid.length
The number of parameters to try -
sumto1
Forced to be TRUE. Weights will always sum to 1. -
nboot
Number of bootstrap samples -
solver.options
A list with arguments passed to osqpSettings()
Function balancing
This method will balance functions of the covariates within some tolerance, . For these functions
, we will desire
, where in this case we are targeting balance with the treatment group for the ATT. is the pooled standard deviation prior to balancing.
Examples
opts <- sbwOptions(delta = 0.1)