Learn R Programming

FLAME (version 1.0.0)

Data_Generation: Generate Synthetic Data

Description

Data_Generation generates synthetic data, where each covariate is a binary variable. The function used to create synthetic data can be found

Usage

Data_Generation(num_control, num_treated, num_cov_dense,
  num_cov_unimportant, U)

Arguments

num_control

number of samples in the control group

num_treated

number of samples in the treated group

num_cov_dense

number of important covariates

num_cov_unimportant

number of unimportant covariates

U

non-linear term coefficient

Value

synthetic data

Examples

Run this code
# NOT RUN {
Data_Generation(10, 10, 10, 5, 5)
Data_Generation(10, 10, 5, 10, 5)

# }

Run the code above in your browser using DataLab