rZ_cbin_fc | R Documentation |
Simulates a random latent matrix Z given its expectation, dyadic correlation and censored binary nomination data
rZ_cbin_fc(Z, EZ, rho, Y, odmax, odobs)
Z |
a square matrix, the current value of Z |
EZ |
expected value of Z |
rho |
dyadic correlation |
Y |
square matrix of ranked nomination data |
odmax |
a scalar or vector giving the maximum number of nominations for each individual |
odobs |
observed outdegree |
simulates Z under the constraints (1) Y[i,j]=1, Y[i,k]=0 => Z[i,j]>Z[i,k] , (2) Y[i,j]=1 => Z[i,j]>0 , (3) Y[i,j]=0 & odobs[i]<odmax[i] => Z[i,j]<0
a square matrix, the new value of Z
Peter Hoff
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.