This functions creates a simple barplot that visually displays how much variance in the outcome (e.g., the regression coefficient) different analytical choices or combinations therefor account for. To use this approach, one needs to estimate a multilevel model that includes all analytical choices as grouping variables (see examples and vignettes). This function uses
icc_specs() to compute the intraclass correlation coefficients (ICCs), which provides the data basis for the plot (see examples).
a multilevel model that captures the variances of the specification curve (based on the data frame resulting from
a ggplot object.
icc_specs() to produce a tibble that details the variance decomposition.