R/raSab_frn_fc.R
raSab_frn_fc.RdSimulate a and Sab from full conditional distributions under frn likelihood
raSab_frn_fc(Z, Y, YL, a, b, Sab, odmax, odobs, Sab0=NULL, eta0=NULL, SS=round(sqrt(nrow(Z))))
| Z | a square matrix, the current value of Z |
|---|---|
| Y | square matrix of ranked nomination data |
| YL | list of ranked individuals, from least to most preferred in each row |
| a | current value of row effects |
| b | current value of column effects |
| Sab | current value of Cov(a,b) |
| odmax | a scalar or vector giving the maximum number of nominations for each individual |
| odobs | observed outdegree |
| Sab0 | prior (inverse) scale matrix for the prior distribution |
| eta0 | prior degrees of freedom for the prior distribution |
| SS | number of iterations |
new value of Z
new value of Sab
new value of a
Peter Hoff