Description Usage Arguments Value Examples
Generates a toy dataset of size n that can be used to experiment with the learners and meta-learners in this package. The generative process should be easy to learn with linear methods.
1 |
n |
the number of samples to draw from the distribution |
a list containing the covariate matrix, treatment vector, outcome vector, true propensity vector, true marginal outcome vector, true control potential outcome vector, true treated potential outcome vector, and true treatment effect vector, in that order.
1 | data = continuous_toy_data_simulation(500) # draw a sample
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.