gen_Yobs {PUMP} | R Documentation |
Generate observed outcomes (simulation function)
Description
Takes in a full dataset of both observed and latent potential outcomes and the treatment assignment vector, and returns only the observed outcomes.
This function is beyond the main scope of calculating power, and is instead used for simulating data. For more info on use, see the simulation vignette.
Usage
gen_Yobs(full.data, T.x)
Arguments
full.data |
data.frame; full dataset of potential outcomes. |
T.x |
vector; binary assignment to treat/control. |
Value
vector; observed outcomes
[Package PUMP version 1.0.3 Index]