toDG
reparamatrizes a matrix of MCMC coefficients into Draper-Gittoes
Z-Scores with a linear transformation. The dot product of the Z-scores and
the count_vec is constrained to be 0.
1 |
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. |
baseline |
Logical; If TRUE, the first coeffient is constrained to be 0, and the D-G constraint is not satisfied. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.