results_histograms | R Documentation |
Red vertical lines represent the true expected value for the random variable of which the displayed quantities should be realizations. If show_bias=TRUE, this is 0, otherwise it is E(Y_t(a)-Y_t-1(a)). Blue vertical lines represent the estimated expected value based on the realizations.
results_histograms(results_df, estimates_truth, show_bias = TRUE)
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 |
show_bias |
Logical. Should the histograms show deviations from 'truth' (TRUE) or the estimates themselves (FALSE)? |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.