Algorithm 2.
Cross-fitted inference on VIM value ψ0,s (valid in non-null settings)
1: | generate by sampling uniformly from {1, …, K} with replacement, and for j = 1, …, K, denote by Dj the subset of observations with index in ; |
2: | for k = 1, …, K do |
3: | using only data in ∪j≠kDj, construct estimators fk,n of f0 and fk,n,s of f0,s; |
4: | using only data in Dk construct empirical distribution estimator Pk,n of P0; |
5: | with , compute and |
6: | end for |
7: | compute estimator of ψ0,s; |
8: | compute estimator of the asymptotic variance of . |