Statistics for A learning-based scheme to optimise a cognitive handoff