Generate Screening probability boxplot

ec_boxplot_screen(draws, burnin = 100)

Arguments

draws

A list, 'echoice2' draws object, from a model with attribute-based screening

burnin

burn-in to remove

Value

A ggplot2 plot containing traceplots of draws

See also

ec_draws_MU() to obtain MU_theta draws, ec_trace_screen() to generate traceplot

Examples

data(icecream)
#run MCMC sampler (use way more than 20 draws for actual use
icecream_scr_est <- icecream %>% dplyr::filter(id<100) %>% vd_est_vdm_screen(R=20)
#> Using 16 cores
#>  MCMC in progress 
#> MCMC complete
#>  Total Time Elapsed: 0.00 minutes
ec_boxplot_screen(icecream_scr_est, burnin = 1)