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

View source: R/create_matching.R

create_matchingR Documentation

Create pseudo population using matching casual inference approach

Description

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) and kernel.

nthread

Number of available cores.

...

Additional arguments passed to the function.

Value

Returns data.table of matched set.


CausalGPS documentation built on Sept. 30, 2023, 1:06 a.m.