Create pseudo population using matching casual inference approach
Source:R/create_matching.R
create_matching.Rd
Generates pseudo population based on matching casual inference method.
Usage
create_matching(
data_obj,
exposure_col_name,
bin_seq = NULL,
gps_density = "normal",
nthread = 1,
...
)
Arguments
- data_obj
A list of elements. Including An original dataset as well as helper vectors from estimating GPS. See
compile_pseudo_pop()
for more details.- bin_seq
Sequence of w (treatment) to generate pseudo population. If NULL is passed the default value will be used, which is
seq(min(w)+delta_n/2,max(w), by=delta_n)
.- gps_density
Model type which is used for estimating GPS value, including
normal
(default) andkernel
.- nthread
Number of available cores.
- ...
Additional arguments passed to the function.