Gibbs sampling of U and V

Share:

Description

A Gibbs sampler for updating the multiplicative effect matrices U and V

Usage

1
rUV_fc(E, U, V, rho, s2 = 1, shrink=TRUE)

Arguments

E

square residual relational matrix

U

current value of U

V

current value of V

rho

dyadic correlation

s2

dyadic variance

shrink

adaptively shrink the factors with a hierarchical prior

Value

U

a new value of U

V

a new value of V

Author(s)

Peter Hoff

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.