designBased
implements design based approach and
computes O, E, and z vectors following Draper-Gittoes (2004)
1 | designBased(gamma, outcome_vec, pcf_cat_vec, instid_vec)
|
gamma |
Parameter in [0,1] controling pooling. Gamma = 1 is complete global pooling, gamma = 0 is complete local pooling. |
outcome_vec |
Vector with elements in 0,1 denoting the binary outcome. |
pcf_cat_vec |
Vector with unique values for each PCF category. |
instid_vec |
Vector with unique values for each institution. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.