Statistics for Dark matter searches with cosmic-ray detectors and the Square Kilometre Array