generate.data.dose: Generate example data with five covariates
Description
This function creates some example data using the data generation process described
in simulation 1 of frazier2024biasnbpInference. The dataframe
contains a treatment variable Z, outcome variable Y, and five covariates X1,...,X5.
Usage
generate.data.dose(N)
Value
an N x 7 matrix containing treatment, outcome, and covariates.
Arguments
N
Number of observations to simulate, which should be a positive
whole number.