added method to determine p-value of generated departures and arrivals using permutation testing