View source: R/selection-bias-methods.R
selbias_sample | R Documentation |
uses values of b0, b1, b2 to sample treated units based on values of two covariates (here moving average and unemployment rate) to induce confounding (selection) bias. Once treated units are identified, codes level and change version of treatment that are used in various modeling approaches later on.
selbias_sample(single_simulation)
single_simulation |
object created from SimConfig$setup_single_simulation() |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.