toDG: Convert MCMC Coefficients to Z-Scores Following...

Description Usage Arguments

View source: R/DG_Functions.R

Description

toDG reparamatrizes a matrix of MCMC coefficients into Draper-Gittoes Z-Scores with a linear transformation.

Usage

1
toDG(coef_mat, count_vec, baseline = FALSE)

Arguments

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 c onstraint is not satisfied.


dhelkey/dghrank documentation built on April 21, 2020, 9:11 a.m.