Learn R Programming

CovSelHigh (version 1.1.1)

cov.sel.high.sim: Simulate Example Data for CovSelHigh

Description

Function used internally by cov.sel.high to simulates example data used in H<U+00E4>ggstr<U+00F6>m (2016).

Usage

cov.sel.high.sim(N, Setting, rep, Models)

Arguments

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 "Linear", "Nonlinear" and "Binary".

Value

cov.sel.high returns a list with the following content:

dat

A data frame with simulated data.

References

H<U+00E4>ggstr<U+00F6>m, J. (2017). Data-Driven Confounder Selection via Markov and Bayesian Networks. ArXiv e-prints.