Skip to main content
. Author manuscript; available in PMC: 2023 Oct 19.
Published in final edited form as: Nat Mach Intell. 2022 Sep 15;4(9):761–771. doi: 10.1038/s42256-022-00525-0

Algorithm 1.

Sequential conditional independent tuples (multiple knockoffs)

j=1
while jp do
  Sample x˜j1,,x˜jM independently from xjxj,x˜1:j11,,x˜1:j1M
  j=j+1
End
where xjxj,x˜1:j11,,x˜1:j1M is the conditional distribution of xj given xj,x˜1:j11,,x˜1:j1M where j indicates the variable xj is excluded and M is the total number of knockoffs.