updateUm function

Regime-specific latent node positions

Regime-specific latent node positions

Update regime-specific latent node positions.

updateUm(ns, U, V, R, Zm, Km, ej, s2, eU, iVU, UL.Normal)

Arguments

  • ns: The number of latent states
  • U: THe latent node positions
  • V: Layer-specific network generation rule.
  • R: The dimensionality of latent space
  • Zm: Regim-specific Z - beta
  • Km: The dimension of regime-specific Z.
  • ej: Regime indicator.
  • s2: The variance of error.
  • eU: The regim-specific mean of U.
  • iVU: The regim-specific variance of U.
  • UL.Normal: Normalization method for U. "Normal" or "Orthonormal" are supported.

Returns

A matrix of regime-specific latent node positions