gen_T.x | R Documentation |
Given a RCT design and supporting information, generates treatment assignments for each student.
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.
gen_T.x(d_m, S.id, D.id, Tbar)
d_m |
string; design and model. |
S.id |
vector; school assignments. |
D.id |
vector; district assignments. |
Tbar |
scalar; probability of treatment assignment. |
vector; treatment assignments for each unit.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.