bartz.testing.LKJ¶
- class bartz.testing.LKJ(eta)[source]¶
LKJ distribution, with density proportional to \(\det(R)^{\eta - 1}\).
eta=1is uniform over correlation matrices; a largeretaconcentrates them around the identity. The marginal of each off-diagonal entry is \((R_{cc'} + 1) / 2 \sim \mathrm{Beta}(\eta - 1 + k/2, \eta - 1 + k/2)\), so the correlations shrink askgrows; useFactorfor strong correlations across many components.