Statistics for Sandwich and probe problems for excluding paths