Transforms coefficients to satisfy the Draper-Gittoes constraint (dot product of the Z-scores and the count_vec is constrained to be 0). Written by Daniel Kirsner
1  | dgConstraint(coef_mat, count_vec)
 | 
coef_mat | 
 <IXp> coefficient matrix, with I MCMCM iterations. The first column should be the overall intercept.  | 
count_vec | 
 <px1> vector of integers, total number of observations per institution or group.  | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.