ALGORITHM 2.
1: | for b = 1, …, B do |
2: | Draw a bootstrap sample of the data; calculate the model OOB prediction error, Errb. |
3: | Fit a second model, but without β, and calculate its OOB prediction error, |
4: | end for |
5: | Calculate the marginal VIMP by averaging: |