bartz.testing.Factor¶
- class bartz.testing.Factor(rank, tau)[source]¶
Identity plus random factors, \(R = (1 - \tau) I + \tau U U^\top\).
The rows of \(U\) (shape
(k, rank)) are i.i.d. uniform on the unit sphere.rank=1gives equicorrelation \(\pm\tau\) with random signs. UnlikeLKJ, the spread of the correlations does not shrink withk.