Reads the per-replicate raw .rds files saved by
insurancePlasmodeSim and recomputes the summary metrics table
(bias, MSE, coverage, upper_coverage, lower_coverage, width). Use this
whenever .simComputeMetrics has been updated (e.g. new metrics added)
without needing to rerun the full simulation.
Arguments
- output.dir
Character, directory containing simulation output. Default
"resiBootSim".- alpha
Numeric, CI significance level used in the original simulation. Default 0.05.
- fixed.knots
Logical. Must match the value used in the original
insurancePlasmodeSimcall so that the true RESI values are computed from the same model formula. DefaultFALSE.
Details
True RESI values are re-estimated from the full insurance dataset
using the same formulae and variance functions as the original simulation.
