Description Usage Arguments Value Note Author(s) References
Function used internally by cov.sel.high to simulates example data used in Häggström (2016).
1 2 | cov.sel.high.sim(N, Setting, rep, Models)
|
N |
The number of observations to be simulated. |
Setting |
The simulation setting to be used. Unconfoundedness holds given X if Setting=1. M-bias given X if Setting=2. |
rep |
The number of replications to be simulated. |
Models |
The type of outcome models to be used, options are |
cov.sel.high
returns a list with the following content:
dat |
A data frame with simulated data. |
cov.sel.high.sim
calls the functions rmvbin
and mvrnorm
.
Jenny Häggström, <jenny.haggstrom@umu.se>
Häggström, J. (2017). Data-Driven Confounder Selection via Markov and Bayesian Networks. ArXiv e-prints.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.