NM randomization test