← Selected Work

OPERATIONS ANALYTICS · IVEY BUSINESS STATISTICS

Operating Room Volume Forecasting

I used booking snapshots to forecast the number of surgeries on a given day. On the same held-out comparison, the model reduced mean absolute error by about 18%.

Forecasting at different booking horizons

The number of booked cases changes as the surgery date approaches. I reshaped 241 days of booking snapshots into one observation per day and forecast horizon, then fitted an R regression using the current booked count and days remaining. I trained on the first 192 days and evaluated on the next 49. I trained the regression on days with at least 60 surgeries and evaluated both methods on all 49 holdout days.

MethodMAE (cases)RMSE (cases)
Historical mean7.6409.575
Booked volume + forecast horizon6.2417.866

The historical baseline uses the average daily surgery volume from the training period. Close to the surgery date, updated forecasts can help flag days that warrant a staffing review.

What the holdout results showed

Forecast error on the holdout set

Historical mean versus regression. Mean absolute error fell from 7.64 to 6.24 cases, and root mean squared error fell from 9.58 to 7.87 cases.
Across 49 holdout days and 14 booking horizons per day, MAE fell from 7.64 to 6.24 cases and RMSE from 9.58 to 7.87. MAE measures the typical size of an error. RMSE gives larger misses more weight.

Forecast error by booking horizon

Model MAE is 3.14 cases one day ahead, 5.51 seven days ahead and 7.99 fourteen days ahead. It beats the 7.64-case historical baseline at 1–10 days and exceeds it at 11–14 days.
The regression beat the historical average from 1 to 10 days out. At 11–14 days, the historical average was more accurate. The model’s MAE was 3.14 cases one day out and 7.99 cases two weeks out.

Distribution of seven-day forecast errors

Histogram of actual minus forecast for 49 held-out days. Most errors cluster near zero, and 43 of 49 forecasts were within 10 cases.
At seven days out, 43 of 49 forecasts were within 10 cases. The model overpredicted by 0.91 cases on average. Negative values mean the forecast was higher than the actual volume.

Reproduce the method in R

This standalone example uses synthetic data. It demonstrates the same date-based split, historical-average baseline, and booking-plus-horizon regression.

View the R example
set.seed(42)
days <- data.frame(day = 1:241, planned = round(runif(241, 65, 115)))
days$actual <- round(days$planned + rnorm(nrow(days), 0, 5))
long <- merge(days, data.frame(days_ahead = 1:14))
long$booked <- round(long$planned - 0.65 * long$days_ahead +
                     rnorm(nrow(long), 0, 3 + 0.25 * long$days_ahead))
long$horizon <- factor(long$days_ahead, levels = 1:14)

train <- subset(long, day <= 192)
test <- subset(long, day > 192)
model <- lm(actual ~ booked + horizon, data = train)
baseline <- rep(mean(train$actual), nrow(test))
prediction <- predict(model, newdata = test)

score <- function(estimate) {
  err <- test$actual - estimate
  c(MAE = mean(abs(err)), RMSE = sqrt(mean(err^2)))
}
round(rbind(Historical_mean = score(baseline),
            Booked_plus_horizon = score(prediction)), 3)

← Back to Selected Work