Predictions based on sampling