Creates an overlay plot of RMSE, mean posterior variance, and max posterior variance, all normalized to 0,1 scale with error bars. Displays elbow points for each metric.
Details
The function:
Normalizes all three metrics to 0,1 scale
Computes standard errors if available (sd columns)
Identifies elbow points for each metric independently
Displays metrics as lines with error bars
Marks elbows with colored vertical dotted lines:
Blue: RMSE elbow
Green: Mean posterior variance elbow
Orange: Max posterior variance elbow
Examples
if (FALSE) { # \dontrun{
results <- consolidate_results(fits, sims, by_replicate = TRUE)
p <- plot_normalized_metrics(results$replicate_comparison)
print(p)
} # }