| Algorithm 2: Univariate Factor Slice Sampling Update Algorithm for β ∈ ℝK with density proportional to f(β). Note: ηk ∈ ℝ1 is a parameter in the orthogonalized space. The basis vectors, Γk ∈ ℝK are chosen as eigenvectors of the covariance matrix of β. |
| 1. Sample h(i) ∼ Uniform on {0, f(β(i−1))} |
| 2. Set β(*) = β(i−1) |
| 3. For each basis vector Γk ∈ Γ: |
| (a) Sample |
| (b) Update |
| 4. Set β(i) = β(*) |