For certain methods like add_pi.glm and add_quantile.glm, a small parametric bootstrap is performed to generate the desired statistic. Presently if these two methods are used, a separate simulation is run for each method. If the number of replicates (nSims) and new data (tb) are not changed, it would be nice to store and reuse the simulation data.
The benefits of storing simulation data are twofold:
We can speed up our computations if many methods are run in sequence
add_pi, add_qauntile, and add_probs will be consistent within an analysis --- each statistic calculated on the same simulation data.
Though we could just handle the second point by setting a seed.
For certain methods like add_pi.glm and add_quantile.glm, a small parametric bootstrap is performed to generate the desired statistic. Presently if these two methods are used, a separate simulation is run for each method. If the number of replicates (nSims) and new data (tb) are not changed, it would be nice to store and reuse the simulation data.
The benefits of storing simulation data are twofold:
Though we could just handle the second point by setting a seed.