1: Choose a technique to estimate the conditional means μ0 and μ0,s; |
2: Generate a random vector Bn ∈ {1,…, V}n by sampling uniformly from {1,…, V} with replacement, and denote by Dj the subset of observations with index in {i :Bn,i = j} for j = 1,…, V. |
3: for υ = 1,…, V
do
|
4: ← Regress Y on X using the data in ∪j≠υDj using the technique from step (1) to estimate μ0
|
5: ← Regress on X−s using the data in ∪j≠υDj to estimate μ0,s; |
6: , as in Equation (10); |
7: end for
|
8: . |