rbeta_ab_fc | R Documentation |
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)
)
Z |
n X n normal relational matrix |
Sab |
row and column covariance |
rho |
dyadic correlation |
X |
n x n x p covariate array |
s2 |
dyadic variance |
offset |
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 |
iV0 |
prior precision matrix for regression parameters |
m0 |
prior mean vector for regression parameters |
g |
prior variance scale for g-prior when iV0 is unspecified |
beta |
regression coefficients |
a |
additive row effects |
b |
additive column effects |
Peter Hoff
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.