Skip to contents

Symmetric snap-shift dynamic UV Gibbs update

Usage

rUV_dynamic_snap_sym_fc_cpp(
  U_state,
  Ld,
  E,
  rho_uv,
  sigma_uv,
  s2,
  kappa,
  pi_snap,
  delta_current,
  max_abs = -1
)

Arguments

U_state

3D array of unit-variance paths (n x R x T)

Ld

Weights of the product U_t diag(Ld) U_t'

E

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

rho_uv

AR(1) persistence of the drift

sigma_uv

Innovation standard deviation of the drift

s2

Dyadic variance

kappa

Standard deviation of a reset position

pi_snap

Reset probability

delta_current

Current resets (n x T)

max_abs

Optional positive coordinate bound; nonpositive or infinite values disable it

Value

List with U, V (equal to U), delta_u, delta_v (equal to delta_u) and bound_rejections