Skip to contents

Updates latent factor positions U and V that evolve over time according to an AR(1) process: u_{i,t} = rho * u_{i,t-1} + epsilon_{i,t}

Usage

rUV_dynamic_fc(U, V, ET, rho_uv, sigma_uv, s2, shrink=TRUE, symmetric=FALSE,
  rho=0)

Arguments

U

3D array of current U positions (n x R x T)

V

3D array of current V positions (n x R x T)

ET

3D array of residuals (n x n x T)

rho_uv

AR(1) autoregressive parameter for latent positions

sigma_uv

Innovation standard deviation for latent positions

s2

dyadic variance

shrink

whether to apply shrinkage (default TRUE)

symmetric

whether the network is symmetric (default FALSE). A symmetric call takes V = U L, the mirrored coordinates of the product U L t(U) (L the signed diagonal), draws the rows of U one at a time given the current coordinates of the other actors (the self cell left out), and returns V = U; rho is not used.

rho

dyadic correlation between the (i, j) and (j, i) residuals (default 0). Each actor's coordinates are then drawn from the exact pair-whitened full conditional.

Value

list with updated U and V arrays

Author

Cassy Dorff, Shahryar Minhas, Tosin Salau