Simulates from the joint full conditional distribution of (beta,a,b) in a social relations regression model
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 normal relational matrix
row and column covariance
dyadic correlation
n x n x p covariate array
dyadic variance
a matrix of the same dimension as Z. It is assumed that
Z-offset follows a SRRM, so the offset should contain any multiplicative
effects (such as U%*% t(V)
)
prior precision matrix for regression parameters
prior mean vector for regression parameters
prior variance scale for g-prior when iV0 is unspecified
Peter Hoff