You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The parameters currently stored in the epiparameter library are point estimates without any uncertainty. I propose we add the boot R package as a dependency to calculate the confidence intervals of delay distributions parameters and summary statistics. This can be accomplished using the boot.ci() function in the boot package. This should be flexible to the CI calculate (given inherent flexibility of bootstrapping) and can calculate parametric and nonparametric bootstrap CIs which should accomodate either when we have the parameters and distribution reported (parametric) or the raw data to estimate the parameters (nonparametric).
I agree that measures of uncertainty would be important to add. Would your idea be to 1) store the raw data and construct summary statistics and CIs, or 2) to take them directly from the cited sources? For option (1) I think at the least we'd need to store the sample size alongside the estimates.
For now we only have the parameters or summary statistics reported in the papers and do not have any raw data to infer the parameters or CIs ourselves. Usually papers report the sample size which is indeed needed for bootstrapping the CIs.
The distribution assumed in the function is either a gamma, lognormal or weibull. However, in many studies reporting summary statistics or distribution parameters the distribution is right-truncated. This paper give a clear example of the differences between the standard distribution and the truncated form. Using the bootstrapping function to calculate the CIs for these values will be biased as it lacks the right truncation. Any ideas on how to solve this issue?
The parameters currently stored in the
epiparameter
library are point estimates without any uncertainty. I propose we add theboot
R package as a dependency to calculate the confidence intervals of delay distributions parameters and summary statistics. This can be accomplished using theboot.ci()
function in theboot
package. This should be flexible to the CI calculate (given inherent flexibility of bootstrapping) and can calculate parametric and nonparametric bootstrap CIs which should accomodate either when we have the parameters and distribution reported (parametric) or the raw data to estimate the parameters (nonparametric).Other packages that could be used are
bootstrap
.Alternatively, the CIs could be calculated using a different method (normal approximation).
The text was updated successfully, but these errors were encountered: