target.data {RCTrep} | R Documentation |
A data set of simulated RCT data, where outcome is continuous variable, treatment is a binary variable.
Description
A data set of simulated RCT data, where outcome is continuous variable, treatment is a binary variable.
Usage
target.data
Format
## 'target.data' A data frame with 5000 rows and 8 variables:
- x1
binary variable, x1 ~ rbinom(5000,1,0.7)
- x2
binary variable, x2 ~ rbinom(5000,1,0.9)
- x3
binary variable, x3 ~ rbinom(5000,1,0.2)
- x4
binary variable, x4 ~ rbinom(5000,1,0.3)
- x5
binary variable, x5 ~ rbinom(5000,1,0.2)
- x6
binary variable, x6 ~ rbinom(5000,1,0.3)
- z
binary variable indicating treatment and control, z ~ rbinom(5000,1,0.5)
- y
continuous variable indicating outcome, y ~ x1 + 6*x2+x6+2*z + rnorm(5000,0,1)
[Package RCTrep version 1.2.0 Index]