Draws jointly from the full conditional of the regression coefficients
beta together with the additive sender/receiver effects
a, b for a single social-relations regression matrix. The
within-dyad reciprocity covariance is whitened so every directed cell
becomes a unit-variance Gaussian observation, the additive-effect prior
N(0,Sab) is written through a square-root factor so a
rank-deficient Sab is handled without inverting it, and the
complete joint Gaussian precision over (beta, factors) is
assembled from cell-level sufficient statistics and sampled in one draw.
rbeta_ab_fc(
Z,
Sab,
rho,
X = NULL,
s2 = 1,
offset = 0,
iV0 = NULL,
m0 = NULL,
g = length(Z)
)regression coefficients
additive row effects
additive column effects
n x n relational matrix (multiplicative effects already removed)
2 x 2 covariance of the additive row/column effects
within-dyad (reciprocity) correlation
n x n x p covariate design array
dyadic variance
matrix subtracted from Z before sampling
prior precision for beta; a g-prior is used when NULL
prior mean for beta; zero when NULL
g-prior variance scale used when iV0 is NULL
lame authors