View source: R/summary_functions.R
estimate_bias_variance | R Documentation |
Estimate the bias and variance of DID g-formula estimators
estimate_bias_variance(results_df, estimates_truth)
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 |
data frame with bias and variance estimates
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.