| simRecomputeSummary | R Documentation |
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.
simRecomputeSummary(
output.dir = "resiBootSim",
alpha = 0.05,
fixed.knots = FALSE
)
output.dir |
Character, directory containing simulation output.
Default |
alpha |
Numeric, CI significance level used in the original simulation. Default 0.05. |
fixed.knots |
Logical. Must match the value used in the original
|
True RESI values are re-estimated from the full insurance dataset
using the same formulae and variance functions as the original simulation.
Invisibly returns the updated summary data.frame.
Overwrites output.dir/summary_table.rds.
insurancePlasmodeSim, simFigures
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.