Provides a random initialization of factors.

udv_random(Y, K = 1)

Arguments

Y

An n by p matrix.

K

Number of factors.

Value

A list with components (u,d,v), with elements of u and v i.i.d. N(0,1).