opl_lc_c {OPL}R Documentation

Linear Combination Based Policy Learning

Description

Implementing ex-ante treatment assignment using as policy class a linear-combination approach at specific parameters' values c1, c2, and c3 for the linear-combination of variables var1 and var2: c1var1+c2var2>=c3.

Usage

opl_lc_c(make_cate_result, z, w, c1 = NA, c2 = NA, c3 = NA, verbose = TRUE)

Arguments

make_cate_result

A data frame containing the input data. It must include a column named my_cate representing conditional average treatment effects (CATE) generated using make_cate function.

z

A character vector of length 2 specifying the column names of the two threshold variables to be standardized.

w

A character string specifying the column name indicating treatment assignment (binary variable).

c1

Threshold for var1 given by the user or optimized by the the function. This number must be chosen between 0 and 1.

c2

Threshold for var2 given by the user or optimized by the the function. This number must be chosen between 0 and 1.

c3

Third parameter of the linear-combination. This number must be chosen between 0 and 1.

verbose

Set TRUE to print the output on the console.

Details

The function performs the following steps:

Value

The function returns a data frame containing the standardized variables and treatment assignments, and prints a summary of the results and a plot showing the optimal policy assignment.

References


[Package OPL version 1.0.2 Index]