View source: R/summary_functions.R
estimate_ci_coverage | R Documentation |
Estimate confidence interval coverage for a normality-assuming interval based on the simulation variance.
estimate_ci_coverage(results_df, estimates_truth, conf_level = 0.95)
results_df |
Data frame with columns 'rep' and 'estimates' where 'estimates' is a list of tibble output results from either iptw_pipeline(), ice_pipeline(), or or_pipeline(). |
estimates_truth |
Data frame with columns 't' and 'estimate', with the 'true' value of E(Y_t(a)-Y_t-1(a)) for t=1,...,T |
conf_level |
num. level of confidence, e.g. .95 is a 95% confidence interval |
data frame with coverage estimates
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.