Towards improved statistical analyses of the cosmic dawn and epoch of reionisation