create_matching: Create pseudo population using matching casual inference...

Description Usage Arguments Value

View source: R/create_matching.R

Description

Generates pseudo population based on matching casual inference method.

Usage

1
2
3
4
5
6
7
8
create_matching(
  dataset,
  bin_seq = NULL,
  gps_model = "parametric",
  nthread = 1,
  optimized_compile,
  ...
)

Arguments

dataset

A list with 6 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_model

Model type which is used for estimating GPS value, including parametric (default) and non-parametric.

nthread

Number of available cores.

optimized_compile

Option to activate optimized compilation.

...

Additional arguments passed to the function.

Value

Returns data.table of matched set.


CausalGPS documentation built on Feb. 7, 2022, 5:12 p.m.