Traffic Prediction and Resource Allocation: A Statistical Delay Bound Approach